What's new
Welcome to My iptv forum

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

xF2 Add-on
< Previous | Next >
A fully integrated map system based on threads.

(Example of Show map)
show-map.jpg
show-map-6.jpg
show-map-5.jpg
show-map-4.jpg
show-map-3.jpg
show-map-2.jpg
show-map-1.jpg


Features:
  • Ability to show locations by descriptions.
  • Links take you to thread that describing the location.
  • All phrases start with showmap_ for your convenience.
Installation:
  1. Download Andy-ShowMap-1.0.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:

Get your Google JavaScript API key using this link:

https://developers.google.com/maps/documentation/javascript/get-api-key

Update the Options page with your Google JavaScript API key.

Setup step 2:

Copy the crosshair.gif from the add-on directory to a directory of your choice, for example copy to the a /misc/ folder off the web root. Update the Options page with your crosshair.gif file location.

Setup step 3:

Using the 'Show map admin' link in the visitors tab, create a map configuration. The 'description' is used in the URL, so keep this name short and all lowercase.

Example:

Description - dealers
Detail - All motorcycle 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 Motorcycle dealers forum. Each thread will represent a dealer which has information about that particular dealer.

Navigate to a thread and click the 'Show map data' link. Enter the description, for example 'dealer' and the map coordinates for this dealer. Each thread can have one or more descriptions, that way one map can show all the locations and another map can show jfor example only Honda dealers.

How to use:

Just add 'showmap' to your forum URL. Note a query string is required, this will be any of the 'description' fields entered in step 3. So for example you would add showmap?id=dealer to your forum URL.

You can create a Tab and use the link described above. Visitors will be able to click for example 'Dealer locations' to see on a map the locations of all the dealers on your forum.

Database modifications:

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

andy_show_map
andy_show_map_date

Latest updates

  1. AndyB Show map 1.8

    Show map v1.8 changes: Updated phrases. Fixed URL link code. Updated template names and code.
  2. AndyB Show map 1.7

    Show map v1.7 changes: Updated superglobal variable code.
Top