Version: 2.0 Beta 2, by magnus
Developer Last Online: Feb 2012
Category: New Posting Features -
Version: 3.6.5
Rating:
Released: 03-08-2007
Last Update: 04-08-2007
Installs: 140
DB Changes Uses Plugins Template Edits
Is in Beta Stage
No support by the author.
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?"
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:
Download and import product-phoogle2.0Beta1.xml via the Product Manager.
Configure Phoogle! via the AdminCP (vBulletin Options > Phoogle Settings).
???
Profit!
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:
1.0.0 - Initial release, here's to hoping..
1.0.1 - Added check for post preview, [map] code will NOT be parsed when previewing (because it can't).
1.1.0
Eliminated need for functions_phoogle.php
Modified way [map] tags are parsed
Moved previously static html to templates
Changed way multiple locations per posts is defined (separated by ;)
Added check for cURL() if not, uses file_get_contents()
2.0 Beta 1
Proper error handling. Will now verify address (and make reccomended changes) before submitting.
Javascript will not be loaded on pages that do not have maps (woops!)
Few internal tweaks to (hopefully) speed things up.
2.0 Beta 2 - Plays nice with the [noparse][/noparse] tags. (thanks Tralala)
* 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
This modification may not be copied, reproduced or published elsewhere without author's permission.
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.
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.
I've been continually trying to replicate the problems you're experiencing, but I just can't seem to do so. I'll keep checking, but if I can't replicate it -- I can't fix it.
I've been continually trying to replicate the problems you're experiencing, but I just can't seem to do so. I'll keep checking, but if I can't replicate it -- I can't fix it.
If that's the case I'm happy to create a test account on my forum for you, and can go to IM in order to test/troubleshoot whatever you need.
EDIT: I just tested and the same issue happening in the default vB skin as well. I will now try again, after disabling some hacks. Maybe they are interfering?
It's not impossible, but unlikely -- that other hacks are interfering. Do you have any hacks installed that specifically manipulate (or add) posting features?
It's not impossible, but unlikely -- that other hacks are interfering. Do you have any hacks installed that specifically manipulate (or add) posting features?
The only thing that comes to mind is the AnyMedia Code... which works perfectly for me.
And even with that hack disabled, I found Phoogle doing the same weird "same map for every post" thing. Other than that, I don't have any other hacks that come near this territory.
It does seem like we are >thisclose< to having it work properly, though.
The only thing that comes to mind is the AnyMedia Code... which works perfectly for me.
And even with that hack disabled, I found Phoogle doing the same weird "same map for every post" thing. Other than that, I don't have any other hacks that come near this territory.
It does seem like we are >thisclose< to having it work properly, though.
I'm going to try and circumvent vB's internal BBCode parsing system and see if that helps, because this isn't exactly a "BBCode".
With 24 installs so far, and only 2 people having (read: reporting) problems -- I have to assume there's some little incompatibility somewhere along the line. Do you by chance know your PHP/MySQL versions?
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.
And when I create a third map in a thread, it has three markers on it... it's as if all of the maps reference the maps that come before it on the same page.
I also noticed I could not include two maps in single post... it only displays the last one. I tested with multiple refreshes.