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)

Deadly Assassin 02-10-2008 12:33 PM

Quote:

Originally Posted by towermatt (Post 1327613)
I found this in the 3.5 thread for the product and it totally works!!

Quote:

Originally Posted by Doctor Death (Post 1327764)
Now why would that be a factor if all was perfect before this update? I believe there is a subtle error that we are all experiencing above and beyond this reference post.

Quote:

Originally Posted by towermatt (Post 1328024)
Well, for me it was just someone putting in a funky link for the image on their marker, when they did that, it messed it up for everyone.

I edited the entry, deleted the link, now the markers are back

Blimey 30 pages i trawled to get this.

Thanks mate, works a treat when you take out the offending image link. :up:

johnbmtl 02-10-2008 05:05 PM

I'm having the same problem as MC0676.

For some reason all of a sudden, I can only see a map. No markers appear even though the user list shows many users.

mc0676 02-10-2008 05:37 PM

Johnm, try to attend some minutes.

johnbmtl 02-10-2008 06:22 PM

I've fixed the problem.

See the post by logofreax on page 42.

Does anybody know how we can eliminate the "URL of the image for the marker" field?

Deadly Assassin 02-11-2008 04:03 AM

Quote:

Originally Posted by johnbmtl (Post 1440274)
I've fixed the problem.

See the post by logofreax on page 42.

Does anybody know how we can eliminate the "URL of the image for the marker" field?

This will fix the problem of not seeing markers after you had them working

Click on "list users" (above the map) then edit the user you want, scroll down to the bottom of the users page and you will see the image marker box. Delete this content.

:up:

mc0676 02-11-2008 05:53 AM

Quote:

Originally Posted by Deadly Assassin (Post 1440569)
This will fix the problem of not seeing markers after you had them working

Click on "list users" (above the map) then edit the user you want, scroll down to the bottom of the users page and you will see the image marker box. Delete this content.

:up:

No, it'is not the solution.

The solution is the pimage field in the database, launch this

update vb_googlemapme
set pimage = 'http://www.youdomain.com/your_vb_dir/images/googlemapme/noimage.png'

And ASK to the user ti DON'T INSERT ANYTHINK in the image field.

mc0676 02-11-2008 06:06 AM

The final solution for me is edit the template:
vbgoogle_set_yourlocation

and delete or comment this:

<tr>
<td class="alt2" align="left" valign="top">$vbphrase[vbgooglemapme_imgurl]</td>

<td class="alt1" align="left"><input name="pimage" size="20" value="$pimage" style="padding-left:5px; font-weight:normal; width:200px;"></td>

after in the db you can insert a default value for che pimage field, like:
http://www.youdomain.com/your_vb_dir...me/noimage.png

Gaukeleier 02-12-2008 08:31 PM

Hello everyone!

Great Mod!
I also saw, that there was a development of a hotspots-edition...
So I only want to ask, if anyone could help with the vbGooglemap-Hotspots-Edition?
Is there a possibility to install a safe version - and where could i get this?
In this forum it's on the graveyard :( hope there's a chance to resurrect it :D

Thank you so far!


Gaukel

KuJoe 02-13-2008 12:11 PM

Is there anyway to limit the zooming by chance? :D

Deadly Assassin 02-14-2008 03:38 AM

Quote:

Originally Posted by mc0676 (Post 1440606)
No, it'is not the solution.

The solution is the pimage field in the database, launch this

update vb_googlemapme
set pimage = 'http://www.youdomain.com/your_vb_dir/images/googlemapme/noimage.png'

And ASK to the user ti DON'T INSERT ANYTHINK in the image field.

Cool. ok well the other way worked for me and loads of others, but ifthere is a better way then go with that

bainsey 02-16-2008 08:05 PM

installed, amazing mod.

stonner 02-16-2008 11:24 PM

I have two questions:

1. Is it possible to set the user location automaticly over the ip adress?

2. Is it possible to insert all users automaticly?

dmeister 02-23-2008 12:01 AM

I live in the USA

Is it possible to use just a blown up version of the State of Connecticut?

Can We use this to plott other things than members, like customer store locations etc...

