The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||
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 |
#162
|
||||
|
||||
![]() Quote:
![]() |
#163
|
|||
|
|||
![]()
With a custom skin, when displaying a post with map tags in it, it shows a white box with map controls and a very small bit of map in top left corner of map.
Interestingly enough, when you click on the QUICK REPLY button, the map suddenly appears but there is not the spot marker which you would expect in normal google mapping. Any ideas on how this conflict is occurring? Thanks P.S. I sincerely appologize for my inaccurate comments earlier this spring. I hope that the coders accept this. Regards. |
#164
|
||||
|
||||
![]() Quote:
|
#165
|
|||
|
|||
![]()
I had someone check and sure enough there was an open <table> tag in the header.
Once it was closed properly, it worked like a charm. Thanks for the clue. |
#166
|
|||
|
|||
![]()
I love the hack but it has somewhat limited functionality. For using it to list the address of an event, it would be VERY useful to have a way to link it to "directions" information, so that people can go from seeing the map to actually mapping directions from their locations to the event. Is that possible for future versions ?
|
#167
|
|||
|
|||
![]()
Installed and working!! Thanks. Great hack.
The only thing.... I want to use the map for countries: Belgium and Holland. If I try I receive: Invallid adress. I supose I have to change the Geocode API URL I've been looking for that code on http://www.google.com/apis/maps/docu...oding_Examples but no results ![]() |
#168
|
|||
|
|||
![]()
Also works fine for me, thx magnus :up:
@bugriders: Some posts above was mentioned that the street-data is verified by yahoo.com, neither uk- or ge-adresses are covered with this solution. magnus wrote that the googlemap-API doesnt give back an error code. Question: Does anybody have a yahoo-call for verifying german adresses? Code:
http://api.local.yahoo.com/MapsService/V1/geocode?appid=YahooDemo&location=rhaland+5+bottrop When i directly call googlemap-API with the same street-adress, i get back code 200: Code:
− <kml> − <Response> <name>Rhaland 5 Bottrop</name> − <Status> <code>200</code> <request>geocode</request> </Status> − <Placemark id="p1"> <address>Rhaland 5, 46242 Bottrop, Germany</address> − <AddressDetails Accuracy="8"> − <Country> <CountryNameCode>DE</CountryNameCode> − <AdministrativeArea> <AdministrativeAreaName>Nordrhein-Westfalen</AdministrativeAreaName> − <SubAdministrativeArea> <SubAdministrativeAreaName>Bottrop</SubAdministrativeAreaName> − <Locality> <LocalityName>Bottrop</LocalityName> − <Thoroughfare> <ThoroughfareName>Rhaland 5</ThoroughfareName> </Thoroughfare> − <PostalCode> <PostalCodeNumber>46242</PostalCodeNumber> </PostalCode> </Locality> </SubAdministrativeArea> </AdministrativeArea> </Country> </AddressDetails> − <Point> <coordinates>6.913915,51.502829,0</coordinates> </Point> </Placemark> </Response> </kml> Code:
− <kml> − <Response> <name>Rhxaland 5 Bottrop</name> − <Status> <code>602</code> <request>geocode</request> </Status> </Response> </kml> Thx in advance |
#169
|
|||
|
|||
![]()
Installed and working as advertised with no bugs! Congrats on a great product Magnus.
I can think of 3 things I'd love to see added someday.
|
#170
|
|||
|
|||
![]()
Great hack, like the others I am from the UK so having a few problems however I can pin point the road which is good enough for now
![]() [map]Bletcham Way,Milton Keynes,Buckshire,MK78HP[/map] worked for me! One other thing I noticed is that if I goto http://api.local.yahoo.com/MapsService/V1/geocode?appid=YahooDemo&location=<texthere> and enter a UK postcode in place of <texthere> it actually returns a result is it possible to have it work from just entering a postcode? |
#171
|
|||
|
|||
![]()
Is there any way this would work by putting in lat/long yourself and not relying on a geocoder at all?
i.e. Code:
[map=name]lat, long[/map] Preferably the option for both would be cool, some kind of check to see if the code given is already in lat/long format, if not parse it through a geocoder. It must be possible reasonably easily because the geocoder simply converts the address to long/lat anyway. This would make it the perfect mod for me! |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|