View Full Version : Major Additions - VBGooglemap Member Edition
msudawgs64
09-13-2007, 10:49 PM
msudawgs64, It's not all good news I'm afriad!!!!
Although my old pins show any new pins added/edited are not showing even after I run the cron job. So maybe it's time to try GeekDrew's '$pimage = parseToXML($pimage);' fix?
well that stinks.. so far I have had two members add to it and they are showing up but I will keep an eye on it.
GeekDrew
09-14-2007, 03:30 AM
Just got the following error with your fix Geekdrew, any ideas?
and line 39 was one of your additions: $xmlStr=str_replace("&",'&',$xmlStr);
Oops. I didn't take into consideration how the browser would render my post. See the above quote that I changed -- right now the code is linked to a text file, cause I'm not sure how to post it here and have it render properly.
mdcdeve
09-14-2007, 10:45 PM
Hi, tried this when it was first released and i couldn't get it to work. Tried it just now and the same problem, everything seems ok but the map won't show, anyone know why or how to fix this?
towermatt
09-15-2007, 12:44 AM
Hum, when i go to http://www.informatiquefacile.eu/forums/markers.xml
i got a blank page... :confused:
Did i miss something ?
I would make sure that file is added to your forums folder. It should be a simple file that shows the markers in code. A broken link will show in red.
edit--looks like its there to me, but no broken ones.
n1troboy
09-15-2007, 01:01 AM
Great mod got mine up and running last night and had about 16 members add points. Now this morning all the points are gone? They are showing in the user points but not on the map - any ideas? Sorry if this has already been posted but none of my searches brought up any results
this is the error that occurs on the client browser
Line: 956
Char: 4
Error: 'documentElement' is null or not an object
Code: 0
Cheers
AM
http://www.archeli.com.au/cobra/vbgooglemapme.php
Julrou
09-15-2007, 10:20 AM
I would make sure that file is added to your forums folder. It should be a simple file that shows the markers in code. A broken link will show in red.
edit--looks like its there to me, but no broken ones.
OK.
And have u got an other idea ?
:confused:
:)
chriszep
09-15-2007, 10:39 AM
hello since i am to vb3.68 the product does not appear in my admin
i reuploaded the product , same problem and nobody has the permission to see the map
n1troboy
09-15-2007, 01:19 PM
Great idea - just grabbed mine and found a parse error in the xml data - will continue to investigate - hopefully it will just come down to dud point data
cheers for the idea :)
All you have to do is browse out to http://www.yoursite.com/forums/markers.xml
It is a file that came with the download for this mod and it should show any errors for links in read. Edit that entry on your map and it may bring the markers back.
n1troboy
09-15-2007, 01:25 PM
okay - that was it - dud map data
just hit your markers.xml and look for parse errors mine was this line
still trying to work out the error
looks like there needs to be some stricter input validation done on the map points
<marker mapid="27" title_map="Heliguychris`s flying site." lng="115.964384079" lat="-32.1490191355" userid="31186" username="heliguychris" text_map="Foothills Flyers site." type="green" pimage="http://www.archeli.com.au/cobra/image.php?u=31186&dateline=1189811145" />
dougeetx
09-15-2007, 04:44 PM
Database error in vBulletin 3.6.8:
Invalid SQL:
SET NAMES 'utf8';
MySQL Error : Unknown system variable 'NAMES'
Error Number : 1193
Can anyone shed some light on this error?
Ronseal
09-16-2007, 09:08 AM
Oops. I didn't take into consideration how the browser would render my post. See the above quote that I changed -- right now the code is linked to a text file, cause I'm not sure how to post it here and have it render properly.
Hi GeekDrew, Can you take a screen shot of your 'vbgooglemapme_cron.php' code fix and upload this image as an attachment? Your suggestion promises the nearest thing to a fix I've read so far, so I'd like to follow your suggestion. I assume your map is still working correctly?
Thanks again.
Ronseal
Ronseal
09-16-2007, 09:47 AM
This Mod is really getting me down now..... there's so much potential but it simply doesn't work for me! :mad:
I have over 45 members listed in the 'googlemapme' table within the database but only 35 are showing on my map, thus the Mod is turned off on my site. For anybody thinking of paying StonyArc 30 EUR for a branded free version of this software please don't as VBGoogleMap appears to be a broken Mod for which StonyArc provides zero support to fix it.
S@NL - BlackBik
09-16-2007, 10:38 AM
Hi guys,
About the markers. Had the same problem, they didn't show.
They all came back after I went to the admin panel and designated other marker colors to the usergroups in "ME Usergroup marker" in the admin panel. After running the googlemap cron, all markers showed again. :)
Hope this will help.
GeekDrew
09-16-2007, 11:53 PM
Hi GeekDrew, Can you take a screen shot of your 'vbgooglemapme_cron.php' code fix and upload this image as an attachment? Your suggestion promises the nearest thing to a fix I've read so far, so I'd like to follow your suggestion. I assume your map is still working correctly?
Thanks again.
Ronseal
Yes, my map is working correctly. I don't have the files with me at the moment -- just follow the original instructions that I posted -- I made the changes to my original post, and the linked code will display properly, so you can cut and paste it.
Ronseal
09-17-2007, 08:04 AM
Thanks GeekDrew, but I've made the above changes but still no luck.
Just noticed another thing, when I run the 'markers.xml' file it doesn't show all the entry's I have listed in the database which I would have expected after a cron job, any ideas?
Also currently my map shows about 35 markers, even though I have about 45 in the database, however if I reinstate the $footer reference at the bottom of the 'googlemapme' template I only than have about 15 markers showing on my map.
Thanks for being patient with me everyone! :confused:
S@NL - BlackBik, thanks for the suggestion but that didn't work either I'm sorry to say.
Doctor Death
09-17-2007, 10:05 AM
Hi guys,
About the markers. Had the same problem, they didn't show.
They all came back after I went to the admin panel and designated other marker colors to the usergroups in "ME Usergroup marker" in the admin panel. After running the googlemap cron, all markers showed again. :)
Hope this will help.
Did this and still no luck. Thanks for the suggestion tho.
bikers
09-19-2007, 07:05 PM
Did this and still no luck. Thanks for the suggestion tho.
This post fixes the problem.
https://vborg.vbsupport.ru/showpost.php?p=1338040&postcount=500
Reinhart
09-19-2007, 07:15 PM
Figured out the broken pins thing.
Its whenever someone puts an image in for their marker.
Just disable this feature by editing the templates and deleting the ability to even enter one.
Mines up and running at http://www.wiipals.net/Forum/vbgooglemapme.php
Still have no answer for the "Wont zoom in when I click: Find Me" thing.
about 25 people have reported it.
but yeah.. to solve this just delete the ability to put in a pic.
Thats why its working for a while and then suddenly breaks.
Reinhart
Admin
http://www.wiipals.net
Ronseal
09-19-2007, 08:25 PM
So how do I remove the ability to add images Reinhart?
You said I had to edit a template.... sounds good, but which one and how?
Many thanks. :up:
Reinhart
09-19-2007, 08:41 PM
So how do I remove the ability to add images Reinhart?
You said I had to edit a template.... sounds good, but which one and how?
Many thanks. :up:
Youre going to want to edit:
vbgooglemapme_set_yourlocation
and
vbgooglemapme_display_yourlocation
FIm no PHP expert so I just thumbed around looking for something with the words "Image" in it..
I think its 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>
</tr>
Which is that box that lets them type in what image they want.
Deleted it on both those templates and now.. no more problems.
Someone want to confirm that thats the right string to delete?..
It was a while back for me.
Ronseal
09-20-2007, 10:51 AM
Reinhart, Thanks for your speedy assistance!
So I've complated the changes you've suggested and whilst doing so I've discovered an error that's been my fault!
Whilst making your template changes I decided to delete all the members images directly in the database to give everybody a clean sheet before running the Cron job.... whilst doing so I realised that I must have changed the 'Auto approve' setting to 'No'..... what a mistake! So any entry's after that point didn't appear.
So after aproving the 'unapproved' members and running the cron job all my members now appear. So...... I'll let it run as it is for a while and make sure everything works with the except of the member image option, then maybe I'll return the 'vbgooglemapme_set_yourlocation' and 'vbgooglemapme_display_yourlocation' templates to their orginals and see if GeekDrew's code changes handle the image code correctly... if they do then the Map would be perfect!
Thanks all for the help, it's good to talk and I couldn't have done it without you! :D
towermatt
09-20-2007, 01:25 PM
I'm glad you finally got it going Ronseal.
Betablocker
09-20-2007, 10:30 PM
Figured out the broken pins thing.
Its whenever someone puts an image in for their marker.
Just disable this feature by editing the templates and deleting the ability to even enter one.
Mines up and running at http://www.wiipals.net/Forum/vbgooglemapme.php
Still have no answer for the "Wont zoom in when I click: Find Me" thing.
about 25 people have reported it.
but yeah.. to solve this just delete the ability to put in a pic.
Thats why its working for a while and then suddenly breaks.
Reinhart
Admin
http://www.wiipals.net
Good man :up:
Thats been straining my small brain :D
Betablocker
09-20-2007, 10:32 PM
Figured out the broken pins thing.
Its whenever someone puts an image in for their marker.
Just disable this feature by editing the templates and deleting the ability to even enter one.
Mines up and running at http://www.wiipals.net/Forum/vbgooglemapme.php
Still have no answer for the "Wont zoom in when I click: Find Me" thing.
about 25 people have reported it.
but yeah.. to solve this just delete the ability to put in a pic.
Thats why its working for a while and then suddenly breaks.
Reinhart
Admin
http://www.wiipals.net
Good man :up:
Thats been straining my small brain :D
Hopefully Stonyarc can make a fix for it soon.
unitedpunjab
09-22-2007, 06:51 AM
I have just installed Googlemap ME on my 3.6.8 forum. But when ever i try to open the url http://www.unp.co.in/vbgooglemapme.php it says that API key is invalid and the key you have registered is already registered for other website. I registered key for http://www.unp.co.in and entered in ACP but same thing happened. Then i tried registering key for every possible link of my domain. But Google is still tellin me that the key is registered is for some one else.
Don't kwn wat it's all about ?
unitedpunjab
09-22-2007, 06:52 AM
There is one thing more when i use same key thru a simple HTML page by adding HTML code provided by google Map load successfully without any error. But when i use same key thru VB it just don't take that key.
Julrou
09-22-2007, 11:43 AM
Hey men !
I still have my problem : markers don't appear !
It would be really great if someone with a minimum of interest could take care of this, please.
Doctor Death
09-22-2007, 02:52 PM
Sure enough, I edited the Markers.xml file and deleted all "pimage" entries and it works again. Nice find whomever did that.
unitedpunjab
09-23-2007, 04:50 AM
Still no reply and no support.. !!! :(
johnrizz
09-23-2007, 01:59 PM
Youre going to want to edit:
vbgooglemapme_set_yourlocation
and
vbgooglemapme_display_yourlocation
FIm no PHP expert so I just thumbed around looking for something with the words "Image" in it..
I think its 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>
</tr>
Which is that box that lets them type in what image they want.
Deleted it on both those templates and now.. no more problems.
Someone want to confirm that thats the right string to delete?..
It was a while back for me.
That work like a charm! thanks!
Derekclarke
09-24-2007, 06:26 PM
seems it takes a few hours for the map to appear...
fulviods
09-25-2007, 08:27 AM
HI!
I used frappr.coom where many members are on my map. I noticed that the frappr map is made with google technology. I would prefer using your plugin and directly googlemap, do you think its possible to move my frappr map to google map or do i have to ask to all the members to place their marker again? Thanks
Derekclarke
09-25-2007, 11:12 AM
The map is their, we have had a fair few members add their details, and we can zoom in on them from the list users page..... but the map does not have any Marker!
what do i need to do to get the markers to appear?
towermatt
09-25-2007, 04:07 PM
Couple of things--make sure you have approval set to automatic for the markers.
Also, you can run your markers.xml file and see if there are any broken ones, should show up in red
unitedpunjab
09-25-2007, 04:24 PM
can any body help me out
https://vborg.vbsupport.ru/showpost.php?p=1344411&postcount=529
sr972
09-26-2007, 01:57 PM
daaaaaaaaaaaang
after reading nearly 33 pages on this thread, the marker.xml has done it!
Should probably be said by coder in main post or in PDF file!
Derekclarke
09-27-2007, 11:06 AM
Couple of things--make sure you have approval set to automatic for the markers.
Also, you can run your markers.xml file and see if there are any broken ones, should show up in red
If i view my entry, and zoom in, their is a Marker over my entry.... but their are no markers when i view the main map.
their is an issue showing in the XML.....how do i fix this?
XML Parsing Error: not well-formed
Location: http://www.southwestscoobies.org.uk/markers.xml
Line Number 6, Column 40:<marker mapid="3" title_map="Scooby2 & Orbs Residence" lng="-2.1921265125275" lat="51.43396243879" userid="624" username="Scooby2" text_map="Our House" type="red" pimage="http://www.southwestscoobies.org.uk/images/googlemapme/noimage.png" />
---------------------------------------^
towermatt
09-27-2007, 12:59 PM
Sweet, it brought an error.
It just means one of your members has a bad image link. Edit the entry for that user (Scooby2) and remove it.
Should fix the problem.
ERuiz
09-27-2007, 07:13 PM
After much frustration trying to figure out why my markers had stopeed showing up, I finally found the culprit: Highslide Attachment Integration Mod
If I disable this mod, then my markers reappear and everything starts working fine.
Ronseal
09-27-2007, 07:54 PM
Here's another error with this Mod!
I've disabled the '$pimage' ability in this mod as has been advised in this thread and found that my map is working fine, however I've just discovered another error! If somebody enters a '&' character within their title, or 'title_map' as it appears in the markers.xml, this will also stop the markers from showing..... anybody know how to add a fix for this?
leftie
09-28-2007, 06:05 PM
My site runs from a .org, .net and the host url. How can i get them all running from the same keyor how can i add three keys.
schnulli
09-29-2007, 09:49 AM
Here's another error with this Mod!
I've disabled the '$pimage' ability in this mod as has been advised in this thread and found that my map is working fine, however I've just discovered another error! If somebody enters a '&' character within their title, or 'title_map' as it appears in the markers.xml, this will also stop the markers from showing..... anybody know how to add a fix for this?
I think you are right, i have the same problem
chariotdriver
10-04-2007, 10:54 AM
I'm having a similiar problem with markers not showing up.
I can see the individual markers for that member only in the "List Users" and then the edit link for that member.
I cannot see anyone in the main map area at all.
Any ideas as where to start looking for this?
Thanks,
Phil
towermatt
10-04-2007, 12:59 PM
have you browsed out to your markers.xml file and seen if any of the images are broken?
They should show up red.
biglips31
10-04-2007, 06:33 PM
Hello,
The only way I can simulate that problem is if I put the markers.xml file in read only
Please check if the file is set to 777 by using chmod.
Thanks
Do you remove the old cron tast above or leave it??
unitedpunjab
10-05-2007, 01:09 PM
Don't Install This MOD. No support from Coder. :(
mhc1576
10-08-2007, 06:02 PM
There is nothing wrong with this mod. I have both upgraded and new installed and it worked with no problem.
Julrou
10-08-2007, 06:38 PM
There is nothing wrong with this mod. I have both upgraded and new installed and it worked with no problem.
There's a problem.
If you don't know, you don't speak. :)
And this problem is soooo long to be solved.....
mhc1576
10-08-2007, 08:33 PM
Well Julrou,
Have you copied the images to your styles eg. /images/googlemapme/*. *must exist also in /style/googlemapme/*. *
You also have to edit ALL Usergroup marker and save them with a color if that should not be the case.
If you want your error solved you have to provide more info since your problem is not this mod but something in you setup.
I also remember when I first used this an did the translation I missed some phrase and had problems with the map displaying.
Start with english and default style, does it work?
Elenna
10-10-2007, 02:10 AM
After much frustration trying to figure out why my markers had stopeed showing up, I finally found the culprit: Highslide Attachment Integration Mod
If I disable this mod, then my markers reappear and everything starts working fine.
Were you able to find a workaround for this? :( I have Highslide installed as well, and no more markers for me.
snakes1100
10-10-2007, 08:28 PM
I'm having a similiar problem with markers not showing up.
I can see the individual markers for that member only in the "List Users" and then the edit link for that member.
I cannot see anyone in the main map area at all.
Any ideas as where to start looking for this?
Thanks,
Phil
Phil
I just got lucky on this, but your issue is resolved and im posting this for others that may have issues with markers not showing up correctly.
The issue was a user that put a & in his "marker text" field, this appears to be a issue that the coder will need to work out in the xml file results.
Im guessing there is a char issue in the translation to the marker file.
chariotdriver
10-12-2007, 03:17 AM
Ahh,,..
Great,
I just was copying the info that you created and was going to send it to you, then realized who Snakes was,..
Great will check it out.
shepherdblake
10-14-2007, 05:11 AM
Is there a way for a user to upload multiple entries on the map?
I have a 4x4 forum and would like for my users to be able to save multiple trail locations.
Mod looks great and was EASY to install.
Mrdby
10-18-2007, 03:09 AM
worth having?
shepherdblake
10-18-2007, 04:10 AM
worth having?
without having the ability to upload multiple waypoints, not really. It's VERY cool and works great with minimal effort though. :up:
Serenity
10-19-2007, 11:59 PM
I was wondering how I could go about having 2 different maps. I would like to use 1 for member location and 1 for store locations. Is it possible?
TIA!
nice feature btw
Serenity
10-22-2007, 12:37 AM
ok.... so i've been reading and reading on this darn map and how to get the marker to show up. I have checked and rechecked all the settings and still, no marker.
when i first installed this, the marker appeared, but since then, i get nothing.........
also, is it possible to let the admin or a staff member be able to add more than 1 marker???
any help is appreciated
Elenna
10-22-2007, 01:20 AM
Serenity, do you have the Highslide Image modification installed as well?
Serenity
10-22-2007, 01:32 AM
Hi Elenna,
no, i didn't even know what that was at first so i had to search it.
anyway,
what i have installed is the map, MGC chatbox, and vbadvanced.
dirtycrow
10-22-2007, 07:51 PM
all my markers disappeared. any ideas?
hatschipratschi
10-22-2007, 09:55 PM
Hi
I installed the Hack but i dont find the Scheduled task
3.8.STEP 8
Set up the maintenance CRON / Scheduled task
On the left menu in the admincp you?ll find ?Scheduled tasks?
Just add the following
I dont understand this, where is it???
Thanks
aquariumpros
10-22-2007, 11:38 PM
all my markers disappeared. any ideas?
Do a search through this thread about members using special characters (like % $) used in their marker text. This was the issue with many people losing markers.
Hi
I installed the Hack but i dont find the Scheduled task
3.8.STEP 8
Set up the maintenance CRON / Scheduled task
On the left menu in the admincp you?ll find ?Scheduled tasks?
Just add the following
I dont understand this, where is it???
Thanks
AdminCP - left side navigation bar @ the bottom is:
Scheduled Tasks - expand that; you'll see:
Add new scheduled task
Click that; and enter in the information as stated.
~ Aloha ~
unitedpunjab
10-23-2007, 05:22 AM
Mine never worked... :(
hatschipratschi
10-23-2007, 07:57 PM
@ aquariumpros
Thanks!!!
:):):)
pbrown
10-24-2007, 03:45 PM
all my markers disappeared. any ideas?
All of mine disappeared too. It was working great before.
I looked through the entries looking for odd characters and found none.
EI7 reports this error - Error: 'documentElement' is null or not an object
perfphysio
10-24-2007, 04:01 PM
ok.... so i've been reading and reading on this darn map and how to get the marker to show up. I have checked and rechecked all the settings and still, no marker.
when i first installed this, the marker appeared, but since then, i get nothing.........
also, is it possible to let the admin or a staff member be able to add more than 1 marker???
any help is appreciatedThis had happened to me and I finally found it was from a rowkn link from one user whose marker wasn't working correctly. If one listing is broken in the xml then the markers will not show.
You can look to see if any are broken by running: http://www.yoursite.com/forum/markers.xml replacing 'yoursite' with your site. Look for any broken references which for memory getmarked red. The go in to the user list and delete that user. Once i have odne this all my markers reappeared.
Hope this helps :)
pbrown
10-24-2007, 04:29 PM
I was able to fix mine. I opened up the markers.xml file is a test editor and searched for the '&' character. I found it in the pimage field for one of my users.
I then went back to cpadmin and deleted the entry. I was not able to edit the entry in cpadmin. I was able to delete the text from the pimage field and save but this didn't solve the problem. The text was still in the markers.xml file.
I really like this plugin but it does seem a little half baked.
Kahuna900
10-24-2007, 09:42 PM
I was able to fix mine. I opened up the markers.xml file is a test editor and searched for the '&' character. I found it in the pimage field for one of my users.Thanks bro, that fixed the problem on my site. I never thought about that. Probably needs a little better form checking. Also, I don't know why it's required to input the additional text. I have to remove that restriction everything I update the plugin.
Also, I was able to download the zip file on another machine. Must have been my computer that corrupted the file. (
caliman
10-27-2007, 11:46 PM
I accidentally overwrote my markers.xml when I upgraded just now.
Is there a way to generate another one from the DB somehow?
EDIT - I tried to create a new one via editing the settings in admincp - this did not work.
EDIT2 - When I tried to update my PIN, I got a DB error:
Database error in vBulletin 3.6.8:
Invalid SQL:
SET NAMES 'utf8';
MySQL Error : Unknown system variable 'NAMES'
Ambassador
10-28-2007, 12:02 PM
I accidentally overwrote my markers.xml when I upgraded just now.
Is there a way to generate another one from the DB somehow?
EDIT - I tried to create a new one via editing the settings in admincp - this did not work.
EDIT2 - When I tried to update my PIN, I got a DB error:
Database error in vBulletin 3.6.8:
Invalid SQL:
SET NAMES 'utf8';
MySQL Error : Unknown system variable 'NAMES'
change this line in /includes/functions_vbgooglemapme.php
// $db->query_first("SET NAMES 'utf8'");
and in /includes/cron/vbgooglemapme_cron.php
// $vbulletin->db->query_first("SET NAMES 'utf8'");
Mrdby
10-28-2007, 01:21 PM
someone fix this hack.
caliman
10-29-2007, 04:11 AM
change this line in /includes/functions_vbgooglemapme.php
// $db->query_first("SET NAMES 'utf8'");
and in /includes/cron/vbgooglemapme_cron.php
// $vbulletin->db->query_first("SET NAMES 'utf8'");
Mine looks just like that. What do I change it too?
Ambassador
10-29-2007, 08:55 PM
Mine looks just like that. What do I change it too?
change
$db->query_first("SET NAMES 'utf8'");
to
$db->query_first("SET NAMES 'utf8'");
or remove this two line
change in /includes/cron/vbgooglemapme_cron.php
$text_file = "<"."?"."xml version=\"1.0\" encoding=\"UTF-8\"". "?"."><markers>\n";
to
$text_file = "<"."?"."xml version=\"1.0\" encoding=\"ISO-8859-1\"". "?"."><markers>\n";
this work
rotor
10-30-2007, 09:07 PM
I'd like a custom map made for my site ......
Stonyarc if you could either email or PM me I'd be very appreciative ....
rotor
darkakira
11-01-2007, 04:43 PM
Ok. I keep reading and reading, and there is nothing I have seen yet to answer me, so I'm posting.
Heres the Deal.
I install the mod. I set permissions to marker.xml, i check the files, I generated my google API key for my domain, set the API number in settings, added cron job.
Heres the issue. NO MAP! Nothing. Like... white space when I browse to the page. I don't know why, but it is irritating. I am running vb 3.6.8. Any help would be nice.
There seems to be some problem pulling the settings into the template, im having the same problem as you.
Ok, on line 64 of vbgooglemapme.php, comment the line out.
$vbulletin->vbgooglemapme = unserialize($vbulletin->vbgooglemapme);
For some reason you dont need to unserialise the data. Dunt know why, im not good in vb but seems its not needed.
darkdiver
11-03-2007, 08:02 AM
Hello folks,
now we are more and more users to have BIG PROBLEMS with Highslide and Googlemaps. So is there no help for us ?
Regards
Eric
birdie
11-03-2007, 09:49 PM
We have installed it - working perfectly!
One thing I would like to change and can not see how to do it. In the general settings, I have set the default zoom of map to 1. I have set the Default zoom of the maps when using a link to show the marker to 6. When you click 'Show on map' from the list of users who have added a marker, the zoom of the map does go to 6 (great).
I have encouraged users to use the BB code that is generated to add 'My Location' to their signatures. When you click on the 'My Location' link in user signatures, it goes to the map with a zoom of 1 (not great) and you can not see which marker it was. I would like it to go to the default zoom of 6.
Any ideas on how to change it to a 6 when they click on 'My Location'.
BTW - this is an awesome mod --- the few users that have set markers are enjoying it and it makes them engage more with the site and helps build the sense of 'community'.
Added:
I can do it manually, by getting the user to change the 1 to a 6 in the BB code they paste into their signature (I can also do it via user profile in AdminCP).
caliman
11-04-2007, 01:21 AM
change
$db->query_first("SET NAMES 'utf8'");
to
$db->query_first("SET NAMES 'utf8'");
or remove this two line
change in /includes/cron/vbgooglemapme_cron.php
$text_file = "<"."?"."xml version=\"1.0\" encoding=\"UTF-8\"". "?"."><markers>\n";
to
$text_file = "<"."?"."xml version=\"1.0\" encoding=\"ISO-8859-1\"". "?"."><markers>\n";
this work
Thanks buddy!
Mrdby
11-04-2007, 01:36 AM
i want to add it to my navi..how would I do that?
yoyoyoyo
11-04-2007, 01:59 AM
I am about ready to give up on this hack. I like the idea, but it is just too problematic and buggy. Can someone please post an updated product and files here for the benefit of everyone who can't get it working?
caliman
11-04-2007, 03:01 AM
Add a link to your navbar template.
edward hamilton
11-05-2007, 12:05 AM
I have installed this hack numerous times and have experienced many of the problems reported in previous posts.
I have had better luck by deleting references to utf8 in both
/includes/cron/vbgooglemapme_cron.php and /includes/functions_vbgooglemapme.php
The problem of missing markers appears to be related to the markers.xml file make sure the <markers> and </markers> tags are in tact.
Good Luck
Ed
http://ministryofrum.com
TotlKaos
11-05-2007, 12:06 AM
Is there anyway to cache the information or speed up the display?
I have 3000+ users mapped and it takes a bit of time to draw all the
Pins. Just wondering!.. Great mod!!!
Russ
caliman
11-05-2007, 12:19 AM
That would be nice Russ. Don't know.
Since this mod is not being developed anymore for a while now, does anyone else worry about XSS exploits that may exist with it?
My board was hacked recently thanks to an old flashchat so I am a wee bit paranoid lately.
TotlKaos
11-07-2007, 09:53 AM
I see were Google added a new Marker Manager Control!
This will allow you to reduce the markers as needed with zoom levels.
i.e. only do 10 markers at zoom level 3
do 100 markers at zoom level 6
and 1000 markers at zoom level 8
Here is the code:
function setupMap() {
if (GBrowserIsCompatible()) {
map = new GMap2(document.getElementById("map"));
map.addControl(new GLargeMapControl());
map.setCenter(new GLatLng(41, -98), 4);
window.setTimeout(setupWeatherMarkers, 0);
}
}
function getWeatherMarkers(n) {
var batch = [];
for (var i = 0; i < n; ++i) {
batch.push(new GMarker(getRandomPoint(),
{ icon: getWeatherIcon() }));
}
return batch;
}
function setupWeatherMarkers() {
mgr = new GMarkerManager(map);
mgr.addMarkers(getWeatherMarkers(20), 3);
mgr.addMarkers(getWeatherMarkers(200), 6);
mgr.addMarkers(getWeatherMarkers(1000), 8);
mgr.refresh();
}
If anyone has suggestions.. or if Stonyarc could let me know were to start on maybe putting this into the code. This would speed up the Display Maps for Large Sites!
Still a great mod!!!: eek:
Russ
yoyoyoyo
11-07-2007, 11:01 AM
uninstalled - too buggy, no support - not worth the hassle
incisor
11-08-2007, 02:57 AM
x2 i have to say
Riccardo83
11-08-2007, 04:07 AM
my pins are dissappearing, then the other day u see them.. whats the problem?
Riccardo83
11-08-2007, 04:41 AM
fixed it by viewing markers.xml in browser and saw the user who had a "&" in his image.
Edited USer and markers show up now.
IS THERE ANY FINAL FIX THAT REALLY WORKS?
MojoNixon
11-08-2007, 08:09 AM
*hits uninstall*
Julrou
11-08-2007, 08:12 AM
Same.
I really love this hack, but i'd really love it work correctly.
svenTThomsen
11-10-2007, 02:16 PM
Same Problem :(
Using vB 3.6.4 the Installation works without Problems but after Installing the URL /vbgooglemapme.php only shows an empty page without anything :/
I created an account for the API and got my API code.
I already set the permissons for the markers.php
All Usergroups have their defined color
But it doesn't work anyway.
Neither IE nor Firefox are telling me faults.... There's just an empty page *damned*
Any idea what's wrong?
THX
Sven
TotlKaos
11-10-2007, 08:04 PM
Did you check to make sure the proper usergroups have permissions?
You also have to set that up.. I think they are all denied by default..
Russ
svenTThomsen
11-11-2007, 05:08 AM
Did you check to make sure the proper usergroups have permissions?
You also have to set that up.. I think they are all denied by default..
Russ
Thank's for answering!
Yes, all Usergroups have their defined permisson.
Last night I installed the Mod again, but the result was the same :(
The files markers.php and vbgooglemapme.php are emty. That's the reason why the page is quit white, but i don't know why the files were not filled in.
Is it possible, that the cronjob doesn't work?
If I start the Cronjob manually, there's even no fault in the adminpanel.
Sven
TotlKaos
11-11-2007, 11:25 AM
the markers file should be marker.xml in the root of the site.
Also make sure you change it to world writeable.. chmod 777
so that it can write to the file. vbgooglemapme.php should not be empty
that does not get changed at all during the cron..
Russ
zetetic
11-11-2007, 04:47 PM
Can you try to test the query on a test database 'SET NAMES 'utf8';' in phpmyadmin.
Normally it should run fine. Otherwise please also check with your provider why running this isn't allowed.
What version are you running of Mysql.
I have this same problem. I can't execute SET NAMES 'utf8'; even manually in phpMyAdmin. I am using mySQL version 4.1.22.
ETA: Oops, client version is 4.1.22, but server version is 4.0.27-standard. I'll try upgrading to 4.1.x or 5.0.x and see what happens.
ETA2: Yup, upgrading MySQL Server to 4.1.22-standard fixed the problem.
yoyoyoyo
11-11-2007, 05:32 PM
why are you guys struggling to get this mod working? it is buggy, and is not worth the effort in it's present state - give it up
zetetic
11-11-2007, 05:42 PM
It seems to be working fine for me now, but I'll report back if I have any issues going forward.
svenTThomsen
11-12-2007, 04:17 AM
the markers file should be marker.xml in the root of the site.
Also make sure you change it to world writeable.. chmod 777
so that it can write to the file. vbgooglemapme.php should not be empty
that does not get changed at all during the cron..
Russ
Thank you for your Tip with the vbgooglemapme.php!
While copying, the ftp-programm creates an emtpty file! I don't know why but I copied the file again via ssh connection an now the file iss filled an the Mod works!!
Thanks fpr helping!!!
Great Mod :up:
ex0thermic
11-13-2007, 01:37 AM
Sorry if this has been answered before, but I've looked high and low in this thread for an answer and can't seem to find it.
I installed this mod without problems, and have had several people post their markers on it just fine. I noticed, however, that even though I changed the usergroup status of a few members, the color change wasn't reflected on their map icon. Looking into the vbulletin control panel, I found that (to the best of my knowledge) this because the cron script hasn't been running properly. I set it up just as the instructional .pdf explained, but when I attempt to run the script, I get this:
birdie
11-13-2007, 05:48 AM
why are you guys struggling to get this mod working? it is buggy, and is not worth the effort in it's present state - give it upI installed it and it works fine. No problems at all.
rknight111
11-13-2007, 04:43 PM
It was working completly fine for me as well and all the 13 files are in there and you can click on them and it shows there location no problem, But now as of this morning nothing shows on the main map no markers at all. All the data is there. It must of just did this on the unlucky # 13.. Any idea's
The site is http://www.snowandmud.com/forum/vbgooglemapme.php
Betablocker
11-13-2007, 05:51 PM
It was working completly fine for me as well and all the 13 files are in there and you can click on them and it shows there location no problem, But now as of this morning nothing shows on the main map no markers at all. All the data is there. It must of just did this on the unlucky # 13.. Any idea's
The site is http://www.snowandmud.com/forum/vbgooglemapme.php
Make sure that no one has linked to a picture when they have added themselves to the map.
rknight111
11-13-2007, 06:00 PM
Make sure that no one has linked to a picture when they have added themselves to the map.
Im not totally sure what you mean, but the first person I pulled up had a link to somthing in googlemap and I removed it and it worked.
So you have to add yourself then go back and add a picture later?
Confused?
RON
Betablocker
11-13-2007, 06:07 PM
Im not totally sure what you mean, but the first person I pulled up had a link to somthing in googlemap and I removed it and it worked.
So you have to add yourself then go back and add a picture later?
Confused?
RON
You can add a image or avatar to your Pin............but if anyone does then the makers wont show up on the map.
It is a Bug that needs fixing but sadly the author StonyArc (http://www.stonyarc.com/) does not seem to come round here anymore :confused:
But i really wish he did, and heres hoping he will or someone will fix it for us :up:
Betablocker
11-13-2007, 06:14 PM
Im not totally sure what you mean, but the first person I pulled up had a link to somthing in googlemap and I removed it and it worked.
So you have to add yourself then go back and add a picture later?
Confused?
RON
But i see some of your pins have Pictures on them and they still show :eek:
So not quite sure what to think now :confused:
towermatt
11-13-2007, 06:20 PM
Its not actually a bug, you can attach images to the entires. The only problem is every now and then someone posts a pathway to an image that the modification doesn't like.
When you remove it, the rest are fine.
Mine works great too
rknight111
11-13-2007, 06:22 PM
Hmm, thats weird. Mabie it would be better to turn the image part off somehow to prevent this, Any Ideas?
ex0thermic
11-14-2007, 07:05 AM
Has anyone else has problems with running the cron?
Peter85
11-14-2007, 12:31 PM
Has anyone else has problems with running the cron?
I had some issues with it as well. I also changed the colour of those markers but they never actually changed on the map itself.
My problem, however, magically cured itself somehow...
Are you sure that the vbgooglemapme_cron.php file really is in that directory? If not, upload it. You can find it in the zip file containing the mod.
yoyoyoyo: Please stop telling everyone its not working when in fact it is. Yes, it DO got some bugs in it, but nothing that cant be ironed out quite easily.
ex0thermic
11-14-2007, 10:49 PM
Hmm...I reuploaded everything again, and now it works. Thanks!
golfum
11-15-2007, 02:23 PM
I am trying to get my pins to show up and it is driving me nuts. I have read about 100 of these post to find the answer.
I am running the map.
http://www.golfum.com/forums/vbgooglemapme.php
but non of my pins are showinp up.
If look at:
http://www.golfum.com/forums/markers.xml
then i get:
<markers />
any help would be great!
golfum
11-15-2007, 05:57 PM
here is a problem i am having. when i try to put in my own point it get this.
Database error in vBulletin 3.6.8:
Invalid SQL:
SET NAMES 'utf8';
MySQL Error : Unknown system variable 'NAMES'
Error Number : 1193
Date : Thursday, November 15th 2007 @ 11:45:12 AM
Script : http://golfum.com/forums/vbgooglemapme.php
Referrer : http://golfum.com/forums/vbgooglemapme.php?do=addelement
IP Address : 24.96.38.247
Username : Golfum
Classname : vB_Database
zetetic
11-15-2007, 06:03 PM
golfum, your SQL Server has to be at least v4.1.22
ricker
11-20-2007, 03:29 PM
Hmm, thats weird. Mabie it would be better to turn the image part off somehow to prevent this, Any Ideas?
Agreed, I'm having this trouble as well.
4bidden
11-27-2007, 04:48 AM
I killed the image tab all together and fixed the display issue that had to do with the small overview map.
See working version here - http://www.arizonaquads.com/forum/vbgooglemapme.php
For now, if you don't have any image problems (invalid chars such as &) but still your map is broken, try this.
In vbgooglemapme.php, find this on line 107
$smallmapcontrol = "
map.addControl(new GOverviewMapControl(new GSize(150,150)));
var overview = document.getElementById(\"memap_overview\");
document.getElementById(\"memap\").appendChild(overview);";
and replace with this
$smallmapcontrol = "
map.addControl(new GOverviewMapControl(new GSize(150,150)));";
That kept the small overview map and fixed the display issue.
I'll post back tomorrow how to remove all the info about images if people want.
darkdiver
11-27-2007, 02:32 PM
hello,
all is working verywell and now today they are no PINS.. The Marker is is there and the rights are the same like the last days and weeks.
What can be the reason for such problem. I have made no change on the Server or Software sinve weeks.
it seems, the map dont start loading the PINS, the list of user with all information ist also there.
the link is
http://www.touareg-freunde.de/forum/vbgooglemapme.php
Team140
11-27-2007, 05:46 PM
Like Darkdiver, my vbgooglemapME has been working just fine for several months and then out of the blue yesterday it stopped working. I thought it may have been somethng with the computer I was using, but several users have confirmed it's the site and not a PC configuration thing.
The error I get (down at the bottom left in IE) is:
Line: 537
Char: 3
Error: Invalid Pointer
Code: 0
URL: http://www.v8rx7forum.com/vbgooglemapme.php
Anyone have any ideas?
4bidden
11-27-2007, 08:20 PM
Like Darkdiver, my vbgooglemapME has been working just fine for several months and then out of the blue yesterday it stopped working. I thought it may have been somethng with the computer I was using, but several users have confirmed it's the site and not a PC configuration thing.
The error I get (down at the bottom left in IE) is:
Line: 537
Char: 3
Error: Invalid Pointer
Code: 0
URL: http://www.v8rx7forum.com/vbgooglemapme.php
Anyone have any ideas?
Did you try what I said above? You are getting the same error that I posted a fix for.
darkdiver
11-28-2007, 06:03 AM
I killed the image tab all together and fixed the display issue that had to do with the small overview map.
See working version here - http://www.arizonaquads.com/forum/vbgooglemapme.php
For now, if you don't have any image problems (invalid chars such as &) but still your map is broken, try this.
In vbgooglemapme.php, find this on line 107
$smallmapcontrol = "
map.addControl(new GOverviewMapControl(new GSize(150,150)));
var overview = document.getElementById(\"memap_overview\");
document.getElementById(\"memap\").appendChild(overview);";
and replace with this
$smallmapcontrol = "
map.addControl(new GOverviewMapControl(new GSize(150,150)));";
That kept the small overview map and fixed the display issue.
I'll post back tomorrow how to remove all the info about images if people want.
OK Thanxs, no my ap is back, but still have the problem with some pins. I think i still have that problem with the image.
is there some help so remove the image tag once for all or ignore in the code?
Regards
Eric
Andreas
11-28-2007, 07:23 AM
This modification executes a query for every post being displayed.
That means: If you are viewing a thread with 40 posts per page => 40 additional queries executed.
This should be fixed ASAP.
I also suggest to use the available template hooks instead of instructing users to change templates manually.
Ronseal
11-28-2007, 10:42 AM
I'm back again. It's been working fine for a few months and now once again no pins. I've made the usual amendments such as; Removed ability for users to add an image, checked the Markers.xml brings up no errors and searched all database entry's for an '&' char........ but still no pins!
I've got over 200 pins in place but for the last fews days none have appeared :confused:
My Advise: DO NOT INSTALL THIS MOD!
TerryMason
11-28-2007, 03:43 PM
just go into Markers.xml and find the offending picture - it's pretty easy, then your pins will show.
No need to warn people not to install.
Ronseal
11-28-2007, 04:10 PM
just go into Markers.xml and find the offending picture - it's pretty easy, then your pins will show.
You appear to have not read my thread properly Terry....
...... checked the Markers.xml brings up no errors.....
I've been using this Mod for some months and have even paid the 30EUR for the pleasure of a Brand Free version. However I've never received a single line of support from the creator (Stonyarc) of this bug ridden Mod, hence my advice not to install it.
edward hamilton
11-29-2007, 05:03 PM
After installing this mod, making some minor changes, the pins appear sometimes? If I edit my location and then update the information, the pins appear, sometimes.
I'm not sure where to go from here. I've checked to see if there are any offending pimage entries in the googlemapme table in the db and have even deleted all the entries in that file to make sure, to no avail.
I have checked the markers.xml file for extraneous errors but it appear fine and since the problem appears to be random I am probably going to uninstall this mod.
bonnie
11-30-2007, 03:21 PM
Hello,
we have the same problem: all the pins are not viewing! At last week, we saw all pins :o(
This problem we have in vbgooglemapme and vbgooglemaphse.
greets
bonnie
bonnie
12-04-2007, 07:25 AM
Hello.
No ideas what's happen? No answers?
Regards
bonnie
PS: We have our problem dissolved! In the general setting for vbgooglemapme (admincp) we change
"Enable or disable the small map control (disable for better performance)" from 'YES' to 'NO'. Now we can see all members again! The same procedure in vbgooglemaphse.
is there some way to set 5 location per user ?
PondPikey
12-11-2007, 09:44 AM
I have uploaded all files, chmod markers.xml and when adding a new marker I get the following.
Hope someone can point me in the right direction!
Database error in vBulletin 3.6.2:
Invalid SQL:
SET NAMES 'utf8';
MySQL Error : Unknown system variable 'NAMES'
Error Number : 1193
Date : Tuesday, December 11th 2007 @ 06:42:34 AM
Peter85
12-14-2007, 10:05 AM
If Im not mistaken that means that youre using a too old MySql version.
PondPikey
12-14-2007, 12:01 PM
Thats what I thought. So I spoke to my host who confirmed its currently running SQL 4.1.22
So, as far as I know, this should work ok. I have installed, uninstalled. Im now at a loss. A real real shame. I loved this mod, shame I cant get it to work.
Ill have to click uninstall :(
Tikibird
12-15-2007, 09:28 PM
Hi, I am trying to install this and have a stumbling block. I have the pdf instructions up and I can't figure out this step.
#7 Adding the link to the navbar.
I copied the version for only registered users at the very bottom of the navbar template. The instructions don't specify WHERE in the template this bit should be added in so I put it at the very bottom after all the normal stuff.
I have never edited a template before and am a little nervous.
PondPikey
12-17-2007, 02:17 PM
I wouldnt bother. Most people have given up on this mod as there is precisely zero support, once you run into a problem your pretty much on your own.
Id Go with the google map API integration.
Ant!13
12-18-2007, 08:34 PM
PS: We have our problem dissolved! In the general setting for vbgooglemapme (admincp) we change
"Enable or disable the small map control (disable for better performance)" from 'YES' to 'NO'. Now we can see all members again! The same procedure in vbgooglemaphse.
Thank you!
DrKNickel
12-19-2007, 06:48 AM
Will it work with 3.7, too?
pedrovazquez10
12-21-2007, 05:01 AM
i want to manually add many locations in makers.xml to see in googlemaps is it possible? thank
pedrovazquez10
12-23-2007, 07:31 PM
can help me please thanks and happy holidays
curriertech
12-30-2007, 11:10 PM
I've disabled it for now...I sure hope StonyArc comes back, the people really seemed to like this mod on my forum. :(
steven s
01-07-2008, 12:57 AM
Will it work with 3.7, too?Doubt it. It doesn't work properly with 3.6.8 p2.
I pulled it off of one site because I got tired of getting error messages.
I need to pull it down from another site too.
It's a shame. It was a cool mod.
Ncturnal
01-07-2008, 02:54 AM
Works just fine for us in 3.6.8 p2. You have to disable the image functionality and delete any entries that input image info and is causing it to break.
karalicomputer
01-07-2008, 02:38 PM
my databese error!... :(
Database error in vBulletin 3.6.8:
Invalid SQL:
UPDATE usergroup SET
### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Lo?d Administ?ator',
`description` = '',
`usertitle` = 'Lo?d Administ?ator',
`opentag` = '<font color=\"#FF0000\"><b>',
`closetag` = '</b></font>',
`passwordexpires` = '180',
`passwordhistory` = '360',
`hhroptions` = '0',
`vbgmepermissions` = '1',
`forumpermissions` = '1048575',
`genericpermissions` = '1073741823',
`attachlimit` = '0',
`pmquota` = '65535',
`pmpermissions` = '7',
`pmsendmax` = '0',
`calendarpermissions` = '63',
`wolpermissions` = '31',
`adminpermissions` = '3',
`genericoptions` = '55',
`profilepicmaxwidth` = '175',
`profilepicmaxheight` = '190',
`profilepicmaxsize` = '100000',
`avatarmaxwidth` = '175',
`avatarmaxheight` = '190',
`avatarmaxsize` = '100000',
`signaturepermissions` = '245759',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '90000',
`sigmaxrawchars` = '65535',
`sigmaxchars` = '65535',
`sigmaxlines` = '65535',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '65535'
WHERE usergroupid=6;
MySQL Error : Unknown column 'hhroptions' in 'field list'
Error Number : 1054
Date : Monday, January 7th 2008 @ 06:38:02 PM
Script : http://localhost/vb1/admincp/usergroup.php?do=update
Referrer : http://localhost/vb1/admincp/usergroup.php?do=edit&usergroupid=6
IP Address : 127.0.0.1
Username : Administrator
Classname : vb_database
edward hamilton
01-07-2008, 02:49 PM
The only time I can see the markers on my site is after I click [Your Entry] and then update the information - with or without changing anything. My forum members liked this a lot but it is very problematic.
karalicomputer
01-07-2008, 02:56 PM
my no english. my tukissh. ok problem.
Sandy-XXX
01-17-2008, 12:44 PM
I have uploaded all files, chmod markers.xml and when adding a new marker I get the following.
Hope someone can point me in the right direction!
Database error in vBulletin 3.6.2:
Invalid SQL:
SET NAMES 'utf8';
MySQL Error : Unknown system variable 'NAMES'
Error Number : 1193
Date : Tuesday, December 11th 2007 @ 06:42:34 AM
Same problem :(
logofreax
01-18-2008, 11:00 AM
Hi, we have the Problem, that no Pin is shown in our Google Map :(
http://www.faq4mobiles.de/forum/vbgooglemapme.php
Can somebody tell us, how to fix this Problem?
cu
logofreax
towermatt
01-18-2008, 01:34 PM
Doesn't look like guests can see the map.
Search this thread for information on the "markers" file, you might be able to solve it that way.
logofreax
01-18-2008, 03:54 PM
Thanx for the tip.
I resolved our Problem.
At our markers.xml where some Hyperlinks set as the Image.
So I erased them and set it to
pimage="http://www.yourdomain.xx/forum/images/googlemapme/noimage.png" />
and now everthing is working.
Regards
logofreax
Lombardo
01-23-2008, 02:43 PM
can someone tell me how to do this please?
Set the file permissions on the marker.xml file to 777
RCWorld
01-23-2008, 05:22 PM
I need help with this as well-I recently approved a member and all of my previous markers went away!
towermatt
01-23-2008, 07:41 PM
Try that Markers file, its almost always the problem.
RCWorld
01-23-2008, 07:54 PM
I did-I deleted the whole image file and still no change
towermatt
01-23-2008, 09:23 PM
Deleted the whole image file? I'm not sure what you mean.
When you run markers.xml does it show any "red" entries?
RCWorld
01-23-2008, 09:34 PM
I meant that I deleted the ping image for the last user I approved. I also put him off line and markers are still gone. As far as markers .xlm and red entries I don't understand that procedure.
towermatt
01-24-2008, 03:07 PM
All you have to do is run the markers.xml.
Like...http://www.yoursite.com/forum/markers.xml <--that is an example, you'll have to use the path to the file on your server
Entries will show up red in there if the add on doesn't like them. Track the entry to one of your members and edit the image out. That should bring them back
stuartn
01-26-2008, 12:57 AM
okay,
I've installed and I'm now totally scratching my head, I have a couple of questions that may help me get this working. In essence the problem is that I can set my location and see the pin on the smaller map. But when I goto the main map it has no pin showing.
1. Permissions set in usergroups okay
2. Auto Approve done
3. Legend images showing fine so path is fine
4. Markers.xml is set to 777 and I've opened to confirm data being written
Now when you put your location into the map and the instructions don't clearely explain this but what is meant to goto in the URL of the image for the marker box ?
This is the only thing that I thing might be a fault. HOwever, I can't imaging it would be the path to the pin as this should be done by the ledgend.....any clues pls.
Its shows current markers correct and data is in the database.
http://www.rcheliaddict.co.uk/vbgooglemapme.php
A quick response would be great as I would rather fix than remove as it seems so close.
birdie
01-26-2008, 01:12 AM
Remove the image links
specifically, this: http://www.rcheliaddict.co.uk/images/googlemapme/mm_20_red.png
Ronseal
01-26-2008, 08:42 AM
We have our problem dissolved! In the general setting for vbgooglemapme (admincp) we change
"Enable or disable the small map control (disable for better performance)" from 'YES' to 'NO'. Now we can see all members again!
Thanks Bonnie, That's error number four now! My map used to work with the small mini map then all of a sudden stopped showing the markers. I checked the markers.xml to find no errors, then checked the other three errors I'm aware of and that flagged no errors...... but still no markers. Then I tried turning off my mini map and all 250 markers are back.
Thanks again Bonnie you're a star thanks for the info. :D
stuartn
01-26-2008, 12:11 PM
Remove the image links
specifically, this: http://www.rcheliaddict.co.uk/images/googlemapme/mm_20_red.png
Went to my entry and removed the url of image marker and ran the cron and still no pin. Checked the database and the pimage is empty now.
What is the purpose for this field.
stuartn
01-26-2008, 12:15 PM
also noticed that if I select to include the smaller map which I don't want anyway's it doesn't load any markers. Not important as I don't want it, but maybe a part of the reason why its not working fully.
birdie
01-26-2008, 01:18 PM
Went to my entry and removed the url of image marker and ran the cron and still no pin. Checked the database and the pimage is empty now.
What is the purpose for this field.
Images in that field stop the markers showing, thats why it needs to be left blank (I have instructions for my users to leave it blank, but occasionally someone fills it out and all markers disappear until I remove that field to be blank).
I can't see why it would not work
I just registered at your forum to try and add a marker for me, but could not access the map page as a registered member ... I can access it as a guest. Feel free to delete my account.
Glynn58
01-26-2008, 01:21 PM
mine is working perfect had me confused for a while as to why the markers were not showing but after going to the marker settings and editing the markers for the usergroups everything was working hunky dory :)
stuartn
01-26-2008, 05:41 PM
Images in that field stop the markers showing, thats why it needs to be left blank (I have instructions for my users to leave it blank, but occasionally someone fills it out and all markers disappear until I remove that field to be blank).
I can't see why it would not work
I just registered at your forum to try and add a marker for me, but could not access the map page as a registered member ... I can access it as a guest. Feel free to delete my account.
That's because I vet the first 3 posts then they become full members. Just made you a full member too try it out....I haven't given any links yet to the members till I get it sussed.
stuartn
01-26-2008, 05:44 PM
ah I do have Zoints but its dis-abled as I decided I hated it, but I wonder if chat or other mods maybe effecting it.
stuartn
01-26-2008, 05:45 PM
Then again for them to appear on the smaller map but not the main one I think that idea is shot out the window.
birdie
01-26-2008, 07:03 PM
That's because I vet the first 3 posts then they become full members. Just made you a full member too try it out....I haven't given any links yet to the members till I get it sussed.Could not add marker as I left image field blank:Your marker title could not be added into the database because one or more fields blank were left blank. Please make sure you have enter all required information.
Mine is working here (I have made a lot of edits to text):
http://www.podiatry-arena.com/podiatry-forum/vbgooglemapme.php
If you want to see the add marker -- log in with testuser and p/word: testuser (see member map in bottom nav bar)
I just checked my settings (attached) and the only difference I appear to have to you is the "small balloon text" which is not enabled on yours.
I hope you get this working as my member love it - helps create a better sense of community.
stuartn
01-29-2008, 03:19 PM
Mine matches yours and still no pins.
stuartn
01-29-2008, 03:37 PM
Right I've established that in other theme's the main map is working but in the default it isn't I suspect thier is a conflict somewhere. Any clues welcome.
stuartn
01-29-2008, 06:36 PM
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.
I am having the problem with no pins or balloon showing for members on the map. I have a clean install of vb 3.6.8 (latest version) and installed the most current version of this mod.
When I run the markers.xml, I get this info:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh (javascript:location.reload()) button, or try again later. The character '<' cannot be used in an attribute value. Error processing resource 'http://yourmichigan.com/markers.xml'. L...
<marker mapid="1" title_map="Lincoln Park, Michigan" lng="-83.180215358734" lat="42.243943462854" userid="14" username="...
Anyone have an idea on how I can get the pins and balloon to show?
Thanks in advance.
Shazz
01-29-2008, 10:51 PM
Discussions on the latest 3.7?
I upgraded from 3.5.4 to 3.6.8. I uninstalled the 3.5.4 version of this plugin and installed this version.
However when I look at the map it doesn't show any markers yet when I view ME Full view I see all my data.
How do I get it to appear?
Andreas
02-05-2008, 07:59 AM
Attention:
This Hack changes the character set for the database connection.
If you are not using UTF-8 by default and persistent connections are turned on, this can cause severe problems!
Julrou
02-06-2008, 01:01 PM
Hi there,
I fixed the problem with the map.
Markers are appearing now. In fact, the hack "ncode image resizer" was the source of the problem.
When I updated to vB 3.7, i desactivated ncode image resizer, and this fixed the problem !
And it works perfectly on vB 3.7 right now ! :)
:up:
mc0676
02-06-2008, 03:39 PM
Installed and perfectly work, thanks.
mc0676
02-07-2008, 10:56 AM
Sorry but i've a problem today.
After that installed it work fine, in fact manu users insert his location and in the maps i can see the users.
But today ... i can see only the map without user and i've not change anything from yesterday after install.
This my web site:
http://www.vwgolfcommunity.com/vbulletin/vbgooglemapme.php
Any suggestion ?
atlambros83
02-07-2008, 11:06 PM
Maybe i'm not understanding something....does every user have to create their own marker for them to be represented on the map with a marker or does it automatically place a marker on the map based on the location entered in their user profiles?
If it automatically marks people on the map then i've messed up somewhere i guess because i can manually place a marker on the map but unless a marker is placed i do not have any markers showing up.
any help would be greatly appreciated. thanks.
http://www.optikal-illuzionz.com/forums/vbgooglemapme.php
mc0676
02-08-2008, 04:02 PM
In silence of support i've uninstalled this mod.
Deadly Assassin
02-10-2008, 03:52 AM
Sheer class, lovin it and so do my members, thanks mate.
:up:
Deadly Assassin
02-10-2008, 12:33 PM
I found this in the 3.5 thread for the product and it totally works!!
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.
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
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
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/images/googlemapme/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
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
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:
$text_file .= "<marker mapid=\"
Replace that line with:
$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_m arker["username"])))))."\" text_map=\"".preg_replace("/\n|\r\n|\r/", "", nl2br(addslashes(htmlspecialchars(trim($get_xml_ma rker["text_map"])))))."\" type=\"".htmlspecialchars($gettype['googlemapmetype'])."\" pimage=\"".htmlspecialchars($pimage)."\" />\n";
/includes/cron/vbgooglemapme_cron.php:
Goto line 58 which should start:
$text_file .= "<marker mapid=\"
Replace that line with:
$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_m arker["username"])))))."\" text_map=\"".preg_replace("/\n|\r\n|\r/", "", nl2br(addslashes(htmlspecialchars(trim($get_xml_ma rker["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 "&" 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
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
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:
$text_file .= "<marker mapid=\"
Replace that line with:
$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_m arker["username"])))))."\" text_map=\"".preg_replace("/\n|\r\n|\r/", "", nl2br(addslashes(htmlspecialchars(trim($get_xml_ma rker["text_map"])))))."\" type=\"".htmlspecialchars($gettype['googlemapmetype'])."\" pimage=\"".htmlspecialchars($pimage)."\" />\n";
/includes/cron/vbgooglemapme_cron.php:
Goto line 58 which should start:
$text_file .= "<marker mapid=\"
Replace that line with:
$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_m arker["username"])))))."\" text_map=\"".preg_replace("/\n|\r\n|\r/", "", nl2br(addslashes(htmlspecialchars(trim($get_xml_ma rker["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 "&" 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!
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
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
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/vbgooglemapme.php?do=showmain
Even after applying the latest possible fix.
I got this error
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
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
RCWorld
04-21-2008, 07:36 PM
Help? Anybody?
Please?
RCWorld
05-01-2008, 03:28 AM
Ugh! OK I'll try for help some other way....
Riccardo83
05-01-2008, 07:47 AM
Anyone knows if it works with vb 3.7 ?!?!
wd4x4
05-04-2008, 12:45 PM
Works here on 3.7.0 Gold :D
Phaedrus
05-04-2008, 08:35 PM
Works here on 3.7.0 Gold :D
Me too. Works great.
odln018
05-05-2008, 04:44 PM
Where do you set the permissions for this?
Doctor Death
05-10-2008, 03:23 AM
I figured out why my pins are disappearing...
Any title that has a "&" in it makes it do that. I have edited them out but when the CHRON job runs every hour, the MARKERS.XML file changes again and the pins disappear.
WDZaphod
05-19-2008, 11:20 AM
I just installed in my 3.7.0 - markers.xml is set 777, the registered Users + Mods + Admins have rights. But in the Main-Map I don't see the Pins?
Going back to "Your Entry" I see them :confused:
Weired, but looks nice till this point! Can't wait to have it running well!
P.S.: The dasboard also doesn't show values... Is it possible to deactivate the dashboard?
P.P.S.: Works now - it seems it needed a night to calm down on the Server :rolleyes: :D
vizitor
05-25-2008, 11:56 AM
I don't know if this already posted but I found something out...
If you can't see markers on the map although you set 777 to the markes.xml file, be sure you use for "URL of the image for the marker" a URL to a graphic file!
I noticed that some users try to add the URL of there avatar image, which is normaly something like "image.php?u=99999&dateline=1138152917". This won't work and cause that there're no markers on the map.
I hope you understand what I mean :cool:.
rknight111
05-31-2008, 01:15 PM
How would I turn the following part of this: 'URL of the image for the marker', if someone and most do enter the wron URL it screws up and doesn't display anything. Then I have to look through 300 pins and find who entered an invalid URL to get it back working.
Thanks
RON
Aclikyano
06-03-2008, 05:36 AM
yea I just updated mine too (vb 3.7) and now ALL of the markers dont show.
before I updated it all was showin.......
now...... nope.
and i checked the image urls.... all legit......:rolleyes:
chriszep
06-03-2008, 06:12 AM
hello works for me in 3.70:D
NannyMin
06-05-2008, 12:50 AM
I just installed this and everything seemed to go smoothly....
But, then when I click on ME Full View I get an error that says "No Elements Available".
What am I doing wrong?
Andy R
06-05-2008, 11:32 PM
Please excuse me if this is addressed in the 80 pages of comments on the 3.5 and 3.6 version of this Product. I just upgraded from version 2.01 (it was very old, installed on a 3.5 beta install) now that our forum was upgraded to vBulletin 3.7. I see all the entries in the AdminCP >> ME Full View and when I run the scheduled task write out to the XML file I can see the entries are added properly. The issue is the map does not have any markers on it, it's just blank. I can click on my entry and it updates but it still does not show up on the map (it's still blank, just a map, no markers).
Where should I look now to try and troubleshoot this?
Also, is it possible to buy a branding free version of this?
Boofo
06-06-2008, 09:34 AM
Did you try doing this?
https://vborg.vbsupport.ru/showpost.php?p=1456251&postcount=697
edward hamilton
06-07-2008, 05:27 PM
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
That seems to be a workable solution if you don't have members all over the world. Or if you're country is supported. I see Stonyarc was online here in May 2008, but apparently he has chosen not to comment on this mod.
Andy R
06-07-2008, 05:53 PM
Did you try doing this?
https://vborg.vbsupport.ru/showpost.php?p=1456251&postcount=697Thanks for pointing that out. It looks like the code in the .zip package has been updated with that code.
I can see the XML marker is bring written to and the data looks clean. I will have to get a programmer to look at this form me next week. If the fix is something worthy of posting I will post it here in case it can help someone else.
edward hamilton
06-07-2008, 06:18 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.
In Admincp > Languages and Phrases > Phrase Manager > Search in Phrases - at the bottom of the page. Editing a phrase here will change how it is displayed on your forum.
Boofo
06-07-2008, 06:21 PM
Thanks for pointing that out. It looks like the code in the .zip package has been updated with that code.
I can see the XML marker is bring written to and the data looks clean. I will have to get a programmer to look at this form me next week. If the fix is something worthy of posting I will post it here in case it can help someone else.
No, the .zip package does not have that fix in it. I had to add it after I downloaded the file a few days ago.
edward hamilton
06-07-2008, 07:43 PM
How would I turn the following part of this: 'URL of the image for the marker', if someone and most do enter the wron URL it screws up and doesn't display anything. Then I have to look through 300 pins and find who entered an invalid URL to get it back working.
Thanks
RON
I looked in the database and found two pimage entries which weren't in the right format and it only took a few minutes to find them - but you have to be very careful when you access your database. googlemapme is the table.
jim6763nva
06-07-2008, 08:09 PM
I installed this on vb3.7.1. It works with exception to the field for the url to the marker image. Not sure why you are leaving this up to the user to fill in when they wouldn't have a clue as to what to put in there. I went ahead and filled in what I "thought" should go in there for my entry. Everything seems to save successfully however when I go back to look at the map, no markers show up.
I noticed there was a manual patch indicated several posts back for preventing members from putting in the wrong value (I'm guessing for this marker image url). I made the changes to both files and uploaded the files to my server. I can't tell if it protects the XML file though.
Any thoughts?
edward hamilton
06-10-2008, 08:34 PM
After editing vbgooglemapme_cron.php on line 43
if ($get_xml_marker["pimage"]!='')
{
$pimage = $get_xml_marker["pimage"];
}
else
{
$pimage = $bburl."/images/googlemapme/noimage.png";
}
to simply
$pimage = $bburl."/images/googlemapme/noimage.png";
I was able to eliminate any errors in the markers.xml file
but the only way I can get the markers to appear is to click on [Your Entry] and then Update your information on the bottom of the vbgooglemapme.php page.
Once I update my information, without changing anything, it's fine until the next time the cron runs.
Any ideas?
Boofo
06-10-2008, 08:54 PM
You need to not allow images and take the pimage line out of the template so they can't upload images.
RedGTiVR6
06-10-2008, 10:07 PM
I see the mention about running the scheduled task...thing is, i don't have a scheduled task for this...
I'm guessing that's a problem.
can someone tell me what it should be called? or what I need to do to set it up?
I should also note that I've tried the modifications mentioned by ZeroHour here: https://vborg.vbsupport.ru/showpost.php?p=1456251&postcount=697
But when I apply those mods then try and view the page, it's blank.
ANY help anyone could provide would be appreciated!
edward hamilton
06-11-2008, 01:23 AM
I finally, after almost a year, disabled the cron job and my map is working fine. I autoapprove the locations, but you have to be a member to plot your location.
Member maps at the Ministry of Rum (http://ministryofrum.com/forums/vbgooglemapme.php)
Here's an excerpt of my markers.xml file
<markers>
<marker mapid="94" title_map="fon_eti_que" lng="28.1105327606" lat="43.3604081168" userid="2061" username="fon_eti_que" text_map="fon_eti_que" type="darkred" pimage="http://ministryofrum.com/forums/images/googlemapme/noimage.png" />
<marker mapid="96" title_map="BlueHeronBrands" lng="-78.2262659073" lat="45.7243767341" userid="2154" username="Moose" text_map="BlueHeronBrands" type="darkred" pimage="http://ministryofrum.com/forums/images/googlemapme/noimage.png" />
<marker mapid="97" title_map="Joe's place" lng="-88.45644334" lat="47.9970626797" userid="2218" username="Joe\'s place" text_map="Joe\'s place" type="darkred" pimage="http://ministryofrum.com/forums/images/googlemapme/noimage.png" />
</markers>
Hope this helps someone.
Boofo
06-11-2008, 01:40 AM
What does the cron job do? I've never looked.
RedGTiVR6
06-11-2008, 06:12 PM
AH HA!
The issue is the ability for users to add in their own image.
I deleted these links and voila! the markers showed up!
To prevent any users from entering this and screwing up the map again, I did the following:
in template: vbgooglemapme_display_yourlocation and vbgooglemapme_set_yourlocation
find and delete:
<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>
This completely removes the text and the box from showing on the pages which will prevent ANY user from entering that information, which would subsequently cause the plug-in to crash.
I hope this helps some others!
All I did to figure this out was to search the phrases for for the text that was shown there to find out how it was called, then I just searched all the templates for that call.
diablo76
06-12-2008, 07:53 PM
Does anyone know if there will be an update soon? I'm waiting about six month now because I thought there might be a new release soon.
Boofo
06-12-2008, 08:14 PM
It doesn't look like this is being supported anymore so you are on your own as are the rest of us, it seems. I am in the process of writing my own version since this one is no longer being supported. I will let you know when I have something to test.
RedGTiVR6
06-12-2008, 08:36 PM
btw - there are a number of fixes posted within the thread that should make it work for just about anyone
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.