Thanks

logofreax 02-25-2008 10:33 PM

Quote:

Mark as Uninstalled...
cause of the well known Marker Bug and no support by author.

Everthing I tried for several Weeks didn?t help to show the Pins longer than 1 hour :(

Now I use vbmembermap

cu
logofreax

ZeroHour 02-29-2008 09:04 PM

Right I am using this mod on my site and I have had a look through the rough code and found some fixes/improvements.
If you are having problems PM/reply here and I will try and help out as much as my time allows. I have 66 markers and no issues yet with vb 3.7 beta 5. I coded a improvement to get past the limitations of the user group part (it only changes the marker based on primary group and not based on display group) and have had no major issues yet.
I am not going to trawl through the previous posts looking for things to fix, I will just try and help those of you using it now.

GL ;)

ZeroHour 03-03-2008 02:27 PM

Right I have found several bugs so far.
IF YOU CANT SEE ANY MARKERS:
Check your markers.xml file. It seems to be temperamental at formatting. I know that if the XML has " in the fields or "&" the markers will fail to load. I am working on a fix right now for my site and I will post the changes.

ZeroHour 03-03-2008 09:05 PM

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.

optrex 03-06-2008 08:56 AM

Big Up ZeroHour, you saved me there dude.

ZeroHour 03-06-2008 09:05 AM

np ;)

ZeroHour 03-10-2008 07:08 PM

Do you have a example?

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

johon 04-02-2008 06:19 AM

Quote:

Originally Posted by stuartn (Post 1431939)
The only thing I can think of is a conflict with another module which is not installed into any other theme.

Flashchat
Highslide
Adsense

The above use java.

Anyone using the above without conflicts to see if I'm barking up the right tree.

Bingo! That's the problem for me - when I disable Highslide, all markers show up again. Whats strange: With activated Highslide, 4 (auf 85) markers are shown.

Does anyone have an idea how to solve the conflict with Highslide? I would like to use bot PlugIns if possible....

stuartn 04-02-2008 07:51 AM

I installed other themes and transfered over the templates minus highslide and found this to be the issue as well. Would love to get it fixed....

Lombardo 04-04-2008 01:27 PM

How do you change the name in the navbar? it's a bit to long i'd like to change it to a shorter name.

stuartn 04-04-2008 06:17 PM

Anyone with an idea on how to overcome the conflict with Highslide

Phaedrus 04-04-2008 11:36 PM

When users move user groups, it appears that there is no way to change their markers to the proper group colors.

Is there a way to do this without deleting it?

Phaedrus 04-05-2008 01:04 AM

The information must have been saved on the Google Key... I simply deleted the ones that needed to be redone.

RCWorld 04-07-2008 05:47 AM

Hello again and I apologize for not returning here after my last problems but I honestly don't know what I did to get all of my markers back last time. I messed with deleting last couple of users I think but don't know what the fix was.
It has happened again but I think i have a better clue as to why.
Latest member I approved and all markers went away! I went back and copy/pasted what he had put in for his pimage and I got the whole googlmap page!
I wish I had done that before I approved. So I went back and removed that member and pimage and still all of my markers are gone.
I have even deleted his whole entry and still nothing-Help please?

RCWorld 04-07-2008 05:56 AM

OK I'm calm again now! All I did was go into map-not thur Admin but regular page-and replaced my pin and all others came back???
This is the second time I have fixed this with no clue on what or how I did it-sorry I'm no help to others!
Dave

socalrico 04-10-2008 07:12 PM

anyone have a fix for the pins showing? I tried all the ones mentioned. I am running flash chat

RCWorld 04-17-2008 09:20 PM

Sorry socalrico- I hope you figured it out-I had it happen again but all my fault! New member and went to edit in Admin CP but hit change status and approved by mistake. He had done what others have done and put link to map page into pimage line-lost all markers-went back and saw what he had put in pimage line deleted user went in and changed my pin location. from regular screen and no luck
HELP us please? Me and Rico??
Thanks


All times are GMT. The time now is 06:16 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.02206 seconds
  • Memory Usage 1,875KB
  • 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
  • (8)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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