vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   VBGooglemap Member Edition (https://vborg.vbsupport.ru/showthread.php?t=99920)

m.s 11-13-2005 07:53 PM

Hi,

i?ve a problem with IE6 and Version 1.0.3. on a german vBulletin 3.5.1.
The bubbles will not display if I click on a pin.
Here?s the map: http://www.ffsf.de/VBGooglemap.php

stonyarc 11-14-2005 05:52 AM

Quote:

Originally Posted by m.s
Hi,

i?ve a problem with IE6 and Version 1.0.3. on a german vBulletin 3.5.1.
The bubbles will not display if I click on a pin.
Here?s the map: http://www.ffsf.de/VBGooglemap.php

Seems like a wrong handling of the click handler.

Is this the vbhacks.de version?

On click the map displays a javascript error that is directly related to your CSS (unsupported property)

Did you add custom handlers/classes for div in your CSS?

m.s 11-14-2005 06:17 AM

Quote:

Is this the vbhacks.de version?
no, its the version from here.
Quote:

Did you add custom handlers/classes for div in your CSS?
no

stonyarc 11-14-2005 11:23 AM

Quote:

Originally Posted by m.s
no, its the version from here.

no

Very strange error because it refers to the css line in your code and not to anything remotely done by the map.

Code:

<link rel="stylesheet" type="text/css" href="clientscript/vbulletin_css/style-e1a7bc8f-00015.css" id="vbulletin_css" />
This is apparently the error.

Could you please not include the css in a file but straight in the code (as the default is)? Maybe this fixes it. I verified the javascript and the data and there doesn't seem to be anything wrong.

mclark2112 11-14-2005 12:36 PM

Quote:

Originally Posted by stonyarc
Hello,

It's the jinto line that is causing the problem "<" character.

I'll fix this in the next version.

For now just go to phpmyadmin / your vbulletin database / googlemap table and just remove the < character from the line of Jinto

or ask the user to edit his entry.
Don't forget to restart your browser after the edit to see if it worked.
It should be fine after that.

/edit

The version now online should fix it on first entry

Works great in Firefox, but in IE it way screwed up, any clue?

http://www.champcarfanatics.com/forums/VBGooglemap.php

It seems to only be screwed up in the Dark Blue Style (as well as others)....Although I still can't see markers, but that may be some sort of firewall issue.

stonyarc 11-14-2005 02:24 PM

Quote:

Originally Posted by mclark2112
Works great in Firefox, but in IE it way screwed up, any clue?

http://www.champcarfanatics.com/forums/VBGooglemap.php

It seems to only be screwed up in the Dark Blue Style (as well as others)....Although I still can't see markers, but that may be some sort of firewall issue.

It's the same error as mentioned before.

<marker lng="-117.84690856933594" lat="34.14931753487509" title="Players99" text="<Glendora, CA.>" type="red"/>

Players99 entered <> in his text.

If you download version 1.0.3 again and overwrite the VBGooglemap.php this entry should be auto fixed. I fixed this issue a few days ago.

don't forget to clear your browser cache or close your browser to force a full reload.

m.s 11-14-2005 06:05 PM

Quote:

Could you please not include the css in a file but straight in the code (as the default is)?
ok, the stylesheet is now directly in the sourcecode.

stonyarc 11-14-2005 06:12 PM

Quote:

Originally Posted by mini2
I've had many people try to manually enter degrees ? as co-ordinates, and they get a vBulletin database error (and I get an email) over at www.mini2.com/forum/VBGooglemap.php

Any way to either allow alternative input formats, or handle the errors more elegantly?

Manual input is not possible only if you have removed the readonly from the forms from the templates. L&L are filled in auto by dragging the small your entry map.

Did you remove these?

stonyarc 11-14-2005 06:14 PM

Quote:

Originally Posted by m.s
ok, the stylesheet is now directly in the sourcecode.

Strange error

Is it possible you accidently changed some items during the translation?

m.s 11-14-2005 06:59 PM

Quote:

Is it possible you accidently changed some items during the translation?
hmm, i?ve only translated the phrases.
i?ve reseted the phrases, but the ie don?t shows the bubbles yet :(

moonclamp 11-14-2005 11:07 PM

I know it's been mentioned before ... But what would I edit to get the username link in the pop up go to the members profile rather than the homepage?

Suggestion ... how about getting the users avatar to pop up in bubble?

moonclamp 11-14-2005 11:34 PM

Quote:

Originally Posted by moonclamp
I know it's been mentioned before ... But what would I edit to get the username link in the pop up go to the members profile rather than the homepage?

OK sussed it myself I think ...

In VBGooglemap_display_map template

look for

HTML Code:

title = "<a href='/'>"+ title +"</a>";
and replace with

HTML Code:

title = "<a href='/forum/member.php?username="+ title +"'>"+ title +"</a>";
where 'forum' is your forum root

stonyarc 11-15-2005 06:36 AM

Quote:

Originally Posted by mini2
Mine's just died. I've not changed a thing though.
I was approaching 90 entires the last time I looked. I guess it's just broken down at that number of entries?
The map shows, but no markers are loading etc.


<marker lng="-89.85580444335937" lat="35.21869749632885" title="silverwolf08" text="Callum <3" type="red"/>

Mini the < is causing this from silverwolf08. Not the 90 users. The version 1.0.3 that is now online should fix this.

IE doesn't handle this very well. if you use htmlspecialchars it will show &lt so I parse them out.

You can also remove this for the googlemap DB table directly.

Don't forget to restart your browser or clear you cache to force the reconstruct of the xml.

stonyarc 11-15-2005 06:38 AM

Quote:

Originally Posted by moonclamp
I know it's been mentioned before ... But what would I edit to get the username link in the pop up go to the members profile rather than the homepage?


Suggestion ... how about getting the users avatar to pop up in bubble?

This will be featured in version 1.0.4

stonyarc 11-15-2005 06:40 AM

Quote:

Originally Posted by mini2
I've had many people try to manually enter degrees ? as co-ordinates, and they get a vBulletin database error (and I get an email) over at www.mini2.com/forum/VBGooglemap.php
Any way to either allow alternative input formats, or handle the errors more elegantly?

The entry can now only be done by entering longitude and lattitude by
xx.xxxxxxxxxxxx format.

I'm looking for alternative methods of entering the data.

stonyarc 11-15-2005 06:41 AM

Quote:

Originally Posted by moonclamp
OK sussed it myself I think ...
In VBGooglemap_display_map template
look for
HTML Code:

title = "<a href='/'>"+ title +"</a>";
and replace with
HTML Code:

title = "<a href='/forum/member.php?username="+ title +"'>"+ title +"</a>";
where 'forum' is your forum root

This code is also included in 1.0.4

stonyarc 11-15-2005 06:43 AM

Just to let you know that VBGooglemap (even still in Beta) has been nominated as hack of the month.

You can vote on https://vborg.vbsupport.ru/portal.php? for the fav hack.

StarBuG 11-15-2005 09:16 AM

Quote:

Originally Posted by mini2
OK, scratch that. Now working with the latest version.

you got my vote ;)

stonyarc 11-15-2005 09:23 AM

Quote:

Originally Posted by StarBuG
you got my vote ;)

