[Andy] Show Map

[Andy] Show Map 2.1

Homicide

Administrator

Staff member
Reputation: 50%
Joined
Oct 27, 2025
Messages
352
Description:

A fully integrated map system based on forums and threads.

Live example here: www.southbayriders.com

The Show map add-on is designed to show a maximum of a few hundred markers. Each marker requires a thread which will describe the business or location.

(Example of Show map)

Andy Show Map-1.webp


(Example of Show map admin link)

Andy Show Map-2.webp


(Example of Show map admin page)

Andy Show Map-3.webp


(Example of Update page)

Andy Show Map-4.webp


(Example of Options page)

Andy Show Map-5.webp


(Example of User group permissions)

Andy Show Map-6.webp


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:

www.xf2addons.com

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 by clicking the Add link.

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.

Setup step 5:

Using the 'Show map admin' link in the visitors tab, click the Upgrade link which will create the map.

Note anytime you add a thread to the forum you created in step 4, you will want to update the map by using the Update link.

Showing the map:

Add 'showmap' to your forum URL followed by a query parameter, this will be one of your category IDs.

Example:


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
 

Attachments

Similar threads

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:(Example of View map...
Replies
0
Views
147
Homicide
Description: Shows members on a Google map. Live example here:(Example of Members map link) (Example of Members map) (Example when marker is clicked) (Example of Options page) (Example of User...
Replies
0
Views
172
Homicide
Description: Shows detailed information on new registrations. (Example of Show new registrations link) (Example of Show new registrations page) (Example of Options page) (Example of User group...
Replies
0
Views
165
Homicide
Description: Show profile posts. This add-on allows viewing latest profile posts to help identify spam posts. (Example of Show profile posts link) (Example of Show profile posts page) (Example of...
Replies
0
Views
44
Homicide
Description: Show profile post comments. This add-on allows viewing latest profile post comments to help identify spam posts. (Example of Show profile post comments link) (Example of Show profile...
Replies
0
Views
35
Homicide
Back
Top Bottom