The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Location links to Google Maps, Bing Maps or Yahoo Maps Details »» | |||||||||||||||||||||||||||||||||||||||||||||
Location links to Google Maps, Bing Maps or Yahoo Maps
Developer Last Online: Dec 2014
Hi guys,
This mod/hack let's you make a users location link to either Google Maps or Bing Maps. When you follow the hyperlink it opens the map at the location that the user has set. This can be done the the old horizontal postbit and the new vertical legacy postbit. Below is the code replacement for both maps and postbits. =|= Install =|= =|= Postbit (Vertical Legacy) =|= Google Maps: Open Template - Postibit Templates -> postbit_legacy Find - Code:
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if> Replace - Code:
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd><a href="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q={vb:raw post.field2}" target="_blank">{vb:raw post.field2}</a></dd></vb:if> --------------------------------------------------------------------------------------- Bing Maps: Open Template - Postibit Templates -> postbit_legacy Find - Code:
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if> Replace - Code:
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd><a href="http://www.bing.com/maps/?v=2&where1={vb:raw post.field2}" target="_blank">{vb:raw post.field2}</a></dd></vb:if> Yahoo Maps: Open Template - Postibit Templates -> postbit_legacy Find - Code:
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if> Replace - Code:
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd><a href="http://maps.yahoo.com/#mvt=m&q1={vb:raw post.field2}" target="_blank">{vb:raw post.field2}</a></dd></vb:if> =|= Postbit (Horizontal) =|= Google Maps: Open Template - Postibit Templates -> postbit Find - Code:
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if> Replace - Code:
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd><a href="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q={vb:raw post.field2}" target="_blank">{vb:raw post.field2}</a></dd></vb:if> --------------------------------------------------------------------------------------- Bing Maps: Open Template - Postibit Templates -> postbit Find - Code:
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if> Code:
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd><a href="http://www.bing.com/maps/?v=2&where1={vb:raw post.field2}" target="_blank">{vb:raw post.field2}</a></dd></vb:if> --------------------------------------------------------------------------------------- Yahoo Maps: Open Template - Postibit Templates -> postbit Find - Code:
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if> Replace - Code:
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd><a href="http://maps.yahoo.com/#mvt=m&q1={vb:raw post.field2}" target="_blank">{vb:raw post.field2}</a></dd></vb:if> If you have any questions/problems or wish the location to link elsewhere and need help, post a comment and i'll help out as much as i can. If you like this mod and/or using it please remember to mark as installed! Thanks! Boydy Update 1.01 changelog;
Screenshots
Show Your Support
|
Благодарность от: | ||
Insta-Gator |
Comments |
#12
|
||||
|
||||
Quote:
Quote:
Nominated! |
#13
|
||||
|
||||
Yeh, .com works universally though which is why i decided to change. Like i said hadn't noticed it was .co.uk! lol, thanks again.
|
#14
|
|||
|
|||
this is excellent im loving your lil mods , thanks for your work effort & time . much appreciated .
running 4.1.1 |
#15
|
||||
|
||||
Good
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|