Thanks I appreciate it.

Now the rest of you :rolleyes:

Flow Fusion 11-15-2005 12:15 PM

This is so fuc&*9 cool.

pixie 11-15-2005 01:31 PM

Fantastic hack :D
scuse me for my english I'm french and i speak very bad english.
I vote for this hack for the Hotm

just a question, is it possible to have the same color for the members, the administrators, moderators etc etc ?

THANK'S

silurius 11-15-2005 03:07 PM

Quote:

Originally Posted by stonyarc
Just to let you know that VBGooglemap (even still in Beta) has been nominated as hack of the month.

You can vote on https://vborg.vbsupport.ru/portal.php? for the fav hack.

No hesitation, you got my vote as well.

stonyarc 11-15-2005 04:47 PM

Quote:

Originally Posted by pixie
Fantastic hack :D
scuse me for my english I'm french and i speak very bad english.
I vote for this hack for the Hotm

just a question, is it possible to have the same color for the members, the administrators, moderators etc etc ?

THANK'S

That will be configurable in the next version(s)

pixie 11-15-2005 05:08 PM

Quote:

Originally Posted by stonyarc
That will be configurable in the next version(s)

Thanks for the reponse

Tracer Gun Kata 11-15-2005 05:59 PM

Quote:

Originally Posted by stonyarc
Checking now

