• Welcome to XF2 Addons

    You can purchase a Premium membership for only $35 per year, and this gives you access to download any or ALL of the over 400 add-ons developed for Xenforo 2.x. In addition, Premium members will get technical support. Once the Premium membership has expired you can continue to use the installed addons on your forum as long as you like.
Show map

Show map 1.6

No permission to download
Note
Compatible XF 2.x versions: 2.0, 2.1, 2.2
Description:

A fully integrated map system based on forums and threads.

Live example here: https://www.southbayriders.com/forums/showmap/?id=dealers

(Example of Show map)

pic001.jpg


(Example of Show map admin link)

4461


(Example of Show map admin page)

pic003.jpg


(Example of Update page)

pic004.jpg


(Example of Options page)

pic005.jpg


(Example of User group permissions)

pic006.jpg


Features:
  • Individual maps are created for each forum.
  • Map markers link back to threads.
  • All phrases start with showmap_ for your convenience.
Setup step 1:

Install and configure the View map add-on located here:

https://www.xf2addons.com/resources/view-map.24/

The View map add-on allows you to easily create the map bbcode.

Setup step 2:

Update the Options page with your Google JavaScript API key.

Setup step 3:

Using the 'Show map admin' link in the visitors tab, create a map category.

Example:

Description - dealers
Detail - Dealers and shops
Coordinates - 37.339386,-121.894956
Zoom - 6

Setup step 4:

Create a forum where you will have threads of a certain type. For example you would have a Dealers forum. Each thread will represent a dealer which has information about that particular dealer. In the first post of each thread you will need to insert a map bbcode. This code looks like this:

[map=37.339386,-121.894956]View map[/map]

You can get this map bbcode using the View map add-on.

Show the map from the URL:

Add 'showmap' to your forum URL. Note a query string is required, this will be one of your category IDs.

Example:

https://www.domain.com/showmap/?id=dealers

You can create a Public navigation or Widget for the URL which calls a specific map.

Public navigation example:

This example shows how you can create a link in the sub-navigation of the Forums tab.

Admin control panel -> Setup -> Public navigation -> Add navigation

Navigation ID = showmap
Title = Show map
Parent navigation entry = Forums
Display order = 1000
Type = Basic
Link = {{ link('showmap/?id=dealers') }}

Database modifications:

This add-on will create two tables in your database:

andy_show_map
andy_show_map_data
  • Like
Reactions: rtimm and Robru
Author
Andy
Downloads
94
Views
2,864
First release
Last update
Rating
5.00 star(s) 1 ratings

Latest updates

  1. See description

    Show map v1.6 changes: Fixed issue where some threads were ignored.
  2. See description

    Show map v1.5 changes: Map page now has description of map in <title> tag.
  3. See description

    Show map v1.4 changes: Fixed issue with the Update function.

Latest reviews

Stumbled over the show map add-on. It works like a charm... What the most important was for me, the outstanding support from Andy. I'm a beginner and his help was very very very good. Thanks Andy

Similar resources

Register show full page Andy
Shows full page when registering.
0.00 star(s) 0 ratings
Downloads
7
Updated
Register show message Andy
Shows message during registration.
5.00 star(s) 1 ratings
Downloads
18
Updated
Register show upgrade options Andy
Shows account upgrade options during registration.
5.00 star(s) 1 ratings
Downloads
36
Updated
Show about you Andy
Shows members 'About you' information.
0.00 star(s) 0 ratings
Downloads
8
Updated
Show account details Andy
Shows account details only with view permissions.
0.00 star(s) 0 ratings
Downloads
27
Updated
Back
Top