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)

ZeroHour 03-10-2008 08:12 PM

Have you got it on a public server?
Aka a url to where you are having the problems so I can see.
You can PM me the url if you want as well

nectons 03-15-2008 01:58 AM

This thing is not working.. i have one day working and the other no... so i uninstalled immediatly.. to bad :(

basketmen 03-16-2008 06:07 PM

can you search with text for city or country??

for example i type new york, then the maps will load new york map

please answer this if you have trying this hack

Savage702 03-17-2008 04:22 AM

Quote:

Originally Posted by basketmen (Post 1466346)
can you search with text for city or country??

for example i type new york, then the maps will load new york map

please answer this if you have trying this hack

No, it doesn't work like that. I wish it did. I also wish it could automatically pin each members location by simply having a user profile field for zipcode/postal code, but it doesn't do that either.

You have to find your location on the map, and place the pin where you want it, and save.

dragginblazer 03-24-2008 07:04 PM

Quote:

Originally Posted by ZeroHour (Post 1456251)
Right I have my first fix. I will be editing this post with future changes so you can refer back to it and bookmark it by clicking the post number to the right.

Fix for no markers shown:

Edit:

/includes/functions_vbgooglemapme.php:

Goto line 49 which should start:
PHP Code:

$text_file .= "<marker mapid=\" 

Replace that line with:
PHP Code:

$text_file .= "<marker mapid=\""htmlspecialchars($get_xml_marker["mapid"])."\"  title_map=\"".htmlspecialchars($get_xml_marker["title_map"])."\" lng=\"".htmlspecialchars($get_xml_marker["lng"])."\" lat=\"".htmlspecialchars($get_xml_marker["lat"])."\" userid=\"".htmlspecialchars($get_xml_marker["userid"])."\" username=\"".preg_replace("/\n|\r\n|\r/""",nl2br(addslashes(htmlspecialchars(trim($get_xml_marker["username"])))))."\" text_map=\"".preg_replace("/\n|\r\n|\r/"""nl2br(addslashes(htmlspecialchars(trim($get_xml_marker["text_map"])))))."\" type=\"".htmlspecialchars($gettype['googlemapmetype'])."\" pimage=\"".htmlspecialchars($pimage)."\" />\n"


/includes/cron/vbgooglemapme_cron.php:

Goto line 58 which should start:
PHP Code:

$text_file .= "<marker mapid=\" 

Replace that line with:
PHP Code:

$text_file .= "<marker mapid=\"".htmlspecialchars($get_xml_marker["mapid"])."\"  title_map=\"".htmlspecialchars($get_xml_marker["title_map"])."\" lng=\"".htmlspecialchars($get_xml_marker["lng"])."\" lat=\"".htmlspecialchars($get_xml_marker["lat"])."\" userid=\"".htmlspecialchars($get_xml_marker["userid"])."\" username=\"".preg_replace("/\n|\r\n|\r/""",nl2br(addslashes(htmlspecialchars(trim($get_xml_marker["username"])))))."\" text_map=\"".preg_replace("/\n|\r\n|\r/"""nl2br(addslashes(htmlspecialchars(trim($get_xml_marker["text_map"])))))."\" type=\"".htmlspecialchars($gettype['googlemapmetype'])."\" pimage=\"".htmlspecialchars($pimage)."\" />\n"

Run the scheduled task and your markers should return.
Basically I have modified the code to replace things like "&" with the xml safe "&amp;" so no matter what anyone enters for the fields the xml should still be safe.

More tweaks to come including integration of the display groups being marker colour.

worked like a charm. Should be added to the instructions

zerokun 03-27-2008 07:35 AM

Dear ZeroHour and friends,

I have just updated 2 files /includes/functions_vbgooglemapme.php & /includes/cron/vbgooglemapme_cron.php but it's still error, sometime it doesn't show the markers. I'm using Firefox.

Thanks for your help!

joh 03-29-2008 11:36 PM

we just added the map here http://www.nsraweb.com/vbgooglemapme.php but no mater what I do no one show up on the map.

Where do we find the Live Proximity mapper, that was the reason i got this mod.

drpeppper 03-31-2008 12:16 PM

Quote:

Originally Posted by joh (Post 1477980)
we just added the map here http://www.nsraweb.com/vbgooglemapme.php but no mater what I do no one show up on the map.
Where do we find the Live Proximity mapper, that was the reason i got this mod.

Its not in this released version "yet"

anyone else getting this error using vBadvanced CMPS v3.0 RC2


Code:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/vba_cmps_include_template.php on line 19

stuartn 03-31-2008 08:29 PM

I still have the same problem, I can view my own pin when on your entry, but when I goto the big map its gone.

http://www.rcheliaddict.co.uk/vbgoog...hp?do=showmain

Even after applying the latest possible fix.

joh 04-01-2008 01:49 PM

I got this error
Code:

Parse error: parse error, unexpected '\"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/nsraweb/public_html/includes/functions_vbgooglemapme.php on line 49


All times are GMT. The time now is 12:48 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.01746 seconds
  • Memory Usage 1,763KB
  • 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_code_printable
  • (4)bbcode_php_printable
  • (3)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