/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"));
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());

Add the following line below it

Code:

map.setMapType( _HYBRID_TYPE );
Save the XML and reload it
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.

I have 1.3 ..

I did the above with no success..

I have edited the xml as instructed.. found three instances of the above code and trialed with adding the additional code under once and then with all 3 instances.. no success..

Am I missing something completely? Please help.. I would like to have Hybrid view :ermm:

Great Hack btw :squareeyed:

Tracer Gun Kata 11-15-2005 06:56 PM

cancel.. that.. cured itself for some strange reason :ninja:

stonyarc 11-15-2005 07:41 PM

Quote:

Originally Posted by Tracer Gun Kata
cancel.. that.. cured itself for some strange reason :ninja:

Got some real mojo build in there :smoke:

No problem, probably browser cache that caused that.

If you like it don't forget to vote for it as hack of the month :devious:

trackpads 11-15-2005 09:17 PM

Stony,

This is awesome but I have a wierd issue with the display, please let me know what you think:

http://www.trackpads.com/forum/VBGooglemap.php

Screenshot attached.

-Jason

m.s 11-15-2005 09:36 PM

Quote:

Originally Posted by stonyarc
Strange error

Is it possible you accidently changed some items during the translation?

so, i?ve found the error. its a faulty style.

Tracer Gun Kata 11-15-2005 09:54 PM

Quote:

Originally Posted by stonyarc
Got some real mojo build in there :smoke:

No problem, probably browser cache that caused that.

If you like it don't forget to vote for it as hack of the month :devious:

Voted for you.. look forward to your next hack :squareeyed:

Agreed, prolly cached.

stonyarc 11-15-2005 09:56 PM

Quote:

Originally Posted by trackpads
Stony,

This is awesome but I have a wierd issue with the display, please let me know what you think:

http://www.trackpads.com/forum/VBGooglemap.php

Screenshot attached.

-Jason

Wow that's a first. I'll check it.

/edit

I think I found it

Code:

<map name="Map"> <area shape="rect" coords="73,92,140,128" href="http://www.trackpads.com/forum/portal.php">
 <area shape="rect" coords="139,92,201,130" href="http://www.trackpads.com/forum">
 <area shape="rect" coords="200,92,264,131" href="http://www.trackpads.com/magazine">
 <area shape="rect" coords="263,92,325,131" href="http://www.trackpads.com/forum/forumdisplay.php?f=690">
 <area shape="rect" coords="324,92,388,130" href="http://www.trackpads.com/forum/forumdisplay.php?f=692">
 <area shape="rect" coords="387,92,449,131" href="http://www.trackpads.com/forum/forumdisplay.php?f=784">
 </map>

Your image map carries the same name as the div that loads the googlemap.

I suggest you rename your image map that should fix it.

trackpads 11-15-2005 10:13 PM

Quote:

Originally Posted by stonyarc
Wow that's a first. I'll check it.

/edit

I think I found it

Code:

<map name="Map"> <area shape="rect" coords="73,92,140,128" href="http://www.trackpads.com/forum/portal.php">
 <area shape="rect" coords="139,92,201,130" href="http://www.trackpads.com/forum">
 <area shape="rect" coords="200,92,264,131" href="http://www.trackpads.com/magazine">
 <area shape="rect" coords="263,92,325,131" href="http://www.trackpads.com/forum/forumdisplay.php?f=690">
 <area shape="rect" coords="324,92,388,130" href="http://www.trackpads.com/forum/forumdisplay.php?f=692">
 <area shape="rect" coords="387,92,449,131" href="http://www.trackpads.com/forum/forumdisplay.php?f=784">
 </map>

Your image map carries the same name as the div that loads the googlemap.

I suggest you rename your image map that should fix it.

Thanks!!

If there is a way to break something then my site usually will :) :) :) :) :)

stonyarc 11-15-2005 10:19 PM

Quote:

Originally Posted by trackpads
Thanks!!

If there is a way to break something then my site usually will :) :) :) :) :)

That why we are all here to fix this kind of little but nasty problems.

Don't worry :rolleyes:

TTG 11-15-2005 11:59 PM

Just as a note for anyone having problems after installing this snow hack .. running the snow hack causes the markers to disappear from the googlemap :ermm:

trilOByte 11-16-2005 12:28 AM

Quote:

Originally Posted by stonyarc
Wow that's a first. I'll check it.

/edit

I think I found it

Code:

<map name="Map"> <area shape="rect" coords="73,92,140,128" href="http://www.trackpads.com/forum/portal.php">
 <area shape="rect" coords="139,92,201,130" href="http://www.trackpads.com/forum">
 <area shape="rect" coords="200,92,264,131" href="http://www.trackpads.com/magazine">
 <area shape="rect" coords="263,92,325,131" href="http://www.trackpads.com/forum/forumdisplay.php?f=690">
 <area shape="rect" coords="324,92,388,130" href="http://www.trackpads.com/forum/forumdisplay.php?f=692">
 <area shape="rect" coords="387,92,449,131" href="http://www.trackpads.com/forum/forumdisplay.php?f=784">
 </map>

Your image map carries the same name as the div that loads the googlemap.

I suggest you rename your image map that should fix it.

I have exactly the same issue - can you explain the fix in a little more detail?

tnx. :)

trilOByte 11-16-2005 12:34 AM

Nevermind, I fixed it myself. :)

For anyone else with this problem, it occurs if you have an image map plotted over an image, that carries the name "Map". Mine was in my header.

Could I suggest that future versions of this hack use something other than "Map", so that bozo's like me that cant be more inventive, dont get caught with a conflict.

Excellent hack BTW.

thuffner 11-16-2005 01:39 AM

None of my markers show up. I did everything as instructed, and things are even written to the XML file. I get this error though, when I try to visit the XML file ( http://www.bondmovies.com/board/markers.xml ) :

Quote:

Parse error: parse error, unexpected T_STRING in /www/t/thuffner/htdocs/board/markers.xml on line 1

stonyarc 11-16-2005 06:27 AM

Quote:

Originally Posted by thuffner
None of my markers show up. I did everything as instructed, and things are even written to the XML file. I get this error though, when I try to visit the XML file ( http://www.bondmovies.com/board/markers.xml ) :

Thuffner,

You are not running the latest version.

Can you please upgrade (overwrite markers.xml and VBGooglemap.php, reload pluging overwrite yes) and check if the error still occurs.

thuffner 11-16-2005 06:31 AM

Just re-installed and reuploaded the files...The .xml file is still broken... :(

stonyarc 11-16-2005 07:14 AM

Quote:

Originally Posted by thuffner
Just re-installed and reuploaded the files...The .xml file is still broken... :(

Can you attach the file itself to your next post?

This is a php generated error so I cannot check the file itself.


All times are GMT. The time now is 09:11 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
  • Page Generation 0.01899 seconds
  • Memory Usage 1,859KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (4)bbcode_html_printable
  • (31)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete