The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Phoogle! An interactive Google Maps mapping system. Details »» | |||||||||||||||||||||||||||
Phoogle! An interactive Google Maps mapping system.
Developer Last Online: Feb 2012
Keywords: Phoogle, Google, Maps, BBCode
Description: Allows for the insertion of interactive Google Maps within posts via a new BBCode. Supports point labeling as well as multiple points per map. Details: I became increasingly annoyed after seeing more and more links to maps being butchered when posted on forums. I had remembered seeing the nifty Phoogle Maps and figured, "why not?" A few headaches later.. here we are. [hr]-[/hr] Usage: [map]value[/map] [map=Option]value[/map] Example: [map]1600 Pennsylvania Avenue NW, Washington, DC 20500[/map] [map=The White House]1600 Pennsylvania Avenue NW, Washington, DC 20500[/map] Multiple Locations Example: [map]1600 Pennsylvania Avenue NW, Washington, DC 20500;E Capitol St NE & 1st St NE, Washington, DC 20001[/map] [map=The White House;Capitol Building]1600 Pennsylvania Avenue NW, Washington, DC 20500;E Capitol St NE & 1st St NE, Washington, DC 20001[/map] [hr]-[/hr] Installation:
Notes: When adding/editing a map via AJAX Quick Reply or Quick Edit, you must refresh the page to see changes. [hr]-[/hr] Comments: As with all my hacks, this modification is provided free of charge. However, if you find this product useful and have money burning a hole in your pocket, feel free to make a small donation, I won't mind.. really. Version History:
* Please note that this modification was developed on a forum with a userbase of 1 (myself). I've tested it for basic functionality but I cannot guarantee functionality or behavior on your forum. So, please -- make backups before installing this product! Show Your Support
|
Comments |
#32
|
||||
|
||||
Attached is a functions_phoogle.php utilizing cURL() instead. Let me know if this fixes it for you.
|
#33
|
||||
|
||||
Quote:
Minor suggestion: I would like it if when the map is clicked, it opens the full Google Map in a new window rather than taking over the existing window. Perhaps consider making that an Admin (and/or User) preference? This is a GREAT add-on, thanks so much for sharing your work on it! |
#34
|
||||
|
||||
FWIW, I'm aware of quite a few hosts who have disabled the PHP option allow_url_fopen, and thus have disallowed file_get_contents()... for security reasons. (Not just Dreamhost.) Apparently cURL is more secure, and is a feature-rich alternative. Thanks for providing the alternate file... it appears to be a step in the right direction for me.
|
#35
|
|||
|
|||
No m8, I am using a dedicated server from bobhosting
EDIT: and the curl file did nothing for me Just in case heres the source again BTW enjoy the wedding Code:
<script type="text/javascript"> function showmap51602() { //<![CDATA[ if (GBrowserIsCompatible()) { var map51602 = new GMap(document.getElementById("map51602")); map51602.centerAndZoom(new GPoint(, ), 4); } var icon = new GIcon(); icon.image = "http://labs.google.com/ridefinder/images/mm_20_red.png"; icon.shadow = "http://labs.google.com/ridefinder/images/mm_20_shadow.png"; icon.iconSize = new GSize(12, 20); icon.shadowSize = new GSize(22, 20); icon.iconAnchor = new GPoint(6, 20); icon.infoWindowAnchor = new GPoint(5, 1); map51602.addControl(new GLargeMapControl()); map51602.addControl(new GMapTypeControl()); //]]> } showmap51602(); </script> |
#36
|
|||
|
|||
can i install this with
VBGooglemap Hotspot Edition or that will cause problem? How to get the value? How to not give permissions to the members? Thanks |
#37
|
||||
|
||||
Quote:
Thanks. |
#38
|
||||
|
||||
Quote:
Quote:
Quote:
|
#39
|
||||
|
||||
Quote:
I posted via QuickReply as well as "Advanced" Reply, and always got the same result... the address of the first map in the thread is used for all maps. Here is the <script> info from the page's source, I changed the address to a nearby location for illustrative purposes: PHP Code:
Another interesting data point. If the map in post #1 is for "200 South Orange Avenue, Los Angeles, CA 90036" and the map in post #2 is for a nearby address, say, "300 South Orange Avenue, Los Angeles, CA 90036"... the map in post #2 has two red pointers in it, for both addresses. |
#40
|
||||
|
||||
This is great. Maybe a stupid question but what is the standard method to put addresses between [ map ] tags?
|
#41
|
|||
|
|||
why can`t we use
latitude & longitude as Value? isn`t good idea? Thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|