vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - VBGooglemap Member Edition (https://vborg.vbsupport.ru/showthread.php?t=123148)

lpetrich 11-04-2008 12:27 AM

I looked at the product file, and I found the editor page in it. It does a simple HTML submit-page operation, but I'd have to find which code receives the submitted data, and find that code's path from the submitted data to the database.

But once that is done, it should be easy to turn out-of-band characters into HTML entities with code like what I'd written.

crkgb 11-04-2008 02:38 PM

Thank you very much for your assistance. Will be waiting for further info from you

MediaHound 11-04-2008 05:42 PM

Quote:

Originally Posted by lpetrich (Post 1657672)
Rend Sever and MediaHound, had you tried ZeroHour's fix? It's post 697 here.

And when you run it, be sure to go to "Scheduled Tasks" in the AdminCP and run the vbGoogleMap cron job to refresh markers.xml

You can see if it has bad HTML by getting <forum root>/markers.xml on your web browser, and you can find out where the page execution bombs out with Firefox Tools > Error Console.

No, thats not my problem, read the post again please. The problem I speak of involves the old version that allowed one to link to specific members on the map. I run in the postbit a link for each member that filled the map a link to his pin on the map. The earlier version of this mod that I was running allowed those links to work. The update I did no longer lets those links work. Example of a link:
http://www.forums.com/vbgooglemapme....865128&zoom=10
That type of link would zoom in to said location. Now its just as if I were to pull up vbgooglemapme.php without passing the variables. The variables in the URL don't have any effect anymore. I wish they would. Have you got an idea to fix this please? Thanks in advance!

lpetrich 11-04-2008 08:55 PM

I did some checking, and I found that

(vbGoogleMap page) >[List users] > (some user) > Show on map

has a URL syntax of

<forum root>/vbgooglemapme.php?lat=<latitude>&lng=<longitude>&z oom=<zoom>

like your link, MediaHound. I tried composing a URL with that syntax, but with nobody's location in it, and it worked fine on my site's vbGoogleMap installation.

So see what happens with "Show on map". If you have Firefox, I recommend going to Tools > Error Console, in case it's an error in the generated page.

MediaHound 11-04-2008 10:20 PM

Nope, when I click those as well (same link format), the map stays on:
"Currently viewing <is null>"
"Current Zoom level: 1" (meanwhile the URL dictates it should be 6, or 10, etc..)

715 markers on the map all seem to appear just fine.

Latitude and Longitude are not matching up between the page and in the URL.

Error console is reporting many instances of this:
Error: self._setBlockingState is not a function
Source File: chrome://global/content/bindings/notification.xml
Line: 262

Thanks again :up:

4x4 Mecca 11-08-2008 05:42 PM

Ok, I opened my debug script and there was only one error in a javascript, something about forground or something. But I also edited the two php files and I still can't see all the member markers on the main map. However if I choose to edit an individual member I can see their marker on their own page.

effeff70 11-10-2008 08:07 PM

I´ve added googlemap ME, everything looks fine, but when i set "your entry" and then "update" there´s no Marker on the map, then using a test account (all rights set)
doing the same, "your entry" but i couldn´t see a marker?

All files are in correct Maps, marker rights set "777" settings ok....whats wrong?
vb 3.7.3

Somebody an Idea?
THX

effeff70 11-11-2008 05:12 PM

Can nobody help? No idea?

lpetrich 11-11-2008 06:15 PM

effeff70, did you try ZeroHour's fix?

I suggest that after doing that, you run the vbGoogleMap cron job again; it's in Scheduled Tasks. It will regenerate markers.xml with the fixes.

You can look at markers.xml with your web browser by going to <forum root>/markers.xml -- check to see if there's anything that an XML parser might gag on, like a & or a ?

You can fix those bad characters by going to "List users" and then editing their entries to get rid of them. That'll update their entries in the database.

MediaHound 11-11-2008 06:23 PM

Anyone know how to make the old links work again to link to direct markers on the map?


All times are GMT. The time now is 04:42 AM.

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.02063 seconds
  • Memory Usage 1,742KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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