• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

[AndyB] View Map

[AndyB] View Map 1.6

No permission to download
Download Free [AndyB] View Map Xenforo 2 Addon Premium Nulled
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:

https://www.southbayriders.com/forums/threads/2180/
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.
Installation:
  1. Download Andy-ViewMap-1.3.zip and unzip it.
  2. Copy the src/addons/Andy/ViewMap directory to your server.
  3. From the Admin Control Panel Install the add-on.
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

Setup step 2:

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

Setup step 3:

Get your Google API key using this link:

https://developers.google.com/maps/documentation/javascript/get-api-key

Update the viewmap.php file variable called $key located on the top of the file.

Setup step 4:

In the Options page, add the URL and Default coordinates.

Setup step 5:

Navigate to the following:

Admin control panel -> Content -> Custom BB codes -> map

Edit the HTML replacement so that it's pointing to the viewmap.php file located in your /misc/ folder.

How to create a View map button in a message:
  1. Under the Visitors tab, click the View map link.
  2. Move map to desired location.
  3. Copy the Map code at the bottom and paste it into a message.

    Example of map code:

    pic005-jpg.196
How the View map button works:
  1. Member clicks View map button.
  2. The View map button is a Custom BB Code.
  3. the Custom BB code calls a link which is defined as a Route.
  4. The Route calls the Viewmap.php file located in the add-on directory.
  5. The Viewmap.php redirects to viewmap.php in the /misc/ directory.
  6. The viewmap.php file calls the Google API to display a map.
pic001.jpg
pic002.jpg
pic003.jpg
pic004.jpg
  • Like
Reactions: xen2
Author
Babak
Downloads
42
Views
2,465
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Babak

Latest updates

  1. [AndyB] View Map 1.6

    Download Free [AndyB] View Map 1.6 Xenforo 2 Premium Addon View map v1.6 changes: Out of range...
  2. [AndyB] View Map 1.5

    Download Free [AndyB] View Map 1.5 Xenforo 2 Premium Nulled View map v1.5 changes: The View map...
  3. [AndyB] View Map 1.4

    Download Free [AndyB] View Map 1.4 Nulled View map v1.4 changes: Now fully integrated into XenForo.
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock