Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
GPX-to-MAP-Display Details »
GPX-to-MAP-Display
Mod Version: 1.1.2, by ScratchMang (Coder) ScratchMang is offline
Developer Last Online: Aug 2016 I like it Show Printable Version Email this Page

vB Version: 4.2.2 Rating: (1 vote - 1.00 average) Installs: 3
Released: 04 Dec 2014 Last Update: 05 Dec 2014 Downloads: 11
Not Supported Uses Plugins Code Changes Re-usable Code Translations External Content  

First and foremost, I personally did not write this MOD. I was fortunate enough to have a friend who is far more skilled than I when it comes to programming to create this MOD for me. All credit where Credit due.

I will provide what support I can on this MOD.

Tested and working with vBulletin 4.2.2.

In short, this MOD will parse your forums for threads with a GPX file attached, and then parse and display that GPX File In-Line via Google Maps.

Please read the instructions closely as you need to obtain a Google API for this to work properly.

Download the MOD from here ...

https://github.com/taeram/gpx-to-map-vbulletin



Licensing

This code is distributed under the MIT License.


Installation / Upgrading

To install or upgrade the product:

Download the latest release from the Releases tab, and unpack it on your computer.
Login to the Admin Control Panel in your vBulletin server
In the sidebar, click "Plugins & Products"
In the sidebar, click "Manage Products"
Scroll to the bottom of the page, and click "Add/Import Product"
Click the "Choose File" button, and select the product.xml you unpacked earlier.
If upgrading, be sure and select "Yes" to the "Allow Overwrite" option
Click the "Import" button

The first time you install the Product, you'll need to edit a template:

Login to the Admin Control Panel in your vBulletin server
In the sidebar, click "Styles & Templates"
In the sidebar, click "Style Manager"
In the "Style Manager" table, find the "MASTER STYLE", and click the ">> <<" button to select it
In the "MASTER STYLE Templates" list, double click on "Postbit Templates >>"
Under "Postbit Templates >>", double click "postbit_legacy"
In the Template edit box, search for "postrow"
Modify the code from this (some code omitted for clarity):

<div class="postbody">
<div class="postrow ...">

To this

<div class="postbody">
{vb:raw post.gpx_to_map_html}
<div class="postrow ...">

Settings

To configure the settings for GPX to Map:

Login to the Admin Control Panel in your vBulletin server
In the sidebar, click "Settings"
In the sidebar, click "Options"
From the "Settings to Edit" list, select "GPX to Map Options"
Click "Edit Settings"
Customize the settings as you see fit, and click "Save"

Most settings have defaults, except for the "Google Maps API Key" setting, which you'll need to get from the Google Developer Console:

Sign in to https://developers.google.com/
Create a project, give it a name
Go to APIs & Auth => APIs
Enable Google Maps JavaScript API v3
Go to APIs & Auth => Credentials
Generate a Public API access "Browser Key"
Back in vBulletin, open up the "GPX to Map Options" page
Paste the key from Google into the "Google Maps API Key" box
Click "Save"



Attachment 151217

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	GPX-To-Map.png
Views:	111
Size:	73.9 KB
ID:	151217  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Thread Display For Nonregistered Users (Limit Characters, Display Message) 2.0.5 Gio~Logist vBulletin 3.5 Add-ons 109 17 Jul 2007 03:35
Display Sticky threads on all forum display pages Freddie Bingham vBulletin 2.x Full Releases 16 05 Sep 2002 01:53

Comments
  #2  
Old 05 Dec 2014, 20:11
v123shine v123shine is offline
 
Join Date: Sep 2008
Congratulation, nice mod
5 stars.
__________________
filmbor.com
bikinwebsite.com
Reply With Quote
  #3  
Old 05 Dec 2014, 20:16
ScratchMang ScratchMang is offline
 
Join Date: Sep 2010
Thanks. I will pass along the complements ....
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:02.

Layout Options | Width: Wide Color: