![]() |
Phoogle! An interactive Google Maps mapping system.
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! |
Problems:
If you have a problem, please reply to this thread with the following information:
The majority of problems can be attributed to custom skins. I cannot take into account the thousands of skin variations out there -- so I can only truly troubleshoot using the default vB skin. If you're having trouble using the DEFAULT skin, we can work from there. However, if you're unable (or unwilling) to verify the functionality, there's nothing I can do. |
this looks sweet, i could definately use this - will give it a shot later today
|
I'll definitely try this on my devforum - if it works fine it will be nice add-on - thanks.
|
looks really good will install later tonight.... this is will be good for the geeks GARS system as i use it for a directory of bars and clubs. now ill be able to show a google map with that.. SWEEEEET!!!!
|
i tried it but i just see big empty space where the map should be...... any ideas
|
Quote:
Optimally, if you could provide a link to the page I can look myself. Also, are you trying this with the default style? If not, try it. If it works with the default style, then we'll know it's something with your custom style. *Edit: One thing I forgot to mention is there is no proper error handling. So, if the address is invalid it will return an empty square. Try the address listed above in the product post to be sure. |
Brilliant! Will be awesome for people advertising events.
|
This looks very interesting... ;)
[high]* projectego clicks install[/high] |
Hi
I believe this is broken, well it is on my forum :( This happened as soon as i previewed the post If i just post the post then it gives a big blank space where the map should be and i have refreshed and nothing Any ideas please, this is the biggest error i have come across lol Code:
Database error in vBulletin 3.6.4: |
Quote:
You say you're just getting a box when you do post? Can you provide a link, or the page source at least? Also, what address are you trying to plot? |
I tried your address, i copied all of it, i tried them both!!!
[map]1600 Pennsylvania Avenue NW, Washington, DC 20500[/map] [map=The White House]1600 Pennsylvania Avenue NW, Washington, DC 20500[/map] I have removed it for now in case there is an issue whilst i am away from the forum, i am going bed soon!! |
There's not much I can do unless you answer the questions listed in this post.
|
Update:
v1.0.1
|
Quote:
No error text, the post is just blank. Happens in both the default style as well as my custom style. I used the included example: [map=The White House]1600 Pennsylvania Avenue NW, Washington, DC 20500[/map] My forum is private but I can PM you a link and account info if you'd like to test. I can also email the source text of the page. |
Oh, for troubleshooting BTW, when generating the Google Maps API, I tried both:
http://www.myforumname.com as well as http://www.myforumname.com/forums/ ...neither made a difference. The resulting post is still a big empty space. |
Do we have to add a new bb code to make this active or is that installed when adding the product ?
|
Quote:
|
No, this isn't handled as a typical BBCode. Everything is done via the product XML.
|
I'm going to install a fresh forum on a different host and see what's going on.
* Edit: I just installed a FRESH copy of v3.6.5, installed the product, and everything is working perfectly fine. This is a completely vanilla installation, I've made no changes to configuration, etc. |
The problem some of you are reporting seems like the showmap(); function isn't being written to SHOWTHREAD. On the page with the blank square, view the source. Scroll to the bottom (or search for </body>), and above that should be a <script>..</script> tag. Within that should be a function. Is it there? If not, that's the problem and we'll go from there..
Until someone can provide me with either an account or source output, all I can do is speculate. |
Works well but all I can get to work is the example in your product description and my UK members are not really interested where the white house is located :D ..
I've located UK areas on google map and added the information into the bbcode and nothing shows .. for example, I ask google map to find Imperial War Museum Duxford and up it pops, add the same info into the bbcode and blank space !? Would also be useful to have an option to add a "Map" button to the standard bbcode toolbar. Great addition with a few tweaks :up: |
Quote:
Use this instead: Quote:
Quote:
Quote:
|
Would be a great plugin if it worked. Caused "could not display post" errors and locked up.
Will wait for a few updates, but I am looking forward to them. |
I can't track down bugs unless I'm given the information to do so, sadly.
|
Quote:
PHP Code:
|
Quote:
This line is incomplete: Code:
map136686.centerAndZoom(new GPoint(, ), 4); I need to try and narrow down if your problem is with the phoogle functions or if the addressData is being lost when sent from vBulletin. |
Thanks for the help, magnus!
Quote:
PHP Code:
|
Hi
I have tried your new functions_phoogle.php file and i still get a blank map, here is the source from the page! I now have the original php file installed The map location is your white house 1 copied and pasted!! Code:
<script type="text/javascript"> |
@Tralala:
Ok, your problem is obvious. Dreamhost disallows file_get_contents();. No problem, I'll rewrite using cURL. @Bashy: You seem to be having the same problem. Do you use Dreamhost as well? |
Attached is a functions_phoogle.php utilizing cURL() instead. Let me know if this fixes it for you.
|
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! |
Quote:
|
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"> |
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 |
Quote:
Thanks. |
Quote:
Quote:
Quote:
|
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. |
This is great. Maybe a stupid question but what is the standard method to put addresses between [ map ] tags?
|
why can`t we use
latitude & longitude as Value? isn`t good idea? Thanks |
All times are GMT. The time now is 04:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|