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)

nexus851 11-27-2005 11:42 AM

guys, i had "SNOW effect" installed that's why it didnt work... guess those two dont mix well.. When i uninstalled it, it worked fine again...

Maybe the programmer can find a way to make it co-exist without sacrificing functionality.... my ,.02cents

steven s 11-27-2005 06:22 PM

I'd love to have a small version of the map and have it displayed in a module for vBadvanced. I know that's beyond the scope of this.

buro9 11-27-2005 08:53 PM

Two request:

1) That in IE clicking the markers doesn't give a JavaScript error "Object doesn't support this property".

2) That a scrollable DIV on the right hand side lists all of the usernames, and clicking on a username centers that user on the map.

ImportPassion 11-28-2005 03:07 AM

Quote:

Originally Posted by buro9
Two request:

1) That in IE clicking the markers doesn't give a JavaScript error "Object doesn't support this property".

2) That a scrollable DIV on the right hand side lists all of the usernames, and clicking on a username centers that user on the map.

#1, something must be foobar on ur install, I don't get that on IE6.

#2, that would be cool and I think pretty easy.

THanks for this hack. I have been wanting to do this for some time. Now I don't have to. ;)

D

nexus851 11-28-2005 05:48 AM

2 critical options i think are:

1) Using zip code from users, it'll automatically track down your geographic location in the googlemap, so you dont have to manually do it yourself...

2)An icon link from the member profile when clicked will send viewer to the googlemap location of the member being viewed.

So, any idea when this will be released? =)

Robert Basil 11-28-2005 06:15 AM

Quote:

Originally Posted by nexus851
2)An icon link from the member profile when clicked will send viewer to the googlemap location of the member being viewed.

I would LOVE to see this but would also like to be able to include it in the postbit.

buro9 11-28-2005 07:42 AM

Quote:

Originally Posted by 7thgenCivic.Com
#1, something must be foobar on ur install, I don't get that on IE6.

It appears that a hack I was running on my own forum (not published) which shows user selectable World Timezones below the nav bar was setting a param of the same name as one used by the Google Maps API.

What fun trying to trace that bug :)

buro9 11-28-2005 01:00 PM

There's a bug with the insert statement. If the username contains an apostrophe then the insert fails.

Simple solution, find the INSERT statement in VBGooglemap.php (there's only one), and replace $newusername with addslashes($newusername)... I've added slashes to $newtext_map too as I think that would also suffer the same problem.

Oh... and I've had to change significantly the HTML. The stuff in the hack is great as a prototype, but none of it is XHTML Transitional compliant. Biggest error being the missing close </html> tag, readonly not having value is up there, as are <img> tags not having alt="", and a lack of self-closing <br />'s.

stonyarc, if you want me to submit back to you my HTML changes, just ask.

stonyarc 11-28-2005 04:07 PM

Quote:

Originally Posted by buro9
There's a bug with the insert statement. If the username contains an apostrophe then the insert fails.

Simple solution, find the INSERT statement in VBGooglemap.php (there's only one), and replace $newusername with addslashes($newusername)... I've added slashes to $newtext_map too as I think that would also suffer the same problem.

Oh... and I've had to change significantly the HTML. The stuff in the hack is great as a prototype, but none of it is XHTML Transitional compliant. Biggest error being the missing close </html> tag, readonly not having value is up there, as are <img> tags not having alt="", and a lack of self-closing <br />'s.

stonyarc, if you want me to submit back to you my HTML changes, just ask.

Buro 9,

Thanks for your efforts.

If you could send me your changes, I'll drop them in the next version.

buro9 11-28-2005 08:10 PM

Quote:

Originally Posted by stonyarc
Buro 9,

Thanks for your efforts.

If you could send me your changes, I'll drop them in the next version.

Done, sent to your admin email on your stonyarc domain.

Three files, two versions of the HTML as XHTML... one is a straight cleanup, the other includes changes to the layout to make it less cluttered and techy in appearance.


[edit]

And because I feel mean saying that and not allowing other people to have their mitts on it... and because this has a Share-Alike licence... attached are the three files I sent to stonyarc.

The three files are:
  1. PHP File change.txt = You need to make a one line change to VBGooglemap.php, this file tells you what the change is... basically escaping part of a querystring.
  2. product-VBGooglemap.XHTMLport.xml = Port of your HTML to valid XHTML Transitional (VB default encoding). If you just want the existing layout, publish this.
  3. product-VBGooglemap.XHTMLportWithNewLayout.xml = Port of my version of the XHTML, simply hides some of the techier things from most users, cleaner layout and friendlier as a result. If you want a cleaner layout, publish this.
Though these are beta... in that stonyarc hasn't tested them yet, etc.

However if you are running bog standard and want to try a newer version... apply the file change in the text file and uninstall the existing product and reinstall with one of the above product files.

If your'e at all cautious... just wait for stonyarc to do his thing, he's been incredibly supportive on this thread so I've no doubt the new version will arrive soon and be tested nicely :)


NOTE: DON'T EVEN THINK THAT THE ATTACHED FILES ARE SUPPORTED BY STONYARC OR MYSELF... THEY'RE NOT! I'M JUST SHARING ALIKE.


All times are GMT. The time now is 03:12 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.01634 seconds
  • Memory Usage 1,746KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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