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)

MediaHound 06-05-2010 02:25 PM

Quote:

Originally Posted by GeekDrew (Post 1338040)
I just installed this a couple of days ago, and the first couple of users that tried to use it (other admins of mine, as I like to do extensive testing) managed to break the pins, because of the XML validation error that others have referenced as "running the XML file".

The cause of the problem is that the pimage link isn't being parsed safely for XML.

Here's a fix that I think will work (at least it works for me -- I do NOT guarantee this, if it causes spontaneous combustion, fire, death, etc., I'm not to blame):

*** I JUST SAID THAT I DO NOT GUARANTEE THIS WILL WORK. I DISCLAIM ALL LIABILITY. YOU MUST BACK UP YOUR DATABASE AND ALL OF THE FILES RELATED TO THIS MODIFICATION, SO THAT YOU CAN RESTORE THEM IF NECESSARY. ***

In /forums/includes/cron/vbgooglemapme_cron.php:

Find:


Immediately ABOVE the text I have quoted, place the following text:



In the same file, find this:



Immediately BELOW the text that I have quoted, place this:



That should render all entities in the 'pimage' field safe for XML, so it will validate. However, that script is only called when the CRON job is executed... when someone edits their entry online, a different copy of that same script is called (which is really bad form, in my opinion, but hey, I didn't develop this...). That second copy is located at /forums/includes/functions_vbgooglemapme.php. You need to make the exact same changes in that file as I have mentioned above.

Now... I am not claiming that this will solve everyone's issues. It more than likely will not. It will, however, fix problems with 'pimage' being the reason that the XML won't validate. I think that this will probably fix the problems that quite a few of you are happening.

Really old post of yours GeekDrew but the .txt file on your server is long gone. I need to apply this patch again and if you still have that (or anyone else reading), please let me know.

Also there are other fields that are in need of validation.
Has anyone gotten a bulletproof solution here yet?

Diablotic 06-09-2010 09:26 AM

Any news on 4.0 version?

mierzwin 06-12-2010 09:42 PM

ckgreenman, will the official version support upgrade from your one ? is it worth installing yours or just wait for official release ? i dont want my members to re-enter their location multiple times etc

thanks

kylek 06-14-2010 06:34 PM

Quote:

Originally Posted by zelnik (Post 2044722)
Hi,

did you get anywhere with this as i really would like to install it but have vmoods installed :(

I removed vmoods and replaced it with the newer dbtechs facebook status as they have included mood images in it, and with a bit of work you can run the same images that you use in vmoods.

This allows the markers to display properly using ckgreenman's version.

ckgreenman 06-28-2010 12:59 PM

Quote:

Originally Posted by mierzwin (Post 2052668)
ckgreenman, will the official version support upgrade from your one ? is it worth installing yours or just wait for official release ? i dont want my members to re-enter their location multiple times etc

thanks

Sorry for the late response. From what I know (admitedly not much) about StonyArc's vb4 version there will be no upgrade patch from ANY version. that being said, the only real thing that needs to be saved is your xml file. As long as you have that all your marker data is safe.


If you DO decide to install my version, then all you will need to do is save your marker file, uninstall the product, and install the new version. I imagine that StonyArc would provide some means to import the data from the marker file.

Hope this helps

Amiga Harrison 07-01-2010 11:38 AM

I've just installed the vB4 version and it seems to be working perfect. Great work on the update for this.

When first installed I also could not get the markers to appear, but to fix this all I had to do was edit my own entry [Your Entry] and click Update the information (without actually editing anything) and the markers all appeared, so it seems re-saving the data fixed it.

SuperGLS 07-07-2010 07:54 PM

I followed the instructions ckgreenman laid out and when I click on the link for it I get this error.

https://vborg.vbsupport.ru/external/2010/07/39.png

Any ideas? I'm sure my API key is right, although I was updating from version 2.5.2 not 3.0.1 of this mod. If I go get a new API key, which one should I get? Will that mess up my marker data?

Thanks in advance!

HondaATC 07-10-2010 09:21 PM

What are my options if my markers.xml file is blank, but they are still stored in the database?

HondaATC 07-11-2010 12:10 AM

Fixed it. Apparently just adding one new marker re-freshes the markers.xml with the information from the database! :D

SuperGLS 07-12-2010 02:00 PM

Any ideas on my error I'm getting above? Everything else seems to be working, but it's annoying to get a pop up error every time.

Happens in Firefox and Safari (and the other browsers too I'd imagine).


All times are GMT. The time now is 06:08 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.02077 seconds
  • Memory Usage 1,747KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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