MyBB Central
[MyCode] GTA5 Map - A Interactive Map of GTA5 for your board - Printable Version

+- MyBB Central (http://www.mybbcentral.com)
+-- Forum: Mybb 1.6x Series Topics (http://www.mybbcentral.com/forum-34.html)
+--- Forum: Mybb 1.6x Theme and Template Releases (http://www.mybbcentral.com/forum-36.html)
+--- Thread: [MyCode] GTA5 Map - A Interactive Map of GTA5 for your board (/thread-11504.html)



[MyCode] GTA5 Map - A Interactive Map of GTA5 for your board - Mark Topper - Dec 01, 2013

Name: GTA5 Map

Description: This will add a interactive map for GTA5, just like Google Maps. You can see how it works by visiting GTA5 Secrets.
Note that they also have a share function which supports this MyCode. Tongue

Regular Expression:
Code:
\[map\]http\://(www\.)?gta5secrets.net(.*?)\[/map\]

Replacement:
Code:
<iframe src="http://www.gta5secrets.net$2" height="500" style="width: 100%; border: 0px;">Your browser doesn't support iframes.</iframe>
You can change the height and width of it to fit your needs.

Examples of usage:
Code:
[map]http://gta5secrets.net[/map]
[map]http://www.gta5secrets.net[/map]
[map]http://www.gta5secrets.net/?zoom=3&lat=-4066&lon=3644&layers=B00TT[/map]

Feedback and ideas are welcome.