MyBB Central

Full Version: [MyCode] GTA5 Map - A Interactive Map of GTA5 for your board
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.