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)

JohnGBSA 02-24-2006 04:22 PM

Quote:

Originally Posted by tamborinegal
I am having this same problem but it only started happening recently.

If I use firefox (and other browsers) it works fine. If I'm a guest using IE, it works fine, BUT if I'm logged in as a member using IE, then the markers are there but it just centers on the map when clicked, I don't get the information popping up. Any idea why this would be happening Stonyarc?

I just love this hack and so do my members but unfortunately now the majority of them are no longer able to use it :(

Clancy

Strage that I have the exact oposite problem. It works perfectly in IE 6 but not in Firefox.... Strange. If anyone has an idea please let me know.

Also, at present I am just testing on a link to vBGooglemaps.php instead of embedding it into the navbar. Could someone tell me exactly where in the navbar I should put the code?

Thanks,

John

Gizmo999 02-25-2006 04:36 PM

A lot of my users are having problems with this, the pin doesn't locate to the location they set. rather than spend hours doing browser tech support on it I'd rather alter the location myself, I've found the markers.xml file but changing that doesn't update the pin so it looks like I must also alter the googlemap table in my database??

is anyone using this method to correct misplaced pins?? if so are there any problems doing it??

ronoxQ 02-25-2006 05:12 PM

ERROR: CAnnot open XML File

I posted this up a while ago, but nobody gave any ideas. Not even a "no clue" reply.

Can ANYBODY help me? Or is this doomed to fail for my site, for some unexplainable reason?

Gizmo999 02-27-2006 01:21 PM

I've been trying to work out why my users keep screwing up their pins, reading the instructions it seems there is one small error

Quote:

Welcome to the Member Map page. This feature is in beta development. To insert your entry just click on your entry and center the new map on your location. The latitude and longitude will change automatically. Don't forget to enter your user name to accompany your marker. For security we do not advise entering your exact location. Once entered clicking your entry will load an update page. If your marker doesn't show directly, just close your browser and restart it or clear your browser cache.
I think the correct way is to centre the location first, zooming to do so, then click "your entry" so it inputs the lat and long from the centre of the screen.

I'd suggest altering the default googlemap_intro phrase and adding the FAQ I posted earlier. Mine now reads

Quote:

Welcome to the Member Map page. This feature is in beta development. To insert your entry centre the map on your location by clicking and zooming to it then just click on the "your entry" button. The latitude and longitude will change automatically. Don't forget to enter your user name to accompany your marker. For security we do not advise entering your exact location. If your marker doesn't show directly, just close your browser and restart it or clear your browser cache. <a href="http://www.mysite.com/forum/faq.php?faq=vb_board_usage#faq_add_member_map" target="_blank">More Details </a>. If you need to edit the pin, click and zoom to the location so it is in the centre of the screen, then click "your entry" again, close and restart browser.

MythoLogy 02-27-2006 11:00 PM

Thx so much for this and the support thus far! *clicks install

JohnGBSA 02-28-2006 07:22 AM

It is still not working in Firefox for me. I can not see any of the markers at all, but if I go into IE, they are all there.

Any ideas?

toytaco99 02-28-2006 01:36 PM

Quote:

Originally Posted by JohnGBSA
It is still not working in Firefox for me. I can not see any of the markers at all, but if I go into IE, they are all there.

Any ideas?

I just noticed that one of the forums I frequent (newbeetle.org) already has a good Google maps thing up and running on vb 3.5. Aparently, it's something they custom programmed. Anybody think it would make sense to ask them about how they did it, or ask if they are willing to share with the community? Just an idea. Here's their implementation:

http://www.newbeetle.org/apps/member-map/

They make it look so effortless, IMHO.

JohnGBSA 02-28-2006 02:17 PM

Brilliant site!

Lets nag them for their code! :)

toytaco99 02-28-2006 07:31 PM

Quote:

Originally Posted by JohnGBSA
Brilliant site!

Lets nag them for their code! :)

Here's his (the site owner) response when asked about sharing their info:

Quote:

Obviously, we're using Google maps API for the map display. The trickest part of that is that Google doesn't provide a geocoder to convert addresses to latitude/longitude, so we had to build our own. We were able to find data for this from the census bureau. We found two very text large files -- one for the US and one for everywhere else. The US one has zip codes and lat/long and the international one just have names of cities and lat/long. So, we imported those into MySQL and turned them into databases. Then, we wrote a script to compare the user address info aganist the geocoding databases and write the results to an XML file. we run that on a cron job every 30 minutes so that the XML file is updated with new users and address changes.

From there, it's pretty simple. Google maps API is prepared to take in an XML file, so it's pretty much straight from their example javascript on their site.

And that's about it.
He says the geocode databases are somewhere around 400MB. Woweee!

(I don't want to hi-jack this plug-in's thread, so should we start a new thread on this?)

JohnGBSA 02-28-2006 07:38 PM

Call me a n00b (which I am when it comes to PHP and MySQL), but that seems like an awful lot of work!

A good idea, but geesh!


All times are GMT. The time now is 03:35 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.01836 seconds
  • Memory Usage 1,748KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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