PDA

View Full Version : Major Additions - VBGooglemap Member Edition


Pages : 1 [2] 3 4 5

MotMann
01-29-2007, 09:09 PM
How i can fix the Problem with the Task manager?

"Cannot modify header information - headers already sent by...."

ccunnin71
01-30-2007, 12:27 PM
This system is pretty cool! I have it working on my board but like many users I have seen in the post history I to suffer the following error...

Warning: Cannot modify header information - headers already sent by (output started at .../forums/cron.php:59) in /includes/cron/vbgooglemapme_cron.php on line 20

Has anyone resolved this problem? It is hit or miss when it shows up. :(

Otherwise very good mod!

Thechipleaders
02-01-2007, 01:58 AM
Hi,

I seen a few posts about same problem I am having but it seemed they dropped off.

I just loaded the program and all went fine until I tried to click on one of the maps from the admincp section and got the following error.

No Elements available

I really like this mod and want it to work on my site so please if someone can help me out I'd appreciate it.

Thanks
Will

marcsmith73
02-08-2007, 10:58 PM
Getting red X's and the markers don't show up. Image folder is posted correctly. Help thanks!

khkcon
02-10-2007, 05:09 PM
To which folder must the File "vbgooglemapme deutsch.xml" copied? It seems no valid Plugin-File, because I get the an Error on import.

Regards
Karl

Viper007Bond
02-12-2007, 08:10 PM
My map has stopped working. Google is saying the key is wrong:

http://forums.finalgear.com/vbgooglemapme.php

But it isn't. I just generated it again and pasted it in and it still doesn't work.

bluechris
02-13-2007, 05:28 PM
Hi guys, after long watching why the markers doesnt show i went to conclusion that something is affecting the page to show the markers.
So i tried to remove things from the page and finally i managed to Show the map correctly including the markers and all the rest info.
The thing i did is going to my templates and i edited the VBGOOGLEMAPME template by removing the $footer in the end of the file.

I still doesnt know why the footer does the tricks (i try now to remove elements from footer) to the Addon but honestly im damn happy that all working fine.. i suppose some hack or addon interfears with the API or something simillar.

The same trick for me worked for the HotSpot Edition also and the only problem i have now in both addons is the if you add Greek things in your Entry they show in the map as Japanese... well i suppose i can leave with this for a bit of time.

I hope i helped some people.

Netaudio
02-14-2007, 05:37 PM
Hello,

after Update to Php5.2.0-8 and Update to MySQL-Version 5.0.32
vbgooglemap plugin dosn´t work!

Can You Help me Please?!

Thx

Performance Pol
02-16-2007, 03:59 PM
Oh Dear...

Installed as per Instructions and now all I have is this:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /websites/LinuxPackage02/pe/rf/or/performancepolishing.net/public_html/Forum/index.php(538) : eval()'d code on line 99

Can't even get on to forum

Any Ideas?

Cheers

Okay stripped out the navbar additions and everything is back to normal.

How do I add this so I can see it?

MrD
02-20-2007, 01:18 PM
Hi Karl,
To which folder must the File "vbgooglemapme deutsch.xml" copied? It seems no valid Plugin-File, because I get the an Error on import.

Regards
Karl

it?s only a language File for German Users.
this File will installed over the ACp-> Languages/Phrases

ChristDivers
02-21-2007, 06:56 AM
Im an amature when it comes to coding, let me tell you with a little time & patience I've installed this with no problemo's. :up:

:up:

Installed on 3.6.4

ChristDivers.Com

Thanks a bunch & God Bless !!!

Gerry

ChristDivers
02-21-2007, 07:31 AM
Hi,

I seen a few posts about same problem I am having but it seemed they dropped off.

I just loaded the program and all went fine until I tried to click on one of the maps from the admincp section and got the following error.

No Elements available

I really like this mod and want it to work on my site so please if someone can help me out I'd appreciate it.

Thanks
Will

No elements available is Default for no entries. You need to add at least one entry on the map itself before that field will show anything. Example: Go to the map on the site itself & click your entry to add the required information so you can go back into the Admincp Me full view as well as the unapproved view. Once you have entered the info you can go into to those particular fields in the Admincp.

Dam Im a truck driver, I think I should go back to college. :p

Good Luck !!!

I've notice alot of folks here having trouble with installs from several months ago. Here is the key, Save your Templates as a text file encase you screw-up. I've saved every single template I've customized in a text file into a Back up template folder. Common Sense.

I have no issues what soever but I would like to Link to posts with map by using the : $post[findme] code but I've entered this into every single field in the postbit_legacy. :confused: Maybe someone can help me with the easy stuff as I only understand who to do the hard stuff. lmao !!!

God Bless !!!

Gerry

http://christdivers.com/vbgooglemapme.php ( Look for yourself )

basilrath
02-21-2007, 12:15 PM
just a quick answer the no entries are showing set the entries to be

"Auto approve additions to the map (handle with care). Don't forget to allow usergroups to add, edit or delete items in the usergroup manager"

in your admin cp

this allows entries to be posted or added as they obviously wont show in the map until approved manually by yourself as Super Admin

ive only posted this a lot of people using this hack moan about about the entries not showing straight away without checking the me user settings in cp.

ChristDivers
02-21-2007, 07:40 PM
No elements available is Default for no entries. You need to add at least one entry on the map itself before that field will show anything. Example: Go to the map on the site itself & click your entry to add the required information so you can go back into the Admincp Me full view as well as the unapproved view. Once you have entered the info you can go into to those particular fields in the Admincp.

Dam Im a truck driver, I think I should go back to college. :p

Good Luck !!!

I've notice alot of folks here having trouble with installs from several months ago. Here is the key, Save your Templates as a text file encase you screw-up. I've saved every single template I've customized in a text file into a Back up template folder. Common Sense.

I have no issues what soever but I would like to Link to posts with map by using the : $post[findme] code but I've entered this into every single field in the postbit_legacy. :confused: Maybe someone can help me with the easy stuff as I only understand who to do the hard stuff. lmao !!!

God Bless !!!

Gerry

http://christdivers.com/vbgooglemapme.php ( Look for yourself )

Why do I bother asking when its about 99.9% user error. :( Well I changed the & sign to $ sign (Correct sign) in the Post Bit Template.....Post Bit (Template)

I've added this in the !-- user info -- Section under :

if condition="$post['rank']"div class="smallfont"$post[rank]/div/ifbr$post[findme]/B/br

Hope this helps...

Gerry

ricker
02-22-2007, 12:08 AM
Getting red X's and the markers don't show up. Image folder is posted correctly. Help thanks!

You need to assign a color for each usergroup to get them to display in the legend.

On another note, none of my markers are showing on the map. It seems the map isn't assigning the colors like the legend. My map is looking for the file mm_20_.png

Any help? TIA

ricker
02-22-2007, 12:28 AM
I think the cron needs to run before this thing works right. Mine's working now!

SEVEN of NINE
02-23-2007, 10:38 AM
Hi!

A little question...
How can I insert the "vbgooglemapme_deutsch.xml" ?

vB 3.6.4
vbgme 2.5.2

Thx
Seven

aj8690
02-23-2007, 10:28 PM
I get a no permission message. :(

look here:

http://www.puretalkforum.com/vbgooglemapme.php

Anyone have a solution??

Thanks!

Shazz
02-23-2007, 10:40 PM
Edit the usergroup options :rolleyes:
;)

Doglet
02-24-2007, 06:56 AM
Great hack, my users love it. Thankyou so much.

Ignicoccus
02-24-2007, 08:42 AM
I am using vbgooglemap ME on my board for about 4 month now. Everything worked fine, my useres love this mod. But now the map stopped displaying new entries. I have 317 entries in the admin cp (all approved) but the map only loads 273 markers.

I don't now where to look, any ideas ?

Thanks

MediaHound
02-24-2007, 02:42 PM
Whats the deal with duplicates?
I'm going through my ME Full view list in the admin cp and I see some members have multiple entries.
My mapID's 69-72 all belong to the same username.
80 and 81 are the same guy
114 and 115 are the same guy
141 and 142 are the same guy - when this guy was doing his entry, he reported to me in an IM that he was getting an error message "missing text" - and I quote:
"( MARKER TEXT)(<URL INFO)??????I tried it but this info was needed." because he did not fill out the text and the image url information (although text is the only required of the two, I realize that), so I sent him back to the page to try again and I explained what that meant, what the text is for, etc.. - He went back and added the entry just fine the second attempt.

SO, I think this little bug might have something to do with people submitting their entry only to get an error message - the entry was recorded even though they are asked to try again and correct the errors. Although I am not 100% sure of this, it is only a hunch...

Only 1 marker shows for each person on the map, though. But I dont think there's a need for duplicates in the db! I think some code fix is in order...

Anyone care to take a stab at this?

ps I use V2.5.1 - if this was corrected in the latest version, I apologize, but I searched this thread and nobody has reported duplicates yet, so my guess is that it still persists regardless of version...

MediaHound
02-24-2007, 02:50 PM
and by the way, my Me Full view report shows 143 entries under mapID, however my publicly viewable map shows Loaded: 137 of 137
So, the viewable map does not mind the duplicate entries, they only seem to clutter the db...
Just an fyi if this was not clear in my last post.
This bug may pose a data hygiene issue if these users go to edit their location and the script grabs one random entry for them if they have duplicates, it might cause some hair pulling if the map then goes and loads the wrong entry! I didnt pressure test that far into it nor look at the code, but hey who knows... it should be fixed.
cheers

MediaHound
02-24-2007, 02:56 PM
I am using vbgooglemap ME on my board for about 4 month now. Everything worked fine, my useres love this mod. But now the map stopped displaying new entries. I have 317 entries in the admin cp (all approved) but the map only loads 273 markers.

I don't now where to look, any ideas ?

Thanks

Check out my posts above, look carefully at your list of entries in the admin cp - there may be duplicates. Count them and see if that makes up the difference in numbers.

Ignicoccus
02-24-2007, 03:22 PM
Check out my posts above, look carefully at your list of entries in the admin cp - there may be duplicates. Count them and see if that makes up the difference in numbers.

I'll check this immediately

Ignicoccus
02-24-2007, 03:24 PM
You are absolutly right, there are several double entries in "ME full view" !
I am using Version 2.5.2

MediaHound
02-24-2007, 04:36 PM
Yep, its really not a big issue (yet). Let's see if we can get a fixed version whipped up though...
I think this mod is still being supported, right?

aj8690
02-24-2007, 05:26 PM
Edit the usergroup options :rolleyes:
;)
Ahh..OK thanks. I didn't realize that this wasn't done by default. :p

Good hack, thanks! :D

Alien
02-25-2007, 07:26 AM
Have any of you noticed any sort of query problem on your showthread/postbit pages?

Especially when viewing pages with a significant amount of posts..

For example, go to a page that has like 15+ posts on it. Then, take note of how many queries you have on that page (you'll need microstats or something similar to view this). Then, go into your AdminCP and temporarily disable this hack. Then, go back and view the query count for the exact same thread you viewed earlier. Do you see a significant difference?

I tried this on several boards (one that had absolutely ZERO additional hacks on the entire site) and the queries were almost double. I can create this issue on any site, has this been brought up before?

All sites are running Googlemaps 2.5.2, and vBulletin 3.6.4.

Alien
02-25-2007, 07:33 AM
Ah, I see I'm not the only one.. It runs a query on every post.. Since this was mentioned several months ago to be something fixed in an upcoming version, are we close to the release of this? Otherwise I guess I'll use that temporarily workaround that was posted..

I love this hack!

daddygrim
02-27-2007, 12:09 PM
using it on 3.6.4..and it's not working..unless i'm doing something wrong..I add all the info in the fields..and it never saves.

T_Richardson
03-01-2007, 10:32 AM
Works flawlessly on vB 3.6.4 :up:

Clicks Install!Only one minor problem, my forums use a white font and when viewing the mouseover balloon, you can't see the username because the balloon is also white. I don't want to modify my CSS. Is there a way to edit the font color for it to show?

Thanks..

SuperGLS
03-04-2007, 08:56 PM
I'm not getting the vBgooglemap ME link in my AdminCP after I upload all the files. I refreshed as instructed and even logged out and back in again but nothing. No link to vBgooglemap ME.

Any ideas?

EDIT - Nevermind. I got it.

scottct1
03-05-2007, 03:41 PM
My map has stopped working. Google is saying the key is wrong:

http://forums.finalgear.com/vbgooglemapme.php

But it isn't. I just generated it again and pasted it in and it still doesn't work.

I am having the exact same issue. It has been working great since this hack came out and it just stopped working.

Any ideas?

BTW I am up to vb 3.6.5 now, dont know if that matters.

volarium
03-05-2007, 05:21 PM
Just wanted to share a graphic I created to get my members to add their pin to the Member Map.

http://vfrworld.com/photos/data/500/where.png

See it in action here:
http://vfrworld.com

ThePiston
03-13-2007, 04:53 PM
i can't figure out where to put my navbar code. I want it after Calendar... www.googlemapsforum.com any help?

scottct1
03-15-2007, 01:10 AM
Can someone help. I am getting an error saying my key belongs to another site.

I have went to google and regenerated my key. No good...

I have uninstalled everything and reinstalled (including the plugin). No good...

Can someone please help?

bada_bing
03-15-2007, 01:59 AM
This hack is just as dead and the vbgoogle hotspot as the author had not made any changes in a year...Would be nice to see another coder take this over and add geozip feature rather and L&L as some members dont know that expecially younger kids.

diablo76
03-30-2007, 06:02 PM
Edit: my fault! ;)

diablo76
03-30-2007, 08:44 PM
Is it possible to move the infoboard, right of the map, down - next to the legend?
Width 50:50 for Legend and infoboard.

https://vborg.vbsupport.ru/


second question:

How can I turn off, that poeple have to set an image, before their marker can be seen.

Tralala
03-31-2007, 11:09 PM
/installed

Thanks!

MrD
04-01-2007, 10:30 AM
Hi,
any News about the buggy Cronjob?
If Usergroups where Changed in ACP, there where not displayed correctly in the Map.

Tralala
04-01-2007, 04:18 PM
I see at one point this automatically placed users Avatars in the bubble. And then it got removed. :( Too much incompatibility with various browsers, I presume?

I'd love the option to get avatars back. Any plans for trying again?

stwilson
04-01-2007, 04:46 PM
This hack is just as dead and the vbgoogle hotspot as the author had not made any changes in a year...Would be nice to see another coder take this over and add geozip feature rather and L&L as some members dont know that expecially younger kids.

I have to agree 100%. It would be nice to see some other coder(s) take on an updated Google Map MOD. This one was probably best in class a year ago but is in need of some enhancements to be more Web 2.0. Just my opinion and I'm not knocking the MOD, just seeing an opportunity for another coder to take over this type of MOD and make some decent money. I know I would pay for an enhanced version of these MODs.

Tralala
04-02-2007, 03:29 AM
OK, this is working pretty well in test for us on vB 3.6.4 (Apache2/PHP5/MySQL5/Linux). We have these exceptions:
- Picture display comes and goes. Sometimes scrolling the map helps?
- Some members don't see the pins or links above the on map certain computers.

My advice to those having complete problems (no display) is: recapitulate the install and make sure the cron task is working. That advice may be worth nothing. I can't support the add-on for you any further. As always, the more details you post, the more likely you are to get help. If it was me, I'd post: O/S, vB & add-on versions plus file locations uploaded, plus cron task log.

...

To be clear again: You can wreck things playing around at this level. If you do, its YOUR fault. My code is NOT authorized by Stonyarc and frankly, I expect him to delete this post when he/she returns. For those who have the skills to deal with this, I hope this helps you. I've been helped so much be vb.org over the years.


Thanks very much for sharing this; I very much wanted to enable avatars in the GoogleMap ME on my forum, and so I followed these instructions to a "T." Avatars are, in fact, stored in my forum's database.

And so I made a full backup of my database, created the php (making sure to edit it to match my forum's URL ;) ) and then uploaded the file... created the cron job, and manually ran it.

Then I ran that SQL query... but don't see standard avatar URLs. All I see are the URLs to pics folks have "manually" attached to their map entry. Of course I still don't see any avatars in the actual map, either. In fact, it appears that nothing has changed. So now I am just wondering if there's anything else I can try.

I am running vBulletin 3.6.4.
Server Type: Linux
Web Server: Apache v1.3.37 (cgi)
PHPL 4.4.4
MySQL Version: 5.0.24a-standard-log
Not too many add-ons, everything else is running swimmingly, in fact.

Again, thanks for sharing this!

iMav
04-08-2007, 02:25 PM
I've got a weird problem.

Before my migration to VB I installed a VB instance with my current database with the googlemap. Then, when you clicked on a users location the default zoom level (8 in my case) worked flawless.

Now I've installed VB again for production forum and installed the same version of the googlemap but the default zoom level for a user marker won't work.

I saw more people got this problem, anybody any idea what the problem might be?

Thnx

Tralala
04-08-2007, 06:28 PM
I'd just like it to zoom to a default zoom level when I click on a marker already on the map. It doesn't zoom at all unless I drag the slider.

Tralala
04-08-2007, 06:35 PM
I've got a weird problem.

Before my migration to VB I installed a VB instance with my current database with the googlemap. Then, when you clicked on a users location the default zoom level (8 in my case) worked flawless.

Now I've installed VB again for production forum and installed the same version of the googlemap but the default zoom level for a user marker won't work.

I saw more people got this problem, anybody any idea what the problem might be?

Thnx

I noticed this too... regardless of what I set for "Default zoom of the maps when using a link to show the marker" in AdminCP, when I link to the map from a user's postbit (using $findme) it always zooms at zoom level of 10.

bplinson
04-11-2007, 02:27 PM
Does this now work in FireFox? I can see themap in IE but not FireFox.

Is this mod no longer supported?

dadu911
04-12-2007, 03:10 PM
How can I show all the users whom already have set their locations automatically rather them posting up a mark. They selected location in USERCP can they show automatically on the map ?

bplinson
04-12-2007, 04:43 PM
Without a major rewrite it is not possible.

Kahuna900
04-17-2007, 05:25 AM
Is this still being supported? It's work good on 3.6.5, but the Moderators only show as registered users. Does anyone else have this problem?

lefthome
04-17-2007, 04:01 PM
Like this hack a lot and only one minor issue that I noticed: in the “Your entry” section; location: Link to your location; To link to your location just copy the correct string and use it in your signature, profile or on your website. You can use any other image you want between the links or just use a small text. To return to the map click here the link is wrong and takes you back to a nonexistent file. Can you tell me how or can you correct this please?


*EDIT*

Never mind. I searched in phrases, found it and made the correction myself.

Kicks
04-20-2007, 07:17 AM
hi all.

i got some problem.
i can add my location ..and i will see the map.
but i can´t see the map will all adds ?

got a white screen in there

what do i make wrong ?

bplinson
04-20-2007, 07:41 AM
What browser are you using? Does not work with FireFox unless you use the IE tab extension.

Kicks
04-20-2007, 07:58 AM
i´m using firefox .. and some other users mozilla

Tralala
04-20-2007, 02:54 PM
Does not work with FireFox unless you use the IE tab extension.
:confused:

Works fine for me, and my users, using Firefox (no IE tab extension installed.)

bugzy
04-20-2007, 10:51 PM
works, except the zoom level for the specific marker doesnt

Mrdby
04-20-2007, 10:58 PM
mine works fine

Mr.Mod
04-21-2007, 02:56 PM
Hello,
I would like to use this mod but always when I try to import that xml - File I get the error message "file incorrect" and my vbulletin aborts the import.
Any advice how to fix it?
Thanks in advantage :)

Mr.Mod

WNxWakko
04-21-2007, 05:48 PM
No matter how I do it, when i view the page, it says my key is not working. I signed up on google, I got the long long key. I entered my exact directory in the google url box

http://warriornation.net/Forum/ which is the directory where this file is and it still thinks the key is wrong and saying the key used on this website was registered on a different website. Could the key not be updating in the plugin somewhere??

Kicks
04-26-2007, 04:08 AM
i don´t understand it ..
i can´t see the map.
the key is right, the path´s are right ..

MDK-Indy
04-28-2007, 11:13 AM
Salü,

i have generate a new API Key, but my forum say is the false Key...

Can anyone help me?

Greetings Indy

bulbasnore
05-02-2007, 11:58 AM
Yet another dangerous 'accessory' for your googlemap, from the reckless bulbasnore. If this destroys your map and your forum, its not my fault.

We have a need to let the displaygroupid determine the map pin color for registered members (groupid = 2). Here is the job we cron in order to do that:

<?php
/*================================================= =====================*\
|| ################################################## ################## ||
|| # ---------------------------------------------------------------- # ||
|| # Copyright ?2007 Kim Cary # ||
|| # This file may be redistributed in whole or significant part. # ||
|| # You could signficantly damage or destroy your board or computer # ||
|| # with this file. Author will not be liable for any damages. # ||
|| ################################################## ################## ||
\*================================================ ======================*/

// ######################## SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
if (!is_object($vbulletin->db))
{
exit;
}
// ######################## END PHP ENVIRONMENT ###########################

$vbulletin->db->query_write("

UPDATE `googlemapme`, `user`
SET `googlemapme`.usergroupid = `user`.displaygroupid
WHERE `user`.displaygroupid > 0 AND `user`.usergroupid = 2 AND ( `googlemapme`.userid = `user`.userid )

");
log_cron_action('Set the googlemap userid to the displaygroup for registered users', $nextitem);

/*================================================= =====================*\
|| ################################################## ##################
|| # Version: 5:33, Wed May 2, 2007
|| ################################################## ##################
\*================================================ ======================*/
?>

If that helps you, by all means feel free to use it! If you don't know what this is, or how to install it, you are safer not to ask!

Regards,
'snore

Mrdby
05-02-2007, 12:16 PM
works great for me.lol

djbaxter
05-07-2007, 03:30 PM
I've read and re-read the instructions. Installed, uninstalled, and reinstalled foloowing all the instructions per the ste-by-step PDF file. Set all the options correctly and all group permissions.

I've added my own location - I can see that fine (see attachment 1; vbgme1.jpg).

I see absolutely nothing in the main map and neither do other members (see attachment 2; vbgme2.jpg).

This occurs in both IE7 and Firefox2.

Any suggestions?

djbaxter
05-08-2007, 01:45 PM
Found the answer here:

Well I've installed it and set it up as stated in the instructions but for some reason my main map does not show, anyone have any ideas?
http://www.allcorsa.co.uk/forums/vbgooglemapme.php

**Edit**
I've since discovered that it is my zoints seo addon which is causing the problem. Has anyone found a solution to this yet? Is there a way of possibly excluding the googlemap page form the zoints seo?

Thanks da420

I'm working on the new version of all the googlemap versions.

Release is still on target for this year.

As for the SEO issue, SEO and special apps like googlemaps can give issues.

Most SEO products allow you to exclude certain pages from SEO so why not use that till I can investigate the matter. I'm sure the SEO people will look into it also.

After posting in the zoints help thread I was directed to this: http://network.zoints.com/showthread.php?t=2068

It's a little workaround for the incompatibility with zoints and the googlemapme.
I did the code edit on my site and all is working fine now.

http://network.zoints.com/showthread.php?t=2068

Not sure if this will be any help, but I found what is causing the problem and got a temporary solution

The issue is caused by Zoints SEO wanting to rewrite "#top" to '"#top" rel="nofollow"' in the global_complete hook. This edits the javascript in the googlemapme templates and get you a javascript error.

My solution, though it may not be the best long term one, was to edit the global_complete Zoint_SEO hook, changing this

if (strpos($output, '"#top"'))
{
$output = str_replace('"#top"', '"#top" rel="nofollow"', $output);
}

to this

if (strpos($output, '"#top"') && THIS_SCRIPT != 'vbgooglemapme')
{
$output = str_replace('"#top"', '"#top" rel="nofollow"', $output);
}

This way it does not perform the change if you are using vbgooglemapme.

Thanks, Calash and corsacant! :)

cjshirlaw
05-08-2007, 02:58 PM
I am stuck at stage seven, can some one help please?

djbaxter
05-09-2007, 12:16 PM
Suggestion:

Can this be modified to exclude the legend for groups not included on the map?

For example, as a privacy measure, I have the following groups with no permission to view the map:

Guests (Unregistered / Not Logged In)
Users Awaiting Email Confirmation
(COPPA) Users Awaiting Moderation
Banned

Having a legend for groups that don't have permission to view the page seems redundant and is confusing to my members, many of whom are not "technologically advanced".

sumacbob
05-10-2007, 10:22 PM
Awesome, works just great for our community. Thank you for the mod.

GH84
05-20-2007, 07:35 AM
Hello - great work.
But i?ve got one little problem. When i try to add a new element it says:

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.


But all fields are filled with information ? Any ideas ?
Thanks...

dreamhero
05-26-2007, 03:48 PM
I NEED HELP !! :(

My vbgooglemap Member Edition don?t show the placemarks...

What can i do ???

Here the Demo:
http://www.quad-forum-nrw.de/vbgooglemapme.php

no user is showing but we have 113 User in. :(

Please help

djbaxter
05-26-2007, 03:56 PM
1. You have to define an image to be used for each usergroup before it will display.

2. You have to set the add-on to auto-approve additions to the map OR make sure you manually approve additions.

dotpeddler
05-26-2007, 05:18 PM
Got it to work for me after wrestling with my understanding of usergroup images/permissions and finally setting the auto-approve to on.

Awesome.

GH84
05-27-2007, 07:20 AM
Hello - great work.
But i?ve got one little problem. When i try to add a new element it says:

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.


But all fields are filled with information ? Any ideas ?
Thanks...

No ideas ?!

dreamhero
05-27-2007, 09:38 AM
hello,

the auto-approve is on and the map was working great. but then i move to an other server and then the markers at the member map and of the locations map are not displayed :(

Please look here...
http://www.quad-forum-nrw.de/vbgooglemapme.php (113 entries )
http://www.quad-forum-nrw.de/vbgooglemaphse.php (18 entries )

Please Help @ the coders... :(

what can i do ??

Chadi
05-30-2007, 02:46 AM
Just installed this now. Getting this when I run scheduled task

Warning: Cannot modify header information - headers already sent by (output started at /home/user/public_html/includes/adminfunctions.php:283) in /includes/cron/vbgooglemapme_cron.php on line 20
Done

MrD
05-30-2007, 11:12 AM
Hi,
the Markers are not updated, if a User change the Usergroup.
I Change a User from Registered User to another Usergroup (primary too), but the Marker is Yellow for registred User and not in the new color for the new Usergroup.

Chadi
05-30-2007, 05:03 PM
I confirm the same problem as MrD, but in my case the markers of "unapproved" views, after clicking "change status" in admincp does not get added to the map.

Probably because of the error I mentioned before

Ncturnal
06-04-2007, 07:56 PM
Is it possible to move the infoboard, right of the map, down - next to the legend?
Width 50:50 for Legend and infoboard.

https://vborg.vbsupport.ru/


second question:

How can I turn off, that poeple have to set an image, before their marker can be seen.

Several have asked for this so far but I haven't see a response. Would it be possible to disable the image information for the users that have pins on the map. If someone links to a slow host it causes the map to populate very slowly while it waits for the users image information to be populated. We'd like to get rid of it completely. Please advise.

Chadi
06-10-2007, 01:07 AM
Safe to say this mod is not supported. Uninstalled

djbaxter
06-10-2007, 01:48 AM
Safe to say this mod is not supported. Uninstalled

Thanks for sharing... :rolleyes:

"The Lord helps them who help themselves."

rickyreter
06-22-2007, 01:29 PM
Hi,will this work with 3.6.7 and is this the same as your hack:

http://www.fiatforum.com/events.php

Peter

djbaxter
06-22-2007, 01:47 PM
Hi,will this work with 3.6.7

It's working fine for me with 3.6.7 PL1.

GlitterKill
06-22-2007, 05:43 PM
Doesn't seem to work if you are using memcached as your datastore method.

Whitey193
07-08-2007, 10:33 AM
This is awesome... Thx

Whitey..

pureturk
07-10-2007, 04:28 AM
how do you set the file permissions on the markers.xml file to 777?

please explain it in a way where i newbie can understand :(

Whitey193
07-10-2007, 03:44 PM
how do you set the file permissions on the markers.xml file to 777?

please explain it in a way where i newbie can understand :(

Now i'm no expert myself but you are obviously using a FTP program to upload the files to the server.

Depending on the program but they should all be very similar, right click on the selected file(s) and change the file attributes to 777.. This is basically selecting all the available options for the file.

http://www.revolutionsoldiers.com/images/other/markersxml777.jpg

Hope this helps.

Whitey..

Whitey193
07-10-2007, 03:46 PM
Hi,
the Markers are not updated, if a User change the Usergroup.
I Change a User from Registered User to another Usergroup (primary too), but the Marker is Yellow for registred User and not in the new color for the new Usergroup.

OK... This is also going to be a problem for me as the group get promoted and then change usergroup.

Is there an update or an amendment we can make?

Thx,

Whitey.. :D

Whitey193
07-10-2007, 05:02 PM
Why do I bother asking when its about 99.9% user error. :( Well I changed the & sign to $ sign (Correct sign) in the Post Bit Template.....Post Bit (Template)

I've added this in the !-- user info -- Section under :

if condition="$post['rank']"div class="smallfont"$post[rank]/div/ifbr$post[findme]/B/br

Hope this helps...

Gerry

If this helps, this is my postbit (not legacy & I'm using a skin) and posted in the same location as above.

<if condition="$post[findme]"><div class="smallfont">Click here to see $post[findme]</if>

Seems to work perfectly for me. Just in case anyone else is looking for a way to do this.

Which template would I need to edit if i wished to add this to the user cp module on the CMPS?

Thanks,

Whitey.. :eek:

http://www.revolutionsoldiers.com/index.php

pureturk
07-11-2007, 04:08 AM
whitey thank you very very much

but here are my other problems.

1. is there away to only show certain groups on the list. there are 8 groups.
but i do not have anybody as super moderators, coppa etc so its pointless for those usergroups to show.

2. showmainmap
list users
your entry
aboutvbgooglemap

when I press these buttons i get a error page. i think the problem is the url adress for all these buttons. because the adress on the adress bar does not match where i uploaded the files to my server. how do i change the url for each of these buttons so they are directed to the correct source.

3. in the markers.xml file, there is nothing but a code that has the word markers twice. do i need to enter any code in there? (i know i sound like a complete fool but sorry i m very new to this :( )

4. when I got my api key from googlemap, it showed an example of some codes underneith my code and said "your page should look like this" do i do anything with that code or ignore it?

any help would be highly appreciated. thanks

pureturk
07-11-2007, 06:02 PM
any help?

pureturk
07-11-2007, 09:06 PM
whitey thank you very very much

but here are my other problems.

1. is there away to only show certain groups on the list. there are 8 groups.
but i do not have anybody as super moderators, coppa etc so its pointless for those usergroups to show.

2. showmainmap
list users
your entry
aboutvbgooglemap

when I press these buttons i get a error page. i think the problem is the url adress for all these buttons. because the adress on the adress bar does not match where i uploaded the files to my server. how do i change the url for each of these buttons so they are directed to the correct source.

3. in the markers.xml file, there is nothing but a code that has the word markers twice. do i need to enter any code in there? (i know i sound like a complete fool but sorry i m very new to this )

4. when I got my api key from googlemap, it showed an example of some codes underneith my code and said "your page should look like this" do i do anything with that code or ignore it?

any help would be highly appreciated. thanks

pureturk
07-12-2007, 11:30 PM
no more support for this mod?

schnulli
07-15-2007, 01:26 PM
I want to install "vbgooglemapme_deutsch.xml

this is the message

Die vBulletin-Version der Datei(3.5.4) stimmt nicht mit der installierten Version(3.6.7) überein.

where can i get Version(3.6.7) vbgooglemapme_deutsch.xml

Neal-UK
07-21-2007, 03:40 PM
The usergroup pins don't change colour when a member get's moved to a new group. Is there a way to do this please?

stonyarc
08-09-2007, 07:03 PM
All,

The version 3.0.0 is now online. This release is focussed on the Security issues.

Other requests and issues will be included in version 3.1.0

Thank you

mhc1576
08-09-2007, 07:07 PM
Thank You Stonyarc!!!

Shazz
08-09-2007, 07:08 PM
Sweet stonyarc :D

stonyarc
08-09-2007, 07:10 PM
Please let me know if everything works ok

Ncturnal
08-09-2007, 07:26 PM
Thanks for the update!! :D

Shazz
08-09-2007, 07:33 PM
Please let me know if everything works ok

After updating the markers to where the users are at don't seem to display

stonyarc
08-09-2007, 07:36 PM
After updating the markers to where the users are at don't seem to display

Make sure you upload the marker files to all your styles.

That should fix it.

Also run the cron once or update your location yourself to force the recreate of the markers.xml file.

If you uninstalled completely it may be required to reassign the markers to the different usergroups.

Edit:

I downloaded the markers.xml from your server and ran it on my dev server and everything looks ok.

Ncturnal
08-09-2007, 07:47 PM
The install went without incident and everything seems to be working fine.

When you are ready to work on new features, we'd really like to see the ability to turn off the add image to your marker functionality. Great work on the hack. It's one of my favorites!

stonyarc
08-09-2007, 07:50 PM
Yes a preview of the new version can be seen on

http://www.xboxlivenation.com/community/gamermap.php

And there is a very cool feature that will be included which is the proximity calculator

http://www.xboxlivenation.com/community/gamerprox.php

So you know what's coming soon

That feature will be included in the hotspot version too.

Ncturnal
08-09-2007, 07:51 PM
After updating the markers to where the users are at don't seem to display

All of mine came back after running the cron job.

Shazz
08-09-2007, 07:58 PM
Make sure you upload the marker files to all your styles.

That should fix it.

Also run the cron once or update your location yourself to force the recreate of the markers.xml file.

If you uninstalled completely it may be required to reassign the markers to the different usergroups.

Edit:

I downloaded the markers.xml from your server and ran it on my dev server and everything looks ok.

I tried running cron before

Warning: Cannot modify header information - headers already sent by (output started at /homepages/9/xxxxxxxxxxxx/htdocs/vbcoderz/includes/adminfunctions.php:283) in /includes/cron/vbgooglemapme_cron.php on line 20

Done

Ncturnal
08-09-2007, 08:00 PM
Yes a preview of the new version can be seen on

http://www.xboxlivenation.com/community/gamermap.php

And there is a very cool feature that will be included which is the proximity calculator

http://www.xboxlivenation.com/community/gamerprox.php

So you know what's coming soon

That feature will be included in the hotspot version too.

The updates look great. The proximity calculator will be extremely well recieved. :up:

stonyarc
08-09-2007, 08:10 PM
I tried running cron before

Warning: Cannot modify header information - headers already sent by (output started at /homepages/9/xxxxxxxxxxxx/htdocs/vbcoderz/includes/adminfunctions.php:283) in /includes/cron/vbgooglemapme_cron.php on line 20

Done

That is a non blocking one but I updated the package to remove the error.

Just upload /includes/cron/vbgooglemapme_cron.php again and that error should be gone now

Shazz
08-09-2007, 08:14 PM
That is a non blocking one but I updated the package to remove the error.

Just upload /includes/cron/vbgooglemapme_cron.php again and that error should be gone now

Cron ran successfully but still no markers show :|
The marker image files are correctly in the right folder and in usergroup legend they display fine as well
I tried removing the marker point then did it again still dosen't show :(

stonyarc
08-09-2007, 08:17 PM
Cron ran successfully but still no markers show :|

If you click list users on your map it shows a lot of unregistered users as usergroup

Are the permissions set correctly?

Did you change usergroups or usergroup id's?

is the markers.xml set to 777?

Shazz
08-09-2007, 08:20 PM
If you click list users on your map it shows a lot of unregistered users as usergroup

Are the permissions set correctly?

Did you change usergroups or usergroup id's?

is the markers.xml set to 777?

Its set to 777
I didn't change any usergroups or usergroup id's?

Permissions are set correctly for each usergroup

stonyarc
08-09-2007, 08:30 PM
Its set to 777
I didn't change any usergroups or usergroup id's?

Permissions are set correctly for each usergroup


I see it's a custom template too. Did you revert to the originals? (sidenote permission?)

Can you please edit the user with mapid 9 and remove the first ? from the text map field It's showing a javascript error in IE. You can do that in admincp or in the list users on the main page.

http://www.vbcoderz.com/markers.xml

It's doesn't show it on my server with the same XML but it does on yours.

It's a charset issue. UTF-8 is preferred

Shazz
08-09-2007, 09:12 PM
Its fixed! w00t! thanks again

stonyarc
08-09-2007, 10:03 PM
Its fixed! w00t! thanks again

Good, glad it works now

Shazz
08-09-2007, 10:54 PM
It says it was updated again? :o

stonyarc
08-09-2007, 10:59 PM
It says it was updated again? :o

I added a

$vbulletin->db->query_first("SET NAMES 'utf8'");

in 2 files to allow a correct utf-8 reading in the markers.xml creation function and the cron job.

forte
08-10-2007, 01:51 PM
No map shows up in the main page of it but I have no problem in adding my location. I use 3.6.4, if it helps.

Nevermind... it was a problem with the Zoints SEO...

Honk0815
08-10-2007, 02:04 PM
Hello,

sorry for my bad English,i Speak German:D

If I go with goolemap on showing all registered users and there a treatment would want only one mistake SQL comes.

Datenbankfehler in vBulletin 3.6.8:

Invalid SQL:
SELECT mapid,title_map,text_map,usergroupid,username,lat_ map,lng_map,pimage,approve,userid FROM googlemapme where mapid = where mapid = '4';

MySQL-Fehler : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where mapid = '4'' at line 1
Fehler-Nr. : 1064
Datum : Friday, August 10th 2007 @ 04:50:53 PM
Skript : http://********/vbgooglemapme.php?do=editelement&mapid=4
Referrer : http://*********/vbgooglemapme.php?do=list
IP-Adresse :***********
Benutzername : Honk
Klassenname : vB_Database


Can who help me there?

stonyarc
08-10-2007, 02:42 PM
Honk,

There was a small typo in the vbgooglmapme.php.

Please download it again and upload the vbgooglmapme.php to the server and the error should be gone.

Honk0815
08-10-2007, 02:47 PM
thanks

imported_stefan
08-10-2007, 06:07 PM
I downloaded now the version and this is the error I get:

Datenbankfehler in vBulletin 3.6.7:

Invalid SQL:
SET NAMES 'utf8';

MySQL-Fehler : Unknown system variable 'NAMES'
Fehler-Nr. : 1193
Datum : Friday, August 10th 2007 @ 09:00:55 PM
Skript : http://www.xxx/vbgooglemapme.php
Referrer :
IP-Adresse : xx.xx.xx.xx
Benutzername : ssssssss
Klassenname : vb_database

aquariumpros
08-10-2007, 08:49 PM
Updated from 2.5.1 (which was working perfectly) - however it won't run the CRON now - in AdminCP when trying to run the CRON I get:

Googlemap ME Cron
Cannot open XML File

All steps were done according to the PDF file instructions.

No markers are showing on the main map - however all previous entries are still listed out when you "List Users".


Please advise. Thanks!

stonyarc
08-10-2007, 11:11 PM
Updated from 2.5.1 (which was working perfectly) - however it won't run the CRON now - in AdminCP when trying to run the CRON I get:



All steps were done according to the PDF file instructions.

No markers are showing on the main map - however all previous entries are still listed out when you "List Users".


Please advise. Thanks!

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

aquariumpros
08-10-2007, 11:42 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
LOL -indeed that was the problem! FIXED!!

Many, many thanks for the great hack and support!!

Franky45
08-11-2007, 07:57 AM
I get also this error:
Datenbankfehler in vBulletin 3.6.8:

Invalid SQL:
SET NAMES 'utf8';

MySQL-Fehler : Unknown system variable 'NAMES'
Fehler-Nr. : 1193
Datum : Saturday, August 11th 2007 @ 10:54:11 AM
Skript : http://xxxxxx/xxxxx/admincp/cronadmin.php?do=runcron&cronid=20
Referrer : http://xxxxxx/xxxx/admincp/cronadmin.php?do=modify
IP-Adresse : xxxxx
Benutzername : xxxxx
Klassenname : xxxxxx


Please help :(

stonyarc
08-11-2007, 09:04 AM
I get also this error:
Datenbankfehler in vBulletin 3.6.8:

Invalid SQL:
SET NAMES 'utf8';

MySQL-Fehler : Unknown system variable 'NAMES'
Fehler-Nr. : 1193
Datum : Saturday, August 11th 2007 @ 10:54:11 AM
Skript : http://xxxxxx/xxxxx/admincp/cronadmin.php?do=runcron&cronid=20
Referrer : http://xxxxxx/xxxx/admincp/cronadmin.php?do=modify
IP-Adresse : xxxxx
Benutzername : xxxxx
Klassenname : xxxxxx


Please help :(

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.

hobsdv
08-12-2007, 02:26 PM
installed and working great

skepticality
08-13-2007, 11:31 AM
I love this mod,

When I installed it, it worked for about 2 days, then suddenly... I lost all my markers and such. I have looked through the threads here, even moved over the newer code update files... but I still can't run the CRON, it gives me a few errors.

--- ERROR ---

Gogglemap ME Cron

Fatal error: Call to a member function on a non-object in /home/truthin/public_html/vboard/global.php on line 241
--- END ERROR ---

I have double checked that the files are in those locations, the cronadmin.php is in the correct directory. And it has permissions of 777.

Is there something else I should focus on? :erm:

Mellow
08-13-2007, 04:46 PM
When I click the list users, they all show up as administrators.. The map itself is correct and it seems the values in the admin cp are okay as far as the markers and the ugergroup ids and even the database/table values appear fine, but the list users screen just has everyone as an admin.

stonyarc
08-13-2007, 07:51 PM
When I click the list users, they all show up as administrators.. The map itself is correct and it seems the values in the admin cp are okay as far as the markers and the ugergroup ids and even the database/table values appear fine, but the list users screen just has everyone as an admin.

A cron will force a recreate of the xml file or updating your marker

Did you change the positions of the usergroupids on your board?

Mellow
08-13-2007, 08:55 PM
A cron will force a recreate of the xml file or updating your marker

Did you change the positions of the usergroupids on your board?

I ran the cron first thing but that didn't make a difference.

I've added 1 or 2 usergroups since I disabled the previous version however they were secondary usergroups and most of the primary ones are the same.

The actual map looks perfect, it's just the 'list users' that shows everyone as administrators.

Mellow
08-13-2007, 09:17 PM
I'm not sure if this matters but I'm on 3.6.4

Gord
08-14-2007, 05:04 PM
Will there be an upgrade/fix for the Hot Spot edition?

skepticality
08-14-2007, 06:37 PM
So frustrated...

I lost all my markers, then after hours of trying to get the Cron to run... and it never did, kept giving me a 'Fatal Error' ... I walked away, then woke up today, and it all magically worked! Until, a couple hours ago. I STILL can't run the cron job to try that as a possible fix... and I've poked around for the past time and can't see anything more I can/could do!

Any ideas? :confused:

towermatt
08-15-2007, 01:27 PM
Hello--this is great. Works perfectly for me

Thanks for the mod and I can't wait to see the proximity thingy. :D

towermatt
08-15-2007, 01:48 PM
Ooops--except there is still the apostrophe issue.

If I enter text that includes the word "don't"

It comes in as "don/'t"

Spike05
08-15-2007, 04:03 PM
When I click the list users, they all show up as administrators.. The map itself is correct and it seems the values in the admin cp are okay as far as the markers and the ugergroup ids and even the database/table values appear fine, but the list users screen just has everyone as an admin.

I have the same problem!

perfphysio
08-15-2007, 04:32 PM
I there I just updated without any issue but on trying to update my own listing and hitting save I received the following error. I also get the same error when running the cron job to test it

Database error in vBulletin 3.6.8:

Invalid SQL:
SET NAMES 'utf8';

MySQL Error : Unknown system variable 'NAMES'
Error Number : 1193
Date : Wednesday, August 15th 2007 @ 10:24:51 AM
Script : http://www.physiobob.com/forum/vbgooglemapme.php
Referrer : http://www.physiobob.com/forum/vbgooglemapme.php?do=addelement
IP Address : 81.149.142.220
Username : physiobob
Classname : vB_Database

NathanLedet
08-16-2007, 01:38 PM
Can this be modified to function similarly to the Hotspot edition? I don't really need a place to show where members are, but I need a system that utilizes the google maps and puts pin points where I need them. Hotspot edition did that perfectly for me, until it was moved to the graveyard and I was told to remove it...and I can't even respond to those threads to figure out what happened, and what the vulnerability was. Was the vulnerability open for attacks even if only admins could add/remove content from the map? If not, then the Hotspots edition will work fine. Noone has permission to add anything, except me.

Otherwise, if this Member edition can act similar to the Hotspot edition in that I (the admin) can add and remove pinpoints with descriptions, then I will switch to this. Thanks :)

mlucek
08-16-2007, 05:37 PM
Definitely a sweeeeet hack. Now I just need to give my user's some instructions on how to easily add their markers. It's a bit confusing for the general populace :)

skepticality
08-16-2007, 07:16 PM
Well,

I went back from the beginning and thought maybe it would work... but I STILL get this error when I try to run the Cron....

I have to try that because even though it reports all the people who have marked their locations... the map is EMPTY! :(

--- ERROR ---

Gogglemap ME Cron

Fatal error: Call to a member function on a non-object in /home/truthin/public_html/vboard/global.php on line 241
--- END ERROR ---

I have double checked that the files are in those locations, the cronadmin.php is in the correct directory. And it has permissions of 777.

Is there something else I should focus on? :erm:

StarFire
08-17-2007, 06:15 PM
Well - works like a charm ... but my members cannot see the .png files of their position. Admin-Accounts can see them. I put on the right permissions, but nothing to see for registered users.

Any ideas?

SF

schnulli
08-19-2007, 08:01 AM
Problem:

Using updatet VB 3.6.8 Googlemapene product 3.0.0
install with no errors.


But all users can not be seen on map, there are no markers,

:confused:

StarFire
08-19-2007, 08:29 AM
Additional - if the user-positions are viewed with admin-account, the markers are perfectly visible. Watch them with a standard-user account, the markers are gone.

Userlist viewed with admin-account states that all users show up in the "admin-group", viewed with testuser-account they are in the group they are supposed to be.

This is a bit annoying ...

SF

Julrou
08-19-2007, 03:50 PM
Hi, everybody ! :)


There's a problem with the map.

I've added markers, usergroups are configurated... but markers don't load !!

Can anyone help me ?

Thanks a lot ;)



Jul

leon83
08-21-2007, 12:26 AM
Still have the problem which was answerd in the beginning (page 6 as I remember)

How to use this german translation? I would like to make Russian - but don't know how.

CThiessen
08-21-2007, 12:13 PM
Can this be modified to function similarly to the Hotspot edition?
.. me too. I am intrested in the Hotspot Edition. Will there be an update for that on?

Thanks
Christian

Julrou
08-21-2007, 12:47 PM
Hi, everybody ! :)


There's a problem with the map.

I've added markers, usergroups are configurated... but markers don't load !!

Can anyone help me ?

Thanks a lot ;)



Jul


Bump. ;)

mlucek
08-21-2007, 05:54 PM
Is there a simple way to manually add users to the map ? Most of the my users are not overly tech savvy, and it's a bit confusing to add a map marker for them.

I know I can manually edit the markers.xml file to add users, but not sure if that'll screwup synchronization with Google ?

In line with those comments, is there a simple way to add some user instructions to the "add marker" process ?

On this site :

http://www.thefloorpro.com/community/vbgooglemapme.php

There's an added an Instructions link that tells the user how to add their own marker. Was this part of V2.5.1 or did this person do that himself ??

http://www.thefloorpro.com/vbgooglemap_instructions.php

Seems to me, that if this was a custom mod, it'd sure be a nice addition to this map mod. I'll also contact the that site admin and see what they did :)

TIA !

Mike

stonyarc
08-21-2007, 09:47 PM
Normally the instructions are included in the form itself.

The siteadmin just explained it a bit more to it's users.

Manual editing is possible in the admincp. Adding is userdriven. you can always manually insert the data in the table using phpmyadmin but that would require you to have their coordinates.

curriertech
08-21-2007, 11:51 PM
I just upgraded from 3.0.0 to 3.0.1 and all my markers are gone. What'd I do wrong? :D

EDIT: Forced cron to run and weeee they're back. Me = impatient. ;)

bulbasnore
08-22-2007, 01:40 AM
Reinstalled buddy... you rock!

stwilson
08-22-2007, 02:01 AM
Stonyarc....nice script. A suggestion: It sure would be nice if this script utilized clustering for the markers. This would alleviate the slow loads on maps with lots of points. Check out this example here:

http://community.vlogmap.org/maps/worldmap

stonyarc
08-22-2007, 06:45 AM
Stonyarc....nice script. A suggestion: It sure would be nice if this script utilized clustering for the markers. This would alleviate the slow loads on maps with lots of points. Check out this example here:

http://community.vlogmap.org/maps/worldmap

Version 3.0.X was indeed just a update for some small errors.

You can preview some of the features of the version 4.0.0 on http://www.xboxlivenation.com/community/gamermap.php including that "live proximity" which calculates the physical distance.

The clustering is a very good suggestion.

Kenneth89
08-22-2007, 07:15 AM
HELP IN GERMAN

Guten Morgen,

Habe den Hack installiert, kann jedoch folgende Datei nicht uploaden: product-vbgooglemapme

Und der Link geht auch nicht, d.h. Keine Berechtigung

www.welsportal.com/vbgooglemapme.php

Vielen Dank f?r die Hilfe
Gr?sse
Kenneth

stonyarc
08-22-2007, 08:47 AM
Have you followed the instructions to the letter?

is the marker.xml set to 777 chmod?

What is the exact error you get?

Julrou
08-22-2007, 11:10 AM
Hi, everybody ! :)


There's a problem with the map.

I've added markers, usergroups are configurated... but markers don't load !!

Can anyone help me ?

Thanks a lot ;)



Jul


Anyone have an idea ???? :erm:


Please. :)

stonyarc
08-22-2007, 11:33 AM
Run the cron once to get the markers.xml filled or update your entry once

do you get a javascript error (bottom left)? on what browser?

Did you follow all instructions.

Julrou
08-22-2007, 11:45 AM
Run the cron once to get the markers.xml filled or update your entry once

do you get a javascript error (bottom left)? on what browser?

Did you follow all instructions.

OK, how do i run cron ? :newbie:



I haven't got error, i'm using Safari 3 and i followed the instructions perfectly. ;)

stonyarc
08-22-2007, 01:42 PM
OK, how do i run cron ? :newbie:



I haven't got error, i'm using Safari 3 and i followed the instructions perfectly. ;)


The cron is the scheduled task you added. You can also edit "your entry" and don't forget to click save

did you try another browser?

Is the map displaying? what's the url ?

Julrou
08-22-2007, 02:18 PM
The cron is the scheduled task you added. You can also edit "your entry" and don't forget to click save

did you try another browser?

Is the map displaying? what's the url ?

Here is my google map :

http://www.informatiquefacile.eu/forums/vbgooglemapme.php


How do i run the cron ?


I've tried to edit my entry and to save it again, but nothing happened...


Jul


Edit : i've just tried with firefox : no way...

stonyarc
08-22-2007, 02:19 PM
Please open it for guest view or PM me a test user

stonyarc
08-22-2007, 02:24 PM
Julien,

You have to upload the images to all the styles you have running.

Also you are running 2.5.2 please run version 3.0.1 which can be downloaded now.

stonyarc
08-22-2007, 02:24 PM
Julien,

Did that work out for you.?

Julrou
08-22-2007, 02:26 PM
Julien,

Did that work out for you.?

No, never. :(

You have to upload the images to all the styles you have running.

What do you mean ?

I've uploaded my images on my server.



I will try the last version. ;)

Julrou
08-22-2007, 02:33 PM
I've tried the lastest version of the googlemap (v. 3.0.1), but nothing happened.

I've configured it well, sure.

It's seem complicated, huh ?

:D

stonyarc
08-22-2007, 04:06 PM
The markers.xml is correct.

Did you set the autoapprove setting correctly otherwise you need to approve the markers in admincp.

Please check if your images are in your style

Julrou
08-22-2007, 05:44 PM
The markers.xml is correct.

Did you set the autoapprove setting correctly otherwise you need to approve the markers in admincp.

Please check if your images are in your style

Yes, the autoapprove setting is correctly set.

How can i check if images are in my style ??


Thks for your help. ;)

