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)

VBDev 12-30-2008 07:03 PM

Hi all,

Has anyone this googlemap installed on his forums, and could give me an url to the vbgooglemapme.php, avaible for guests please ? I'd like to check some things ! ;)

VBDev 01-02-2009 09:34 AM

Hi stonyarc, I've seen on your board that you're using 3.7.4 too, but markers do not seem working, do you know why ?

We tried the patch posted here, but no way ... have you a solution ? :)

Glenshadow 01-05-2009 03:59 AM

I was able to get this working with vB 3.80 RC2 with a few of lpetrich's and Falcon Capt's suggested fixes.

Mainly the zoom wouldn't work when you clicked the find me, and then just a few improvments.

I didn't read back through all of the posts, but I wonder how hard it would be to add two things...

One maybe a single user that can add multiple links on there, or even everyone being able to add more than just their location. Seeing how my site deals with Off-Roading, it would be nice to mark trails on the map maybe even with a different icon.

Another idea, somehow link it to zipcode based locating. So if a vb user has their zipcode entered in their profile it will automagically populate. (I suspect this is gonna be harder to do because of the sheer amount of code it will take.)

Any thoughts ? I am going to read more of this thread tomorrow and see if I can get some ideas from the code.

jlew24asu 01-05-2009 11:50 AM

here's to hoping this gets re-released.

Glenshadow 01-05-2009 04:06 PM

Well I don't know about a re-release, but if it helps anyone I have attached my product-vbgooglemapme.xml and vbgooglemapme.php files in a zip. All I have done is added the recommended changes and it does work as I stated in earlier post.

One change I made myself is in the vbgooglemapme.xml file. Line 1479 I changed it so that there is a globe icon you click in the users postbit to locate them.I didn't like the text link and it was out of place for sure where I plopped it. I put it right under the user IM icons.

You will need to change the hyper link I added in line 1479 to you your actual domain/path_to_imag.file.

Code:

<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
<!-- vBGoogleMap Me -->
$post[findme]
<!-- / vBGoogleMap Me -->

I included the globe in the zip file as well but you can replace it with anything you like.


Hope this helps anyone looking to get it working. I am far from a coder, but I will spend hours making something I like work.. or until my eyes bleed which they were last night.

Thanks to the original author and those that have added code to make it work !

FYI, my server is IIS on 2003 x64, MySQL 5.x, PHP 5.x.

Glenshadow 01-06-2009 03:59 AM

I just updated my last post and attachment with the fixes detailed here: https://vborg.vbsupport.ru/showpost....&postcount=697

This addresses the disappearing markers which I had happen today.. roughly 24 hours after I installed it and had it working. This occured when a user went to modify his marker and they just all vanished.

Hope this helps... follow the directions in that post on where to place the updated files.

I do notice now, that if you go back to the Map and select "Your Entry", the zoom and links below are blank and the map doesn't show.

This might be a fluke with one of the other patches I applied.. I will research it more later.

PtitLu 01-06-2009 08:14 AM

It still doesn't work for me (3.7.4) with theses mods. No marker is shown. It worked a few weeks ago. Does anyone get vbgooglemap working on a 3.7.4 vBulletin ?

lpetrich 01-06-2009 10:26 AM

I suggest checking <forum root directory>/markers.xml to see if it can be parsed correctly as XML. People often put ' or " into their usernames and/or description text, which causes confusion for XML parsers.

ZeroHour's fix, in this thread, had fixed that problem for me and several others -- has it ever failed for anyone?

More broadly, it would be nice if someone was willing to maintain an updated and fixed version. I myself am willing to take on that task; I am rather expert with the Google Maps API, though not with PHP or vBulletin internals or interacting with a database. But I see a potential problem with infringing on StonyArc's copyright. Has anyone been in touch with StonyArc about this add-on, its problems, and our fixes?

PtitLu 01-06-2009 02:48 PM

Quote:

Originally Posted by PtitLu (Post 1703061)
It still doesn't work for me (3.7.4) with theses mods. No marker is shown. It worked a few weeks ago. Does anyone get vbgooglemap working on a 3.7.4 vBulletin ?

Same problem with the 3.7.5 version available today.

Glenshadow 01-06-2009 06:14 PM

I can't see how 3.7x wouldn't work if I can get it to work on 3.8 RC2. 3.8 is final on Thursday....

I didn't read all of your posts, but did you check in your markers.xml and make sure they are still in there ? If so, try the files I just updated and added last night in my previous post. I KNOW they work for for me because mine disappeared.. so I went back to post 697 and did those changes, uploaded files, ran scheduled task, and they were back.

Another thing of note.. take a peek and make sure you don't have any goofy characters in any of the users data. Not saying that would be the exact cause.. but I noticed that if someone links to an image and it has & or special characters that it won't show the image.


All times are GMT. The time now is 09:52 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.01739 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
  • (1)bbcode_code_printable
  • (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