We noticed you’re using an ad blocker!

We’ve detected that you are using adblock plus, uBlock Origin, AdGuard or some other adblocking software which is preventing the page from fully loading :(

We don’t have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads! We need money to operate the site, and almost all of it comes from our online advertising.

Please Disable Adblock or add whitelist or exclude xenforo.pk & dloady.com

Alvin

Paid View map 1.6

No permission to download
Compatible XF Versions 2.x
2.0
Visible branding
No
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.

Santa Clara Cycle Accessories - Sunnyvale

(Example of View map button)

proxy.php?image=https%3A%2F%2Fxenforo.com%2Fcommunity%2Fattachments%2Fpic001-jpg.157076%2F&hash=6515c61ff412a930a99d11fb71298d83


(Example of View map page)

proxy.php?image=https%3A%2F%2Fxenforo.com%2Fcommunity%2Fattachments%2Fpic002-jpg.157077%2F&hash=b65878b4333fc27e8c0099f328506b8b


(Example of View map link in visitors tab)

proxy.php?image=https%3A%2F%2Fxenforo.com%2Fcommunity%2Fattachments%2Fpic003-jpg.157078%2F&hash=50578e83418f9a232bd196fab3dea443


(Example of Options page)

proxy.php?image=https%3A%2F%2Fxenforo.com%2Fcommunity%2Fattachments%2Fpic004-jpg.157079%2F&hash=51d4a58de34798204b99a0cce6dbd54f


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.5.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:

Code:
 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:

    proxy.php?image=https%3A%2F%2Fxenforo.com%2Fcommunity%2Fattachments%2Fpic005-jpg.157081%2F&hash=55bf9be719c87ce9110e8c3f19f10eb0
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.
Author
Alvin
Downloads
6
Views
254
First release
Last update
Rating
4.75 star(s) 4 ratings

More resources from Alvin

Latest updates

  1. See description

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

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

    View map v1.4 changes: Now fully integrated into XenForo.
Top
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