stonyarc
08-22-2007, 06:16 PM
Yes, the autoapprove setting is correctly set.

How can i check if images are in my style ??


Thks for your help. ;)

If you have a custom style that has images in a different dir then your default vbulletin style you'll have to upload.

I don't see javascript errors on your site. There is no other reason why it shouldn't display

Julrou
08-22-2007, 06:28 PM
If you have a custom style that has images in a different dir then your default vbulletin style you'll have to upload.

I don't see javascript errors on your site. There is no other reason why it shouldn't display

Hum, i've uploaded the images in this dir :


http://www.informatiquefacile.eu/forums/images


There's something wrong ?

I don't know what could be the problem... :/

stonyarc
08-22-2007, 06:32 PM
Hum, i've uploaded the images in this dir :


http://www.informatiquefacile.eu/forums/images


There's something wrong ?

I don't know what could be the problem... :/

I'm registered, boost my user to admin for a second

Julrou
08-23-2007, 10:54 AM
I'm registered, boost my user to admin for a second

OK.

Julrou
08-23-2007, 02:59 PM
I'm registered, boost my user to admin for a second

Done. ;)


You can access. :)

stonyarc
08-23-2007, 04:20 PM
Done. ;)


You can access. :)

Jul,

the only thing I can think of is a conflict somewhere with another mod as you have a huge load of mods there.

