Show map

Show map 1.4

No permission to download
Description:

A fully integrated map system based on forums and threads.

Live example here: https://www.southbayriders.com/forums/information/

(Example of Show map)

4881


(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.
Installation:
  1. Download Andy-ShowMap-1.4.zip and unzip it.
  2. Copy the src/addons/Andy/ShowMap directory to your server.
  3. From the Admin Control Panel Install the add-on.
Setup step 1:

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

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

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.

Creating a public navigation link:

To create a public navigation link enter these values:

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: Robru
Author
Andy
Downloads
52
Views
1,189
First release
Last update
Rating
0.00 star(s) 0 ratings
Resource starter Similar resources Category Downloads Last update
Andy Show account details XF2 Addons 11
Andy Show all XF2 Addons 58
Andy Show attachments by file size XF2 Addons 68
Andy Show deleted XF2 Addons 201
Andy Show duplicate attachments XF2 Addons 99
Andy Show member is banned XF2 Addons 19

Latest updates

  1. See description

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

    Show map v1.3 changes: Added phrase to explain the purpose of the Update page.
  3. See description

    Show map v1.2 changes: Added code to help identify which thread has non-numeric view map bbcode.
Top