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)

Parture 01-07-2009 06:53 PM

When is there going to be a brand new googlemaps, preferrably HSE Edition? I base my forums on a Meeting Place Finder.

Guest20210415 01-09-2009 09:27 AM

Another question: Is it really necessary to have this markers.xml?

Everybody can download this XML file. So an unregistered user can have all members with their coordinates. Makes this sense?

If we really need this file is it not possible to protect it against violation?

Glenshadow 01-11-2009 01:11 PM

True.. I never thought about that.. but usually "most average" people won't know about this file.

You need to have it because it stores the locations.. unless you get creative with blocking the direct call of it, or re-write the whole mod to use DB.. your most likely stuck with it. It has to be accessable and writeable.

lpetrich 01-12-2009 04:31 PM

There is a way to avoid creating and using that file.

Put its contents into the map page itself, as a JavaScript array.

However, one will have to ensure that quotes and apostrophes are properly escaped.

It's possible to improve performance by caching the page and updating it whenever the positions-DB entries change. And a simple way of doing that is to calculate a MD5 or SHA1 hash value for the positions DB whenever it gets updated, and to update the page only when its hash code differs from the DB's one.

PHP has some built-in functions for that, md5() and sha1(), so it should be straightforward to implement.

DaveS 01-17-2009 07:30 AM

Quote:

Originally Posted by Glenshadow (Post 1702404)
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.

Thanks for the fixes. I've come back to this to try to find a google maps members map solution as there doesn't seem to be one anywhere and this is closest I could find.

Im on vB 3.8.

I've updated with your files and I get the following problems (just in case there are additional fixes):

If I click the "Your Entry" link to add a marker it all seems to work, but when I load the Main Map I'm not shown on there. However I can see myself in the users list.

If I click on the "Your Entry" link after I've added myself the Googlemap doesn't load showing me where I had been placed.

No matter what I do it won't display the saved markers.

Any ideas?

PtitLu 01-17-2009 08:19 AM

This is exactly the problem i have since 3.7.5 (and still have on 3.8.0). Wishing someone has a solution, or this fantastic mod will be upgraded.

Phaedrus 01-17-2009 06:16 PM

Is there a way to make it update when usergroups change?

Phaedrus 01-17-2009 07:37 PM

Quote:

Originally Posted by Glenshadow (Post 1708513)
True.. I never thought about that.. but usually "most average" people won't know about this file.

You need to have it because it stores the locations.. unless you get creative with blocking the direct call of it, or re-write the whole mod to use DB.. your most likely stuck with it. It has to be accessable and writeable.

CHMOD = 644 works. (Guess Not, weird things have been happening since the upgrade to 3.8.1)

Parture 01-17-2009 09:19 PM

Why doesn't some rewrite the whole thing and start over in a new thread? I preferred the HSE edition.

lpetrich 01-18-2009 09:49 AM

I'm thinking of uploading an archive of the vbGoogleMap plugin with my fixes.

Would that be OK with you people or would that be out of line?


All times are GMT. The time now is 12:47 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.02009 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)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