If I remove the $headinclude load from the template it works fine.

To look for it, disabled all products, enable googlemap and enable one by one the others test each time after you activate one.

I see flash.js loading and noche something.

Julrou
08-23-2007, 04:40 PM
Jul,

the only thing I can think of is a conflict somewhere with another mod as you have a huge load of mods there.

If I remove the $headinclude load from the template it works fine.

To look for it, disabled all products, enable googlemap and enable one by one the others test each time after you activate one.

I see flash.js loading and noche something.

Why don't remove the $headinclude from the template if it works like this ?

:confused:

stonyarc
08-23-2007, 05:11 PM
Why don't remove the $headinclude from the template if it works like this ?

:confused:

Because that also include crucial vbulletin stuff like the ajax and css stuff.

It's caused by one of the *.js files

Julrou
08-23-2007, 06:53 PM
Because that also include crucial vbulletin stuff like the ajax and css stuff.

It's caused by one of the *.js files

OK...


I let you admin permissions on my forum. If you have some free minutes, i will happy you could solve it...


I don't understand what i have to do...

Thanks a lot,


Julien
:)

Doctor Death
08-25-2007, 01:59 PM
Love this mod....

Upgraded from 2.5 to 3.0 and all worked great...

Today I updated from 3.0 to 3.0.1 and although you can list individual users it will not display any on the map.

I do have a custom template, but not sure what the relationship between this is.

Could you please give me some advice?

Thanks much

Julrou
08-25-2007, 02:03 PM
Love this mod....

Upgraded from 2.5 to 3.0 and all worked great...

Today I updated from 3.0 to 3.0.1 and although you can list individual users it will not display any on the map.

I do have a custom template, but not sure what the relationship between this is.

Could you please give me some advice?

Thanks much

It seems I have the same problem. :)

;)

klebo
08-27-2007, 07:05 PM
Hallo,

kann leider nur in Deutsch.

Habe 3.0.1 installiert. Markers 777

Mein Marker wird nicht angezeigt??? In keinem Browser.

Installation korrekt. Link im Forum korrekt. Cron korrekt.

Was kann ich tun? Fr?her hatte ich die ?ltere Version. Diese habe ich vor Installation von 3.0.1 "leider" gel?scht, statt update zu fahren. Mein Marker (als Admin) wurde aber auch da schon lange nicht mehr gezeigt.

Ich benutze nur den vB-Style !!

http://www.das-fj-forum.de

Please help me everyone. In German ??

Thanks
J?rg

stonyarc
08-28-2007, 07:28 AM
Love this mod....

Upgraded from 2.5 to 3.0 and all worked great...

Today I updated from 3.0 to 3.0.1 and although you can list individual users it will not display any on the map.

I do have a custom template, but not sure what the relationship between this is.

Could you please give me some advice?

Thanks much

The only change to 3.0.1 was the userlist fix which was 1 query.

Did you get an error (javascript or other)? If so please provide. I'm trying to simulate the error but can't seem to do so.

Doctor Death
08-28-2007, 10:08 AM
No errors whatsoever...

The map is there with no markers on it.

You can list users which works as well, it just doesnt put users on map.

I will be more than happy to provide you with admin access if you want to examine it.

http://www.ddsog.com/forums/vbgooglemapme.php


Thanks Doc

towermatt
08-28-2007, 01:36 PM
No Its still not workin on my site. I have done everything as explained in Installation Guide. marker.xml is 0777 every thing is uploaded in it is place. and Tested CRON job also. Still the Map is empty. With no marker on it...

Please Explain

This is happening to me as well. No markers on the main map and I am sure all the settings are correct.

I am running the "my location" post bit and it goes right to the users entry with marker and all, just nothing on the main map.

Shazz
08-28-2007, 01:56 PM
This is happening to me as well. No markers on the main map and I am sure all the settings are correct.

I am running the "my location" post bit and it goes right to the users entry with marker and all, just nothing on the main map.

Did you run the cron?

towermatt
08-28-2007, 03:19 PM
I did, its been running for a while now. Its funny because the were there and then just disappeared.

But I know the data is there, I have the images installed right where they should be, its kind of strange.

Feel free to have a look if you like

http://www.thedarktower.com/palaver/vbgooglemapme.php

schniggl
08-28-2007, 03:28 PM
i have the same problem...

Julrou
08-28-2007, 03:57 PM
i have the same problem...

same for me, as i've ever said.


Stonyarc, you're admin on my board, you can do everyting you want in order to solve the problem.


Thanks. ;)

towermatt
08-28-2007, 07:23 PM
And now with the upgrade, the map cannot be seen at all with IE7 :(

Map is there in firefox but no markers.

I may have to simply un install the mod which sucks because my members really love it.

towermatt
08-28-2007, 08:03 PM
I found this in the 3.5 thread for the product and it totally works!!

Edit: I found the problem with mine. A user added an image and used full html code to it which broke the XML. If you are having the same issue and can't find where it is, open http://www.yourdomain.com/yourforumpath/markers.xml with Firefox and check where the error occurs. This only applies if you had the addon working and it suddenly broke for no reason.

Remember to manually run the cron tab after editing the offending marker, otherwise the file markers.xml won't be updated right away.

Doctor Death
08-29-2007, 12:41 AM
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.

towermatt
08-29-2007, 11:15 AM
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

Ncturnal
08-29-2007, 12:43 PM
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

I've asked several times to have an option to disable the images but I haven't heard back on that yet. I know you can simply disable the text box where you input the image information but I haven't been able to find where that is yet. The remote image becomes a huge performance killer where there are a lot of images, especially if they used a slow host like photobucket.

towermatt
08-29-2007, 01:03 PM
Very true, I am encourageing people to host the image they are going to use in my sites Photo Gallery because it does the size and also is always available.

Ncturnal
08-29-2007, 01:29 PM
Very true, I am encourageing people to host the image they are going to use in my sites Photo Gallery because it does the size and also is always available.

Even with that there is still a performance hit. I think it would be better to simply link to the user's profile.

towermatt
08-29-2007, 01:32 PM
Well, there is a link to the user profile on the main tab right, so what you want is the image to be whatever their avatar is?

Ncturnal
08-29-2007, 01:34 PM
Well, there is a link to the user profile on the main tab right, so what you want is the image to be whatever their avatar is?

You're right, there is a link already. I prefer to have no images at all, or at least the option to turn them off completely.

towermatt
08-29-2007, 01:38 PM
That may be a very useful option for this thing. I am finding that most of my users don't even put something on there.

But I agree, it would be nice to have the choice to turn it off.

Julrou
08-29-2007, 01:45 PM
An i agree it would be nice that someone find what could be the reason for the problem....

TerryMason
08-29-2007, 02:36 PM
I just want to echo that my map quit listing markers, and it was do to what towermatt mentioned -

Edit: I found the problem with mine. A user added an image and used full html code to it which broke the XML. If you are having the same issue and can't find where it is, open http://www.yourdomain.com/yourforumpath/markers.xml with Firefox and check where the error occurs. This only applies if you had the addon working and it suddenly broke for no reason.

Remember to manually run the cron tab after editing the offending marker, otherwise the file markers.xml won't be updated right away.


Terry
--------
jeepz.com (http://www.jeepz.com)

Julrou
08-29-2007, 02:45 PM
And if the addon hadn't workin' before ?

:siffle:

towermatt
08-29-2007, 08:55 PM
what does it do Julrou?

You probably mentioned it above but I might be able to help somehow

dwsdad
08-30-2007, 01:02 AM
Just finished installing the files and doing all the setup. When I clicked on the link in the navbar, I got this error:

Warning: main(./includes/functions_vbgooglemapme.php) [function.main]: failed to open stream: No such file or directory in /vbgooglemapme.php on line 46

Fatal error: main() [function.require]: Failed opening required './includes/functions_vbgooglemapme.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/concours/public_html/forum/vbgooglemapme.php on line 46

HELP!!!! please......

EDIT: I found where I hadn't ftp'd the file over. Did that and it works fine now.

MISCMORE
08-30-2007, 06:28 AM
Sorry, but I don't understand how to implement the german language file:

vbgooglemapme_deutsch.xml

Thanks for your help.
MISC

Julrou
08-30-2007, 01:08 PM
what does it do Julrou?

You probably mentioned it above but I might be able to help somehow

Hi,


in fact, like some of you, the markers don't appear on the map.

Go here (registration required to see the map) :

http://www.informatiquefacile.eu/forums/vbgooglemap.php

If needed, i can put you admin, like i did for stonyarc. ;)


Thks
:zen:

towermatt
08-30-2007, 03:46 PM
Very cool site there--I will sign up over lunch and try to help out.

Have you ran the markers.xml to see if it is the problem above? Are there any entries on the map?

towermatt
08-30-2007, 07:25 PM
Wow! I can't even figure how to register on the other language.

<---lame

If you would like to set me up with a sign on, I will get in and see what I can do.

Alien
08-30-2007, 08:26 PM
This will change in the new version currently in dev.

Hey stony, it's so great to see this one updated...

I didn't see this mentioned in the fix history, but did you get the 'findme doubles queries in showthread' issue taken care of yet? Or should I just update and still get rid of this one hook?

Thanks again for keeping this updated!

Doctor Death
08-30-2007, 09:12 PM
My markers file has no bad XML tags in it...

So where do you think I should go from here? Was working perfect until this last upgrade and now the map has no markers on it, but doesnt create errors.

The LIST USERS function works and shows all users and their data. You can edit the file and save but it still doesnt show.

Please give me hope that I wont have to uninstall this great mod.

dutchbb
08-30-2007, 10:48 PM
It was working great, untill about ten members marked their location and suddenly all markers disappeared. The member data is still there but it does not show on the map.

So this mod is not bug free, I just like to state that for who is thinking about using this.

Julrou
08-31-2007, 01:35 PM
Wow! I can't even figure how to register on the other language.

<---lame

If you would like to set me up with a sign on, I will get in and see what I can do.

Thanks for registered ! :)


Woud you like i put you admin ?


Thanks for your help, guy. ;)

towermatt
08-31-2007, 08:00 PM
My pleasure, go ahead and give me admin privileges if you like. I would be happy to poke around and see if I can fix it.

Julrou
09-01-2007, 02:59 PM
My pleasure, go ahead and give me admin privileges if you like. I would be happy to poke around and see if I can fix it.

It will be done in few minutes.
Thks, man.

:zen:

towermatt
09-02-2007, 09:25 PM
Hmmm...I seem to be pulling an error when I sign into the forums, I can get into the admin panel but I cant pull down the "extras" menu to see the member map

Ronseal
09-02-2007, 09:40 PM
Hi guys, after long watching why the markers doesnt show i went to conclusion that something is affecting the page to show the markers.
So i tried to remove things from the page and finally i managed to Show the map correctly including the markers and all the rest info.
The thing i did is going to my templates and i edited the VBGOOGLEMAPME template by removing the $footer in the end of the file.

I still doesnt know why the footer does the tricks (i try now to remove elements from footer) to the Addon but honestly im damn happy that all working fine.. i suppose some hack or addon interfears with the API or something simillar.

The same trick for me worked for the HotSpot Edition also and the only problem i have now in both addons is the if you add Greek things in your Entry they show in the map as Japanese... well i suppose i can leave with this for a bit of time.

I hope i helped some people.

Hi,
This single reference, out of 32 pages, regarding the deletion of the $footer from the vbgooglemapme template has sorted my installation, thanks a million. Although I have absolutely no idea why it makes the markers appear...

Thanks again.
Ronseal

Julrou
09-03-2007, 10:06 AM
Hmmm...I seem to be pulling an error when I sign into the forums, I can get into the admin panel but I cant pull down the "extras" menu to see the member map

Hi :)

I don't know why you have this error ? :confused:

It works fine for me.

Hum, you can also access to the member map edition thanks to the link at the right of the home page (this column is intituled "Bonus des forums"). :)

The link is "Carte des membres", under iSpy. ;)

towermatt
09-03-2007, 04:19 PM
I'll give it a try.

Have you tried the solve above. Getting rid of the $footer in that template?

VBGOOGLEMAPME

Doctor Death
09-05-2007, 09:40 PM
I'll give it a try.

Have you tried the solve above. Getting rid of the $footer in that template?

VBGOOGLEMAPME

I did and it did NOT work.

Where is the author during all of this? Seems his update has an embedded error which is probably caused by a very simple oversight/coding error.

Sure would like to hear what he has to say about why this update has rendered all of our plugins inop.

Doc

towermatt
09-06-2007, 04:30 PM
Did you try the "markers" fix Doc?

I agree with the statement on the designer but its nice to have a few options to try

darkdiver
09-07-2007, 05:08 AM
hi folks,

sorry for my bad english, but if i use the highslide and googlemap and i got problems with the "pins" in the map from googlemap. I allreday have made the update from googlemap but without success.

Some suggestions?

Eric

Some help for me ?

Julrou
09-07-2007, 08:40 AM
I'll give it a try.

Have you tried the solve above. Getting rid of the $footer in that template?

VBGOOGLEMAPME

Hi !
Yes, i've tried to get rid of the $footer in that template, but whithout any success... :(

Doctor Death
09-07-2007, 09:02 AM
Did you try the "markers" fix Doc?

I agree with the statement on the designer but its nice to have a few options to try


Yes tried both the markers and footer fixes, neither worked. This had been working well for a long time through several updates until this one.

msudawgs64
09-08-2007, 02:08 AM
forgive me if this has been asked and if so just point me to the post itself but why would the pins just stop showing up? I installed this early this week and for pretty much the entire week they were there, members were adding their info and it was giving the correct pin color based on user group so I know I installed it correctly, but when I look today, no pins but the users are all still there. Any help or insight would be appreciated.

Julrou
09-09-2007, 07:54 AM
Towermatt, stonyarc, any ideas for this problem ?

I'm really bored with this... :/

darkdiver
09-09-2007, 07:57 AM
hi folks,

sorry for my bad english, but if i use the highslide and googlemap and i got problems with the "pins" in the map from googlemap. I allreday have made the update from googlemap but without success.

Some suggestions?

Eric

Some help for me ?

Julrou
09-09-2007, 08:06 AM
Hey !

I use highslide too, and i've the same problem.

Doctor Death
09-09-2007, 10:51 AM
Towermatt, stonyarc, any ideas for this problem ?


I'm really bored with this... :/


These issues have been around since the deadly update which killed display of pins. No one seems to have a good appreciation for the problem or sense of urgency to fix.

I think the developers must be on vacation, so until a good fix, I will disappointedly have to uninstall.

Reinhart
09-09-2007, 03:11 PM
Any word on the "Show on Map" and FindMe features not zooming in on coordinates problem yet?

Maybe I missed it in the 105 pages of replies.

I noticed 5-10 people having the same problem though.

towermatt
09-09-2007, 04:18 PM
Towermatt, stonyarc, any ideas for this problem ?


I'm really bored with this... :/

I'm just a guy who has it working on my site and is trying to help out. :D

Really wish we could come up with a solve for you guys though, my members love it.

msudawgs64
09-10-2007, 04:31 AM
These issues have been around since the deadly update which killed display of pins. No one seems to have a good appreciation for the problem or sense of urgency to fix.

I think the developers must be on vacation, so until a good fix, I will disappointedly have to uninstall.

yes, I will have to do the same since showing a map of the world, I really don't need or want.

bplinson
09-11-2007, 11:46 AM
This is strange. I have the can't see the markers problem also when I go to YOUR ENTRY I can see my marker.

I sure hope someone finds a fix for this soon.

citroenar
09-11-2007, 11:48 AM
I want to make it so that only admins and registered users show in the legend, as all other groups cannot view the map.



I want to remove some usergroups from the list in legend too.any help?

bplinson
09-11-2007, 11:55 AM
Go to Vbgooglemap ME in your admin control panel

Click on "ME Usergroup marker"

For the usergroups that you do not want to show click on "Edit this usergroup"

Set "Show usergroup on legend" to NO and click UPDATE

citroenar
09-11-2007, 03:04 PM
Yes, how could I miss that?
Thanks!

Kenneth89
09-12-2007, 10:04 AM
Have you followed the instructions to the letter?

is the marker.xml set to 777 chmod?

What is the exact error you get?

Yes i have Set this on 777

See on: http://www.welsportal.com/vbgooglemapme.php

A printscreen:

Ronseal
09-12-2007, 03:24 PM
forgive me if this has been asked and if so just point me to the post itself but why would the pins just stop showing up? I installed this early this week and for pretty much the entire week they were there, members were adding their info and it was giving the correct pin color based on user group so I know I installed it correctly, but when I look today, no pins but the users are all still there. Any help or insight would be appreciated.
I'm in the same position....
I've had the map installed for a week and all was fine in testing, so I released it to the forum today and after only 35 entry's the markers have disappeared on the main map view. Usually I'd just uninstall a mod that doesn't work and look for an alternative, but unfortunately I've paid StonyArc 30 EUR for a branded free version, which I was happy to do untill now! :mad:

I'm sure we would all like a little support on this marker issue as it's a show stopper for me and I've had to take the Map offline to prevent my board from sending me complaint emails.

towermatt
09-12-2007, 05:26 PM
have you guys tried running the markers.xml to make sure no one has entered a link that doesn't work?

It should show errors in there.

I am assuming you have but I figured I would throw this out here.

hopefully it isn't a "senseless post"

Julrou
09-12-2007, 06:30 PM
have you guys tried running the markers.xml to make sure no one has entered a link that doesn't work?

It should show errors in there.

I am assuming you have but I figured I would throw this out here.

hopefully it isn't a "senseless post"

Indeed, it isn't a senseless post, cos i've not tried running the markers.xml...

I don't know how to do this ? :confused:


How do we see if there are errors in it ?

yoyoyoyo
09-12-2007, 07:17 PM
Is there a way to add a variable for when the user has added themselves to the googlemap? I tried adding the $post[findme] in the dhtml member menu in postbit with this code:
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option">$post[findme]</td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>however if they have not added themselves to the googlemap then the table row just shows a blank selection - I want the <tr> to only be parsed if the user has added themselves to the googlemap - is there an available conditional in this hack? Any help is appreciated.

http://img339.imageshack.us/img339/4708/dhtmlcx2.jpg

towermatt
09-12-2007, 07:44 PM
Indeed, it isn't a senseless post, cos i've not tried running the markers.xml...

I don't know how to do this ? :confused:


How do we see if there are errors in it ?

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.

Ronseal
09-12-2007, 09:18 PM
Thanks Towermatt for trying to help, but running the markers.xml just brings up my portal page which currently has no link to my map install so I don't see why the markers.xml is of any use here?

towermatt
09-12-2007, 09:25 PM
Hmmm, that may be the problem then. Have you checked your server to make sure the markers.xml is in the forums folder?

It really should bring up a page that shows the "entries" on your map

Ronseal
09-12-2007, 09:43 PM
Sorry Towermatt, I typed 'forums' instead of 'forum' whilst testing your last instruction.

Right then you're onto something now, I have an error on one of the entry's, it reads:

A semi colon character was expected. Error processing resource 'http://www.ducatisti.co.uk/forum/markers.xml'. Line 29, Po...

And I think I can see what's wrong if I read the markers.xml file....

This is the line with the error:
<marker mapid="29" title_map="Fred" lng="-3.5971641540527" lat="50.550280590038" userid="1245" username="Fred" text_map="blah blah blah" type="red" pimage="http://www.mysite.com/forum/vbgooglemapme.php?lat=50.55028059003783&lng=-3.5971641540527343" />
This is the next line and it works:
<marker mapid="30" title_map="bob" lng="-2.7019500732422" lat="52.040454864151" userid="2690" username="Fred" text_map="blah blah blah" type="red" pimage="http://www.mysite.com/forum/images/googlemapme/noimage.png" />

For some reason Line 29 has appended the lat and lng to the end of the pimage, not sure why, but I've corrected the line and all works perfect again and my Markers are back on display....... Towermatt, you're a Super Star, thanks a million!

Ronseal
09-12-2007, 10:16 PM
Just to add to the above obviously just editting the markers.xml isn't going to fix much so I had to correct the error on line 29 within the database, it all seems to work now..... well at least for the moment!....

towermatt
09-12-2007, 11:14 PM
I'm just glad to hear we got someone going. :nanadance:

I may have to come back and find out about that database fix if mine poops out again.

How did you correct the error?

GeekDrew
09-13-2007, 02:05 AM
I just installed this a couple of days ago, and the first couple of users that tried to use it (other admins of mine, as I like to do extensive testing) managed to break the pins, because of the XML validation error that others have referenced as "running the XML file".

The cause of the problem is that the pimage link isn't being parsed safely for XML.

Here's a fix that I think will work (at least it works for me -- I do NOT guarantee this, if it causes spontaneous combustion, fire, death, etc., I'm not to blame):

*** I JUST SAID THAT I DO NOT GUARANTEE THIS WILL WORK. I DISCLAIM ALL LIABILITY. YOU MUST BACK UP YOUR DATABASE AND ALL OF THE FILES RELATED TO THIS MODIFICATION, SO THAT YOU CAN RESTORE THEM IF NECESSARY. ***

In /forums/includes/cron/vbgooglemapme_cron.php:

Find:
while ($get_xml_marker = $vbulletin->db->fetch_array($get_xml_markers))

Immediately ABOVE the text I have quoted, place the following text:


This quote has been removed because I failed to consider HTML rendering. See the text here, so that it is properly parsed: link (http://www.andrewmstemen.net/vbgooglemapme_hack.txt)


In the same file, find this:


if ($get_xml_marker["pimage"]!='')
{
$pimage = $get_xml_marker["pimage"];
}
else
{
$pimage = $bburl."/images/googlemapme/noimage.png";
}


Immediately BELOW the text that I have quoted, place this:


$pimage = parseToXML($pimage);


That should render all entities in the 'pimage' field safe for XML, so it will validate. However, that script is only called when the CRON job is executed... when someone edits their entry online, a different copy of that same script is called (which is really bad form, in my opinion, but hey, I didn't develop this...). That second copy is located at /forums/includes/functions_vbgooglemapme.php. You need to make the exact same changes in that file as I have mentioned above.

Now... I am not claiming that this will solve everyone's issues. It more than likely will not. It will, however, fix problems with 'pimage' being the reason that the XML won't validate. I think that this will probably fix the problems that quite a few of you are happening.

msudawgs64
09-13-2007, 06:13 AM
ronseal, awesome find. Thanks for that post, I followed your posts and sure enough I had the same thing going on. I was able to edit both the xml file and then edited that entry in the database and now the pins show again. Thanks, I like the map and really did not want to uninstall it.

Ronseal
09-13-2007, 08:35 AM
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?

Julrou
09-13-2007, 09:04 AM
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.


Hum, when i go to http://www.informatiquefacile.eu/forums/markers.xml

i got a blank page... :confused:
Did i miss something ?

Ronseal
09-13-2007, 09:05 AM
Just got the following error with your fix Geekdrew, any ideas?

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/my_site/public_html/forum/includes/cron/vbgooglemapme_cron.php on line 39

and line 39 was one of your additions: $xmlStr=str_replace("&",'&amp;',$xmlStr);