View Map

xF1 Add-on View Map 1.9

No permission to download
Compatible XF Versions
  1. 1.2
  2. 1.3
  3. 1.4
  4. 1.5
Description:

Creates a button called View Map for use in messages. Clicking the View Map button will show a Google map with a marker to a specific location.

Live Example:

http://www.southbayriders.com/forums/threads/2143/

(Example of View Map button)

xenforo_com_community_attachments_pic001_jpg_73288__.jpg


(Example of View Map)

xenforo_com_community_attachments_pic002_jpg_117142__.jpg


(Example of View Map link in visitors tab)

xenforo_com_community_attachments_pic003_jpg_71801__.jpg


(Example of Options page)

xenforo_com_community_attachments_pic004_jpg_119105__.jpg


Features:
  1. Large easy to use Google map displayed full screen.
  2. Responsive code supports all devices.
  3. Visitors tab has a link called View Map, this allows viewing the Google map.
  4. View Map button when clicked shows exact location in Google map.
  5. All phrases start with viewmap_ for your convenience.
How to create a View Map button:
  1. Under the Visitors tab, click the View Map link.
  2. Move map to desired location.
  3. Copy the Map code and paste it into a message.

    Example of map code:

    xenforo_com_community_attachments_pic005_jpg_71803__.jpg


  4. To change the word "View Map" to another language, edit the following BB Code:

    Admin CP -> Custom BB Codes -> [map] -> HTML Replacement:
Installation:
  1. Download viewmap_v1.4.zip and unzip it.
  2. Upload the Andy folder to your server. The correct location is library/Andy.
  3. From your Admin Control Panel, go to the "Install Add-on" page.
  4. Upload the addon-ViewMap_v1.4.xml file.
  5. Click the Install Add-on button.
Setup step 1:

Copy the following two files from the add-on directory to a web viewable directory of your choice, for example a /misc/ folder:

viewmap.php
viewmap_crosshair.gif

Edit the viewmap.php file and change the first few variables to reflect your forum information.

Setup step 2:

In the Options page, add the Location and Default Coordinates.

How it works:
  1. Member clicks View Map button.
  2. The View Map button is a Custom BB Code.
  3. Custom BB Code calls a link which is defined in the Route Prefix.
  4. The Route Prefix calls Viewmap.php located in the add-on directory.
  5. The Viewmap.php redirects to viewmap.php.
  6. The viewmap.php file calls the Google API to display a map.
Author
AnimeHaxor
Size
5.4 KB
Extension
zip
Downloads
14
Views
1,296
First release
Last update

More resources from AnimeHaxor

Latest updates

  1. See description

    View Map v1.9 changes: Added code to hide the footer when viewing street view.
  2. See description

    View Map v1.8 changes: Updated PHP code.
  3. See description

    View Map v1.7 changes: Updated Template Modification to use Regular Expression.

Similar resources

Brivium - View Members List Permission AnimeHaxor
This addon defines a permission to view Members List pages for specific users/usergroups.
Brivium - View User Posts in Thread AnimeHaxor
This add-on allows to view all posts made by a specific user in a specific thread.
FireDaemon - Resource Manager View Count
Adds two types of RSS feeds to the resource manager.
Forum View Count AnimeHaxor
Shows number of forum views by visitor type.
Use redis for view counters rather than MySQL
731Threads
2,287Messages
63,951Members
zmuthLatest member
Back