Theme editor

  • New XenForo Released Full Nulled 2.3.10 is available for download now. -> HERE
    New XenForo Released Upgrade Nulled 2.3.10 is available for download now. -> HERE
    XenForo Enhanced Search (XFES) 2.3.10 is available for download now. -> HERE
    XenForo Resource Manager (XFRM) 2.3.10 is available for download now. -> HERE
    XenForo Media Gallery (XFMG) 2.3.10 is available for download now. -> HERE

AndyB Show Map

| XF 2.3 Add-ons (Premium) AndyB Show Map 2.0

No permission to download
💾 Resources submitted by: Staraddons • 💬 Posts: 1579 • 🏆 Points: 119 • 👍 Likes: 455 • ⬆️ Resources: 986
Language
English
Compatible XF 2.x versions
  1. 2.0
  2. 2.1
  3. 2.2
  4. 2.3
AndyB Show Map

A fully integrated map system based on forums and threads.

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

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 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:
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
  • AndyB Show Map5.webp
    AndyB Show Map5.webp
    5.7 KB · Views: 0
  • AndyB Show Map4.webp
    AndyB Show Map4.webp
    13 KB · Views: 0
  • AndyB Show Map3.webp
    AndyB Show Map3.webp
    9.7 KB · Views: 0
  • AndyB Show Map2.webp
    AndyB Show Map2.webp
    29.9 KB · Views: 0
  • AndyB Show Map1.webp
    AndyB Show Map1.webp
    11.1 KB · Views: 0
2.0
Version
0
Downloads
14
Views
First release
Last update
20.8 KB
File size
zip
Extension type
0.00 star(s) 0 ratings
Ratings
Uploader
Staraddons
Uploaded
986 Resources.
Available Tags:
  • Tags Tags
    map show map
  • More resources from Staraddons

    Similar content Most view View more
    Back
    Top