• 本站招聘各个版块版主共同发展,有意可私聊站长
资源图标

Show map 1.8

没有下载权限

庆祝国庆中秋本站暂时关闭邀请码注册 https://t.me/tearcc

Description:

A fully integrated map system based on forums and threads.

Live example here: Motorcycle Dealers and Shops map



(Example of Show map)





1702194445011-png.11880





(Example of Show map admin link)







1702194434393-png.11879







(Example of Show map admin page)





1702194426480-png.11878





(Example of Update page)





1702194417252-png.11877





(Example of Options page)





1702194405549-png.11876





(Example of User group permissions)







1702194391904-png.11875





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:

View map

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:







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
作者
无名
下载
0
查看
4
首次发布
最后更新

Ratings

0.00 星 0 星

来自无名的更多资源

后退
顶部