xF2 Add-on - View map | NulledTeam UnderGround | The Best Scripts Site In The World
View map

xF2 Add-on View map 1.6

No permission to download
Compatible XF Versions 2.x
2.0, 2.1
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:

https://www.southbayriders.com/forums/threads/2180/

(Example of View map button)





(Example of View map page)





(Example of View map link in visitors tab)




(Example of Options page)





Features:
  1. Can be viewed cy clicking the View map link in the Visitors tab.
  2. Can be viewed by clicking a View map button in a message.
  3. All phrases start with viewmap_ for your convenience.
Installation:
  1. Download Andy-ViewMap-1.4.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 crosshair.gif from the add-on directory to a directory of your choice, for example copy to the a /misc/ folder off the web root. Update the Options page with your crosshair.gif file location.

Setup step 2:

Get your Google JavaScript API key using this link:

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

Update the Options page with your Google JavaScript API key.

Setup step 3:

In the Options page, add your default coordinates and zoom.

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:

  • Like
Reactions: xapim and GigaFly
Author
Rapid
Downloads
6
Views
149
First release
Last update
Rating
0.00 star(s) 0 ratings

Latest updates

  1. View map v1.6 changes:

    Out of range coordinates will now place the marker at a default location.
  2. View map v1.5 changes:

    The View map button in messages will now show/hide the map below the button.
  3. View map v1.4 changes:

    Now fully integrated into XenForo.

AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock