![]() |
Quote:
The htmlspecialchars is not enough. Problem starts with the creation parsing of the markers.xml clientside. There are some characters that make the XML parsing go bananas. DB insert/update is never the issue. Version 1.0.2 will be released later tonight. I added more characters to the list to filter out before creating the xml file. |
wow!! how freakin cool is this??
nice job!! WORKS GREAT on 3.5.0 [high]* GrendelKhan{TSU installs with big grin!! ^_^ [/high] one request: CAN YOU MAKE PHRASES FOR THIS????? its a world map and I got multi-language site. ;) :) |
Quote:
Which would you like in phrases? The full text in the templates too? |
I found a little bug using Safari, so I'm not sure if it affects other browsers...
How to reproduce: 1. Click on a marker to open the balloon. 2. Without closing the balloon, click anywhere else on the map. On Safari (not sure with other browsers), the map completely disappears, and the latitude/longitude fields show 'NaN' (I assume for 'not a number'). I wonder if you could add some code to handle this situation... like maybe force the balloon close before updating the latitude/longitude? Otherwise this is great stuff... my users are loving it so far. |
For a little performance boost, in VBGooglemap.php you should replace all:
PHP Code:
PHP Code:
stonyarc: Please make sure to use query_read and query_write where they are needed :) |
Well, I found a little different bug using IE 6.0.2800.1106 on Windows 2000.
I attached a screenshot of what the balloon pop-up is doing. However, it doesn't have the same 'NaN' bug I reported with Safari... it 'does' close the bubble and update the map. Once again, thanks for the great extension. :) |
Quote:
basically...gulp..... everything (or anything that is possible)!! :p :) that would be KICK@SS!!! it soo sucks when there is a great hack but no full phrases. :( many of user get way bummed. |
All,
I posted a little roadmap in the first reply. I'll add features as progress is made https://vborg.vbsupport.ru/showthrea...978#post810978 Greetz |
Quote:
Now, is there a way to color code more groups? Right now you just do moderator (which you include admins in) and member. Can we add something so we can assign images or colors to all our groups? |
Quote:
|
Is that a version we have now? How do I configure that?
|
Quote:
1.0.2 is a performance release 1.0.3 is feature release Just check the first post of this thread (with a lot of green in it) |
Well, I just downloaded the file again in the first post and re-uploaded it (allowing for overwrite) and it says it is now currently running v1.0.0.
Where do I get v1.0.1? Well, it does not really matter since I am need v1.0.3 to get the color thing. I will wait patiently, thank you. |
Quote:
http://www.xboxusersgroup.com/forums/VBGooglemap.php is always running the development version. |
Quote:
is running full phrases now. This will be released in 1.0.2 |
Tested and running on 3.5.1
|
Installed and running great!
|
Quote:
|
Just to let you know that version 1.0.2 is almost finished.
If you see the first reply you can see the done. What I changed - Special character in XML issue is now no longer handled when creating the XML but on initial insert in DB - Query performance (thanks for the tip) - You marker once set will also appear on the small map. (I'm looking to add drag functionality but that's not an easy one) Any other feature requests other than the known ones? Greetz |
1. Ability to upload a photo
2. Have the points automactially placed--have the map read from the DB. |
Quote:
your entry inserts them. The googlemap requires to read the info out of an xml file. This is how the google API works. So the scripts creates the XML file which is than read by the javascript parser function. |
alt caption when hoovering on the marker :)
|
Hi
I tried to install this hack but I get "Cannot open XML File" The markers.xml file is chmod 777 (-rwxrwxrwx) it is in the forum root like the VBGooglemap.php I have uploaded the product to the product manager and set the api key in the options for my forum. Any Idea what is wrong? EDIT: Got it to work after I set the whole server path to the file into VBGooglemap.php to specify the markers.xml location. Unfortunatly Google does not have detailed maps about europe. That is making this hack nearly impossible to use for me because I can?t find my city NOR can I enter long and lat by hand (Suggestion!! *hint* *hint* ;)) |
Effortless install, very impressive. This rocks!
|
I have an idea ... we are a Jeep-related forum, and it might be cool if the admin can post areas of interest (off-highway hotspots) on the map, like the Rubicon Trail or Moab, UT, but give them a different way of displaying, so you can tell it's not a user post.
|
Quote:
Google is working on detailed Europe maps. You can edit the googlemap templates and change the <input text> for longitude an lattitude. Just remove to readonly's that are in there and your users can put it in themselves. I think there are 4 occurences in total in VBGooglemap_display_yourlocation VBGooglemap_set_yourlocation. After that you should be able to enter the data manually and keep the drag function. Greetz |
Quote:
Thanks for appreciating this mod. The next version is a performance/stability release but event handling will be a feature. I'll add the hotspots as a feature to add. You can follow the planning in the first reply to this thread. |
hmm....problem:
the location markers are not appearing. :( I successfully enter my location (and tested with other ids as well)....but no marker actually appears, which..well...defeats most of the purpose. heh. everything else seems to be working fine. Any ideas? also, any word on a fully phrased version? :) last, idea for future versoins: (if possible and time willing of course) --automatically adds marker with new registration (somehow have set of most common of locations/cities). --have fields for long/lat or choose preset cities for Googlemap FOR forum REGISTRATION PROCESS. Maybe this could be connected with daylight savings menu options. --add location data (lat, long) via user cp. --fun: CALCULATE/FIND DISTANCE between users. :) show a dot line and distance between two chosen markers. (sorry for piling it on...I just think this hack RULES!! and I'm just excited for it to continue :) I think it has awesome potential to be very important part of all boards :D -- not just novety ;)) |
Quote:
Think there could be anyway to make a map like this using zip code and/or city/state/country profile fields using an opensource longitude/latitude database? It would just be so awesome to capture this geo location info during registration and automate the process of posting the locations onto the map. |
Quote:
This is included in the planning for future releases. You could host a L&L database but to make it international it would need to be a very big one. I'm still "inventing" a solution. |
Quote:
For the markers you probably have a users with some bad characters in his text (you could check the googlemap table for that) I'll release a version update later on today. |
Three remaining questions.
The first his how do I change the Text color of the "map | Satelite | Hypbride" Buttons The second is, I figured out of to set the map to satelite by default but I would like to have hybride by default. The first two are the most important. Now the third: Would it be possible to allow longer text for the markers but define a number of chars when there will be a < br /> entered automaticly? Thank you for this realy great hack |
Thanks, the update ran through fine, however, IE is still problematic ( http://www.musiker-board.de/vb/VBGooglemap.php ), runs fine on firefox though.
Special chars are e.g.: ?, ?, ?, ?, `, ?, ' |
Just to let you know that the Googlemap is now on version 1.0.2.
- Performance - Full phrases support - The special character list is now bigger to avoid the javascript error - The special chararcter check is done on first insert and no longer when creating the googlemap xml (boost) Download the latest version on vbulletin.org UPGRADE to the Googlemap version 1.0.2: 1. Upload VBGooglemap.php to the forum root (overwrite ok) 2. add product-VBGooglemap.xml(Plugin System / Manage Products / Add Import product) and SET OVERWRITE TO YES 3. Enjoy Hope you like it. Development on 1.0.3 has started with event and hotspots support. To change the text colour in the balloon Code:
Code:
|
Quote:
|
stonyarc any solution for my questions?
|
Quote:
/edit To change the large map to default on Hybrid Open the XML file product-VBGooglemap.xml look for Code:
map = new GMap(document.getElementById("map")); Code:
map.setMapType( _HYBRID_TYPE ); add product-VBGooglemap.xml(Plugin System / Manage Products / Add Import product) and SET OVERWRITE TO YES The colours of the buttons is set by google I'm checking if I can force this to change. |
Thank you.
In the original Googlemap API the font of these buttons is black like you can see here: http://local.google.com/ However in my forum map they are white so there is something changing the font. http://www.hiphop-battles.com/forum/VBGooglemap.php I realy love this hack!! |
Quote:
Just add Open the XML file product-VBGooglemap.xml. It's in there 3 times Code:
<div id="map" style="width: 100%; height: 480px; padding:-5px;" class="r_box"></div> Code:
<div id="map" style="width: 100%; height: 480px; padding:-5px;" class="r_box" style="color=#ff0000"></div> Save the XML and reload it add product-VBGooglemap.xml (Plugin System / Manage Products / Add Import product) and SET OVERWRITE TO YES |
thx
actualy there is one instance: Code:
<div id="map" style="width: 100%; height: 480px; padding:-5px;" class="r_box"></div> Code:
<div id="map" style="width: 100%; height: 480px; padding:-5px; color:#000000;" class="r_box"></div> Code:
<div id="map" style="width: 600; height: 300px; padding:-5px;" class="r_box"></div> Code:
<div id="map" style="width: 600; height: 300px; padding:-5px; color:#000000;" class="r_box"></div> Your style="color=#ff0000" did not work (at least not for me ;)) see fixed version above Is it possible to expand the text input to lets say 100 chars and automaticly insert a break after about 50 chars (end of the word) or for long words (eg spam inserts with more then 50 chars) a br inside the long word ?? |
All times are GMT. The time now is 10:09 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:
|