PDA

View Full Version : Major Additions - VBGooglemap Member Edition


Pages : [1] 2 3 4 5

stonyarc
05 Aug 2006, 22:49
http://www.stonyarc.com/vbgme_logo.jpg
Version 3.0.1 is currently available

This is the tested port of my 3.5.x version h(http://www.vbulletin.org/forum/showthread.php?t=99920)

You can now nominate hacks yourself for hacks of the month. There is a link on the right of hacks on top of the files.

Function
This will display the members of the Bulletin Board based on their lattitude and longitude coordinates on a googlemap.

Don't forget to hit install !!!!!!!
Please read the guide before asking for support !!!!!!!

Feel free to support this mod and make a paypal donation to admin@stonyarc.com

INSTALL (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=123148)

Detailed installation instructions and screenshots in the included pdf file.

Current Features

https://www.vbulletin.org/forum/external/2008/09/9.png

NOTE:
VBGooglemap 3.0.0 contains the vulnerability fix. Please upgrade immediately. Version 3.0.0. also contains all features from 2.5.X

As always you use modifications at your own risk.

VBGooglemap Member Edition 2.5.x brings you a lot of new features. Its vital that you uninstall any previous version before upgrading/installing version 2.5.x.

Upgrading from version 2.5.0 is easier. Instruction are available in the guide.

As the uninstall function will not remove your googlemap data in the database but only the templates and files you can safely remove an older version. As a precaution you should always take a backup. This should be done on each major change you make to your bulletin board.

IF YOU ARE RUNNING VERSION 1.0.3, 2.0.X AND YOU CHANGED TEXT DIRECTLY IN THE TEMPLATES YOU NEED TO SAVE YOUR CHANGES AS VERSION 3.0.0. REQUIRES YOU TO UINSTALL PREVIOUS VERSIONS.

This has taken quite some work and still will take a lot more. Please give credit where credit is due. You cannot remove any notice without prior written permission.

Changes in this version

SEE FIRST POST FOR FULL ROADMAP AND HISTORY

Planned Features
- TBD

Volume warning

high volume of users may slow down the load. Currently a load counter is included.

Languages

Thanks to Wachtmeister there is a German translation available to you all. Feel free to use it.

The translation will be updated on each new version.

Special

- Read the attached PDF for more information. The pdf is also included in the zip file.
- You'll need a googlemap key for your domain. Get your own key for your domain view http://www.google.com/apis/maps/signup.html for more information.
A googlemap key is only valid for a specific domain. You'll need a specific google account to create one.
All is explained on the googlemap link indicated above.
- Set the file permissions on the marker.xml file to 777
- The googlemap script can handle non-registered users. They will only see the main map and won't be able to enter information. This is reserved for logged in users (detected automatically)
- usergroup permissions are available in the backend
- To change location just drag the map while holding the left mouse key or by using the zoom and key functions on the left
- First time loading of the map may take a few seconds longer because of Google API hosting



Special Xbox Live version
http://www.xboxlivenation.com/community/gamermap.php

Credits

This has taken quite some work and still will take a lot more. Please give credit where credit is due. You cannot remove any notice without prior written permission. Instructions are included in the pdf file.
Special credits to Google, Pyg for the javascript tips.


FAQ

The FAQ is included in the pdf file.

INSTALL (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=123148)



Feel free to support this mod and make a paypal donation to admin@stonyarc.com

https://www.vbulletin.org/forum/external/2007/08/10.gif (https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=admin%40stonyarc%2ecom&no_shipping=0&no_note=1&tax=0&currency_code=EUR&bn=PP%2dDonationsBF&charset=UTF%2d8)

(c) 2007 Stonyarc

stonyarc
05 Aug 2006, 22:56
This is the port / tested version of my 3.5.X version.

The 3.5.X should work fine too if you upgrade (if you are already running this mod).

P.Jackson
05 Aug 2006, 23:14
Great work thanks!

nix
06 Aug 2006, 00:05
Thanks for porting this over!

DS MrSinister
06 Aug 2006, 02:38
i am getting this error in my admincp vbullletin options under Image Settings and User Listing & Profile Viewing.. it goes away if i delete all the files from your two hacks. this one and the hotspots. any ideas on getting this to go away.





Warning: Invalid argument supplied for foreach() in /includes/adminfunctions_options.php on line 124

unitedpunjab
06 Aug 2006, 03:18
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

Snake
06 Aug 2006, 08:35
Wow thanks for this!

stonyarc
06 Aug 2006, 09:12
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

Did you check the approval settings ? Please post a link

stonyarc
06 Aug 2006, 09:14
i am getting this error in my admincp vbullletin options under Image Settings and User Listing & Profile Viewing.. it goes away if i delete all the files from your two hacks. this one and the hotspots. any ideas on getting this to go away.





Warning: Invalid argument supplied for foreach() in /includes/adminfunctions_options.php on line 124


This is an error that is also reported on vbulletin.com and without any relation to my hacks. It has something to do with the bitfields in 3.6.0.

Best to check the thread on there.

unitedpunjab
06 Aug 2006, 11:17
Did you check the approval settings ? Please post a link

I have alrdy key from google....alrdy entered in the map settings. The Cron job i created is like this...

Varname Gmap
Title VBGooglemap Member Edition
Description Nil
Log Phrase Nil
Day of the Week *
Hour *
Minute 10
Active Yes
Log Entries No
Filename ./includes/cron/vbgooglemapme_cron.php
Product vbgogolemap member edition by stonyarc

Markers are set for users and every other usergroup. still nothing show up on the map.


Link is here: http://www.unitedpunjab.co.uk/vbgooglemapme.php

Mudvayne
06 Aug 2006, 12:12
Upgraded for 3.6.0 thanx :p..

firstrebel
06 Aug 2006, 12:24
I have a number of problems having upgraded to vB3.6 and this Googlemap ME version. From the attached image you can see all the side images are missing, and clicking on 'Properties' for each shows the same image for each panel: mm_20_.png

None of the markers are there, they are all black smudges.

There are also two vbgooglemapme.php files in the zip.

Bob

stonyarc
06 Aug 2006, 13:46
I have a number of problems having upgraded to vB3.6 and this Googlemap ME version. From the attached image you can see all the side images are missing, and clicking on 'Properties' for each shows the same image for each panel: mm_20_.png

None of the markers are there, they are all black smudges.

There are also two vbgooglemapme.php files in the zip.

Bob
1. If you are using different styles make sure you install the images in that styles dir too
2. Before starting you have to set the color for each usergroup and configure what usergroup is to be shown in the legend

That should fix it for you

firstrebel
06 Aug 2006, 14:12
Excellent, thanks.

Bob

unitedpunjab
06 Aug 2006, 17:04
1. If you are using different styles make sure you install the images in that styles dir too
2. Before starting you have to set the color for each usergroup and configure what usergroup is to be shown in the legend

That should fix it for you

Wat happened to my request ??

steven s
11 Aug 2006, 02:39
This is an error that is also reported on vbulletin.com and without any relation to my hacks. It has something to do with the bitfields in 3.6.0.

Best to check the thread on there.Sorry, but I am getting the same problem and it causes some check boxes not to appear.
When I remove /includes/xml/bitfield_vbgooglemap.xml , that corrects the problem in forums home page options

da420
13 Aug 2006, 06:29
I click run on the scheduled tasks, and this is what I get.

VBGoogle Map Member Edition

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

Warning: Cannot modify header information - headers already sent by (output started at /home/mindand4/public_html/forum/includes/adminfunctions.php:255) in /includes/cron/vbgooglemapme_cron.php on line 64

Warning: Cannot modify header information - headers already sent by (output started at /home/mindand4/public_html/forum/includes/adminfunctions.php:255) in /includes/cron/vbgooglemapme_cron.php on line 66

Warning: Cannot modify header information - headers already sent by (output started at /home/mindand4/public_html/forum/includes/adminfunctions.php:255) in /includes/cron/vbgooglemapme_cron.php on line 68

Warning: Cannot modify header information - headers already sent by (output started at /home/mindand4/public_html/forum/includes/adminfunctions.php:255) in /includes/cron/vbgooglemapme_cron.php on line 69

Warning: Cannot modify header information - headers already sent by (output started at /home/mindand4/public_html/forum/includes/adminfunctions.php:255) in /includes/cron/vbgooglemapme_cron.php on line 71

Done

da420
15 Aug 2006, 01:30
Is this one of these hacks that have been abandoned? Cause this is a wonderful hack, but without support, not everyone will get the chance to use it. :( I sure hope it's not one of those hacks.

steven s
15 Aug 2006, 11:29
I click run on the scheduled tasks, and this is what I get.

VBGoogle Map Member Edition

Warning: Cannot modify header information - headers already sent by (output started at /home/mindand4/public_html/forum/includes/adminfunctions.php:255) in /includes/cron/vbgooglemapme_cron.php on line 20
.
I don't show the cron job in my scheduled tasks page. I do have it in the cron directory.

I also can't get the first entry to appear.
http://www.bronxroots.com/vbgooglemapme.php
But http://www.bronxroots.com/vbgooglemapme.php?do=list shows me.
Not meaning to hijack the thread.
In my marker file googlemapme/noimage.png

Edit: Added the cron job, still no entry.

I have this problem with other installs and in the hot spot edition.
Not to hijack this thread, in my marker file is show googlemapme/noimage.png

Jayphen
15 Aug 2006, 15:35
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 would also like to remove the 'image' part of the balloon - what is that for anyway??

swantonio
17 Aug 2006, 21:00
Sorry, but I am getting the same problem and it causes some check boxes not to appear.
When I remove /includes/xml/bitfield_vbgooglemap.xml , that corrects the problem in forums home page options


this problem there and' I also have him me we hope that is resolved as soon as possible

Aclikyano
19 Aug 2006, 02:55
great hack... but....

[List users] (doesnt show my "marked location") yet [Your Entry] when clicked on is filled out...
[Show Main Map] shows a map ... but not my 'marked location'....

I added the cron job (in admin cp)....ran it like you said....
markers.xml is in the /forums (directory) with .777 chmod
there are 7 Entries when clicking on (List Users) YET on the right hand side it says....
Load: <- says nothing... theres supposed to be a number right??
Current markers: 0 <- ?? but theres 7 entries in list users
Current Zoom level: 3

(so something should definitly be showing)
I dont know whats up...

Aclikyano
20 Aug 2006, 03:53
24 hour ... ^ bump :tired:

EDIT: It seems to strangly be working now after I did..........

(list users) / (edit) / Using normal URL / highlighted the url in place / COPY + PASTED IT in the "URL of the image for the marker" BOX..........................


.............went back to the map (refreshed) then it worked....

version2
22 Aug 2006, 18:55
This is an error that is also reported on vbulletin.com and without any relation to my hacks. It has something to do with the bitfields in 3.6.0.

Best to check the thread on there.
No, I think this is someting you are going to have to deal with:

http://www.vbulletin.com/forum/showthread.php?t=196352&highlight=adminfunctions_options.php

Phaedrus
23 Aug 2006, 00:50
How does this work? Do the members put in their own coordinates?

Ncturnal
23 Aug 2006, 02:27
I got it installed and it looks great! One small issue.....any idea why the $post[findme] link only works for admins?

EDIT: Nevermind on the findme. I had it between a if /if statement. One thing we would like to do though is remove the usergroup from the list view. We don't want people knowing who the admins are.

ktp101
23 Aug 2006, 03:44
installed and works fine other than i cannot add a marker, i know its down to me not editing the file permissions to '777'.

so my only question may be stupid but can someone tell me how to edit the file permissions for marker.xml to 777?

Phaedrus
23 Aug 2006, 03:46
Installed and working...

I edited the permissions by opening the XML file in an editing tool and adding 777 between the markers...

Ncturnal
23 Aug 2006, 03:54
installed and works fine other than i cannot add a marker, i know its down to me not editing the file permissions to '777'.

so my only question may be stupid but can someone tell me how to edit the file permissions for marker.xml to 777?

Most FTP clients have this ability. I use CuteFTP, but others should offer the funtion as well. In CuteFTP, when you right-click a file on the web server, CHMOD is one of your options. If you have direct server access, you can use CHMOD from the command line.

ktp101
23 Aug 2006, 03:56
Most FTP clients have this ability. I use CuteFTP, but others should offer the funtion as well. In CuteFTP, when you right-click a file on the web server, CHMOD is one of your options. If you have direct server access, you can use CHMOD from the command line.

i also use CuteFTP but this is not something i have done before, i will try. thanks in advance.

edit: that was easy. thanks again.

haddockman
24 Aug 2006, 03:21
I am up to step 7 and am in trouble. Where in the Navbar do you need me to put that code?

Also Step 8 has me lost.

Any help would be appreciated.

Thanks

Ncturnal
24 Aug 2006, 03:49
I am up to step 7 and am in trouble. Where in the Navbar do you need me to put that code?

Also Step 8 has me lost.

Any help would be appreciated.

Thanks

You put it wherever you want the link to show up. You'll have to have some understanding of the code to figure that out. Step 8 is basically the same thing. The $post[findme] code is like a variable for a link that will read My Location. You can see an example of it on my board for the members who have added their location.

http://www.mr2board.com/forums/site-announcements-questions-comments/Toyota-MR2-8682-where-world-you-announcing-google-maps-mr2board-com.html

What is your website? Do you have AIM? I can probably walk you through it if you do.

haddockman
24 Aug 2006, 04:07
Thanks for the offer

PM sent :)

Troy Roberts
24 Aug 2006, 19:23
How about an option to show the member's profile picture for the image?

Phaedrus
25 Aug 2006, 00:29
The members appear to really like this one...

kall
25 Aug 2006, 05:53
This is an error that is also reported on vbulletin.com and without any relation to my hacks. It has something to do with the bitfields in 3.6.0.

Best to check the thread on there.
Given that it disappears when removing the bitfields from your hacks, I tend to think that it is more your hacks not being written to follow the vB way, rather than a vB 'bug'.

*edit* Hmm.. perhaps it was a combination of this hack and another.. seems to be working fine with the lastest version.

Apologies for casting aspersions on your hack sir. :)

Although, it might be an idea to not use the vb_ prefix...

andreamarucci
26 Aug 2006, 17:10
Thanks Stonyarc for this wonderful hack. Hust a question. Is it possible to disable the possibility to insert an image in the marker so that only the text is shown?

byrom
26 Aug 2006, 18:15
hello!


I put my API code in the admincp settings for the google map about 3 days ago and nothig...

do i have to do somthing more? do i have to put the API key in other place to the map apers in my forum?

Anyone can help me please?


Kind regards and thaks to you all and the great job

Hunne
26 Aug 2006, 21:57
you need an API-key from google. This key only works for the exact domain you entered on google

byrom
27 Aug 2006, 01:01
yes ok but i already have my Api key for my domain several days ago, about 3/5 days ago and nothing and i dont know why! :s

da420
27 Aug 2006, 04:37
yes ok but i already have my Api key for my domain several days ago, about 3/5 days ago and nothing and i dont know why! :s

You have to add your location in manually by going to "Your Location" in the map of course, but if you have already done that then did you click the auto approve or check the Approval log in the ACP ?

Cajun
28 Aug 2006, 11:15
Very nice mod. How can I get the xbox version?

Vertippsel
30 Aug 2006, 11:13
Hello,

first of all, THANKS for this great modification. I'm running vBulletin 3.6.0 and installed the map last night. All is working fine!
But one tiny problem: I also downloaded the german *.xml, tried to install it - and got the error: *invalid file*.

Is the german *.xml not compatible with the map?

How could I translate myself? I tried already to translate the phrases but this only takes effect in the Admin-CP. As nearly none of our users is able to read english, it would be great, if you could let me know, where I find the phrases for the map.

Thanks in advance.

Best regards
Vertippsel

Edit: Some people are really too stupid (me for example..) :confused: I made changes in a local copy of the product...xml and that's why the changes couldn't take effect :) . No problems any more!

Lefteris23
30 Aug 2006, 17:44
Hi,

I have the same problem as some others...
I cannot add any entry.

Entries from accounts are added, however markers do not appear on the map.

Marker.xml has 777 permissions, so ther problem is not there.
Any ideas?!?

EDIT:
2 mins later I got it:
This works like a moderated thread if you have the option "Auto approve additions to the map" set to OFF.

You need to aproove additions manualy by going to the Vbgooglemap ME-->ME Unapproved view and approove entries.....

EasyTarget
30 Aug 2006, 21:02
thanks for the port, this is a great hack.

I had this installed before I had it linked in the postbit but now I can't seem to find the code for this. Can someone help me out?

*edit* nm.. found it in the pdf.

I 2nd the motion to increase the zoom level of the postbit link or make it customizable.

unitedbreaks
31 Aug 2006, 04:00
great add-on!

Everything is working well, the only thing that isn't showing via new/old posts is the variable $post[findme]. I placed it in postbit_legacy (one I'm using) and its null within post.

help , thanks!

EasyTarget
31 Aug 2006, 20:59
the link works for me, but it just links to the normal view of the map, not to the users actual location.

AyeCapn
31 Aug 2006, 22:14
This thing is awesome. We try to encourage users to get together for group meetings, so this will be invaluable!

AyeCapn
31 Aug 2006, 22:22
great add-on!

Everything is working well, the only thing that isn't showing via new/old posts is the variable $post[findme]. I placed it in postbit_legacy (one I'm using) and its null within post.

help , thanks!I had the same thing. IT only appears when a member picks their location on the map :)

stonyarc
01 Sep 2006, 23:51
I had the same thing. IT only appears when a member picks their location on the map :)

I'll have a look

JoeWho
02 Sep 2006, 19:13
Hi,

Does anyone know how to add the user-link (like in Postbit ) to memberinfo (Template: MEMBERINFO) ????


<!-- Show googlemap In memberinfo -->
$post[findme]
<!-- / Show googlemap In memberinfo -->

Thanks for any and all help with this.

swiss
03 Sep 2006, 05:13
installed this but i have one issue.

I can not see the pin on the main map screen just a faint shadow. Yet if i click on your entry the red marker pin shows.

Any ideas how to fix this as its driving me mad.

da420
03 Sep 2006, 06:18
What do you mean exactly? Can you show me a link to the map?

GrendelKhan{TSU
04 Sep 2006, 12:51
google announced its going to start charging $0.25 per 1000 quota units for use of its API.

doin't know if that will affect anyone with Google api plugins (like this one or hotspot edition)...but just letting yall know. be aware.

steven s
04 Sep 2006, 13:25
google announced its going to start charging $0.25 per 1000 quota units for use of its API.

doin't know if that will affect anyone with Google api plugins (like this one or hotspot edition)...but just letting yall know. be aware.
Looks like it won't effect us.
http://www.google.com/apis/adwords/
Yet.

Ncturnal
05 Sep 2006, 19:58
I would also like to remove the 'image' part of the balloon - what is that for anyway??

I'd like to to get rid of the image funcitonality as well. If they link to an image on a slow host, it can take a really long time for the map to render. I'd rather do away with that.

How about an option to show the member's profile picture for the image?

That would be a better alternative.

OziloZ
05 Sep 2006, 23:39
I did everything right but there is no map.
http://mygeyiq.com/forum/vbgooglemapme.php

izz
07 Sep 2006, 08:20
I had a very bad experience with this hack

After installing it, all bbcodes where disabled and no longer parsed.
I had to remove all the xml files of the hack added in includes/xml folder

Did anyone face the same issue?

kall
07 Sep 2006, 08:49
I did indeed. I stll do. :(

I guess it has something to do with the unauthorised use of the vb_ prefix.. or something.

The xml looks fine, but throws errors that remove certain sections of the Show All Options in your vBulletin Options.

izz
07 Sep 2006, 09:18
After installed the hack I noted this php warning in admin options just above bbcode options section:

Invalid argument supplied for foreach() in /includes/adminfunctions_options.php on line 124

This may help the programmer to invistigate

mvulcan
07 Sep 2006, 17:03
After installed the hack I noted this php warning in admin options just above bbcode options section:

Invalid argument supplied for foreach() in /includes/adminfunctions_options.php on line 124

This may help the programmer to invistigate


Same thing here...
wonder how this may be adversly affecting the site. :(

pipin
09 Sep 2006, 08:44
found a minor glitch.

if the username contains a character like ' you get a mysql error.

Datenbankfehler in vBulletin 3.6.0:

Invalid SQL:

INSERT INTO googlemapme
(userid,username,usergroupid,title_map,text_map,lat_map,lng_map,pimage,approve) VALUES ('2514','D'Espice','6','D\'Espice','Der Leitende','48.16608541901253','11.6015625','',
'1');

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 'Espice','6','D\'Espice','Der Leitende','48.16608541901253','11.

Jeordie015
10 Sep 2006, 03:18
Is there a way to make it so you aren't required to put in any information when adding your pin?

Falcon Capt
10 Sep 2006, 21:20
I inserted the $post[findme] in my legacy postbit and it works properly.

What I would like to do is have it display a small icon instead of a text link ("My location") in the postbit. I would like to have this icon be the "button" that is pushed to cause the map to come up and display that persons marker.

I have tried a bunch of ideas and got one to work (modified the phrase that was generating the "My location" text and put the image link in it instead) but it caused a problem when someone went back to edit their location, the map wouldn't display.

I can't figure out what the $post[findme] is actually calling...

Any help would be appreciated!

Lionel
11 Sep 2006, 09:27
After installed the hack I noted this php warning in admin options just above bbcode options section:

Invalid argument supplied for foreach() in /includes/adminfunctions_options.php on line 124

This may help the programmer to invistigate

I also have the same problem, and looks like we are not the only ones

http://www.vbulletin.com/forum/showthread.php?t=194295&highlight=%2Fincludes%2Fadminfunctions_options

Lionel
11 Sep 2006, 09:55
Looks like this error happens if you have both editions. Regardless of the one you delete, the error disappears.

It appears there is a name conflict.

I *think* it's because he's got the same name "customadminperms" as settings for both editions. I altered the administrator table and added customadminmeperms as settings and I reflected the name change in the includes/bitfield_vbgooglemam.xml and no more error.

don't go and to the same until someone says it's ok :-)

kylek
11 Sep 2006, 18:20
Wierd, Tried 2 times to get this working, both times the markers would not show on the map. Uninstalled and tried again last night, everything works fine. Only difference is this time I used a new google key.

Schahab
13 Sep 2006, 08:31
Hello,

is it possible to open the VBGoogleMap in an own windows, wihtout the layout of Vbulletin? I ask, becuase my VBulletin Board has only a content widht ob about 450 px, that is very small. An answear would be great...

Falcon Capt
13 Sep 2006, 23:32
found a minor glitch.

if the username contains a character like ' you get a mysql error.

Datenbankfehler in vBulletin 3.6.0:

Invalid SQL:

INSERT INTO googlemapme
(userid,username,usergroupid,title_map,text_map,lat_map,lng_map,pimage,approve) VALUES ('2514','D'Espice','6','D\'Espice','Der Leitende','48.16608541901253','11.6015625','',
'1');

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 'Espice','6','D\'Espice','Der Leitende','48.16608541901253','11.

I have this same issue, does anyone have a work-around???

gyankow
14 Sep 2006, 15:17
I have the same problem and confirmed the problem was VBGooglemap Member Edition. The bit fields get corrupt, I noticed this after I ran a attachment thumbnail rebuild.

To fix the problem:

Removed the newly added XML files from the includes directory.
Uninstall the Googlemap ME from the plugs, remove all files associated with it.
Then rebuild the bit cache by copying the original VB install directory and running the tool.php.


I found dozens of people that are having this problem, I think many more don't even know it yet. I think the application is awesome but theres a problem with GoogleMaps ME and HSE when the bit field is rebuilt by a VB core process.

Before anyone states otherwise, you shuold know I have recreated the problem on my test box.

P.S. This is an AWESOME Add-on, I want it and I want it branding free any ideas on cost.

-Glenn

Ronak
14 Sep 2006, 17:16
i have a problem :( i cannot see any admin or member in the map ...even though when they are online...link www.chitchatters.in

da420
14 Sep 2006, 17:28
i have a problem :( i cannot see any admin or member in the map ...even though when they are online...link www.chitchatters.in

Each user has to manually add the entry for their location by clicking "Your Entry" when in the Google Map page.
Also, You either need to turn Auto Approve in the ACP settings on, or check your Unapproved Log and approve the entrys.

Falcon Capt
15 Sep 2006, 15:21
found a minor glitch.

if the username contains a character like ' you get a mysql error.

Datenbankfehler in vBulletin 3.6.0:

Invalid SQL:

INSERT INTO googlemapme
(userid,username,usergroupid,title_map,text_map,lat_map,lng_map,pimage,approve) VALUES ('2514','D'Espice','6','D\'Espice','Der Leitende','48.16608541901253','11.6015625','',
'1');

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 'Espice','6','D\'Espice','Der Leitende','48.16608541901253','11.



PROBLEM: If the username contains an apostrophie (') the user gets a database error (MySQL) and cannot access/use the map.

Has anyone found a fix for this prolem???

I sent a PM to StoneyArc and have not even received an acknowledgement.

Any help on this issue would be greatly appreciated!!!

Falcon Capt
15 Sep 2006, 15:44
NEW PROBLEM!

Getting a error when the map page is displayed now:

Line: 9

Character: 53

Error: Invalid Argument

Code: 0

URL: vbgooglemapme.phpThis problem appears to be limited to Internet Explorer... I have reports of FireFox working normally.

I have 92 pins on my map, IE will load 90 pins then give this error. The map will display 90 of the 92 pins as well as the dashboard will show 90 of 92 loaded.

Is there a code issue in the vbgooglemapme.php file that needs to be adjusted???

HELP!

***** UPDATE *****

DISREGARD!!! I found the problem, I had a user enter his own coordinates instead of clicking on the map to set his marker. When he entered the coordinates, he used N & W letters instead of the proper way of entering the coordinated for Googlemaps... The program didn't know how to handle these "weird" coordinates... I changed them to the standard format and now it works!

stonyarc
16 Sep 2006, 09:32
I'll be releasing a new version later on today.

included fixes:

- cron error
- bitfield error
- single quote on insert


A new major new release is also in the making.

Sorry about my absence been extremely busy working on the new version of xboxusersgroup.com which is currently live.

stonyarc
16 Sep 2006, 11:17
Version 2.5.2 is now online

Hope this fixes some of the issues (bitfield, ' insert on username, ...)

Major new release in about a month.

calgdsm
16 Sep 2006, 14:20
Can someone give me a hand with the XML marker permissions? i cannot seem to find where to set it to 777? Can anyone help?

hilfe-forum
16 Sep 2006, 19:20
Why this top Hack dont Work with VBSEO?

da420
16 Sep 2006, 19:21
Can someone give me a hand with the XML marker permissions? i cannot seem to find where to set it to 777? Can anyone help?

In FTP, where depends on your FTP client, might want to check your FTP clients documentation.

calgdsm
16 Sep 2006, 20:39
In FTP, where depends on your FTP client, might want to check your FTP clients documentation.

How do i check??

calgdsm
16 Sep 2006, 20:47
nevermind fixed that.

now, how to i get the markers working??

stonyarc
16 Sep 2006, 20:55
Why this top Hack dont Work with VBSEO?

As said on VBSEO site itself you have to exclude the vbgooglemapme as it handles data differently from normal.

stonyarc
16 Sep 2006, 20:57
nevermind fixed that.

now, how to i get the markers working??


That should be indicated in the pdf file.

Also don't forget to set the APPROVAL in the settings. Usergroup permissions are also important.

It's all in the FILE.

Hope this helps

hilfe-forum
17 Sep 2006, 10:42
As said on VBSEO site itself you have to exclude the vbgooglemapme as it handles data differently from normal.

jup wenn i deinstall your Hack VBSEO works but is no posible to reinstall your hack....
always the same Prob...

I try deaktivaded VBSEO and install your hack.
Dont work...

I Love your Hack and my User Love your Hack.....
Do you think your next version works with VBSEO?

Reece^B
17 Sep 2006, 13:11
I just upgraded, my markers are there, but not showing.

rezapci
17 Sep 2006, 17:59
Ok I install it, but it dosn't apear!

www.alshiatalk.com take a look

do I have to wait? don't it Google Map appear in menu? or soem where?

any susggesion please?

rezapci
17 Sep 2006, 18:53
Ok, I an google map, all the pics in Usergroup legend are not appearing!

I don't know why take a look at the screen shot I am attaching!


what should I doooo? Please help me

firstrebel
17 Sep 2006, 20:24
My map no longer fully loads on first attempt. You have to click the link again or refresh.

Bob

rezapci
17 Sep 2006, 21:18
Internet Explorer cannot read this webpage format 406!

http://www.alshiatalk.com/vb/vbgooglemapme.php?do=showmain

what should I do?

stonyarc
17 Sep 2006, 23:05
Ok, I an google map, all the pics in Usergroup legend are not appearing!

I don't know why take a look at the screen shot I am attaching!


what should I doooo? Please help me

Make sure you upload the images to all your styles.

Also in the backend (admincp) you have to select what image is linked to what usergroup and if the usergroup should appear or not.

stonyarc
17 Sep 2006, 23:12
Internet Explorer cannot read this webpage format 406!

http://www.alshiatalk.com/vb/vbgooglemapme.php?do=showmain

what should I do?

http://www.alshiatalk.com/vb/vbgooglemapme.php works fine for me

I cannot simulate the error on any of my testplatforms (windows and fedora).

Any special settings in the .htaccess????

rezapci
17 Sep 2006, 23:45
Make sure you upload the images to all your styles.

Also in the backend (admincp) you have to select what image is linked to what usergroup and if the usergroup should appear or not.

what images? thier was no images in folder, when I downloaded!

cyberlife
18 Sep 2006, 11:19
Thanks, install. But one problem...
http://img204.imageshack.us/img204/1368/markerus5.jpg (http://imageshack.us)
How can i fix it?

Reece^B
18 Sep 2006, 16:06
Stonyarc, any chance of help with my problem?

MediaHound
19 Sep 2006, 23:18
I have a user who could not add her entry because she is on WebTV. She asked me to do it for her, this "Admin Log In As User 2.0" hack came in very handy:
http://www.vbulletin.org/forum/showthread.php?t=122939

Maybe this will help some of you guys!

:)

rockethobbit
20 Sep 2006, 07:53
From where does the map pull the location information for each user? Does the user supply the location and if so how? or does it automatically pull it from IP?

Reece^B
20 Sep 2006, 08:36
They now show, all good. Except the map takes a wile to load. This normal?

cyberlife
21 Sep 2006, 05:28
find. in functions_vbgooglemapme.php change encoding markers.xml

rezapci
21 Sep 2006, 12:10
is there any one responsible to support this hack?

MediaHound
21 Sep 2006, 13:00
From where does the map pull the location information for each user? Does the user supply the location and if so how? or does it automatically pull it from IP?

The user visits the map and clicks a link to add their entry.
They then find their spot on the map by clicking, dragging, and zooming.
The form automatically updates with the latitude and longitude that they pick, they then add their title and text, and click to submit it.
You can auto-approve them or manually approve them.
Nothing to do with their IP unfortunately. It would be cool to see the map get them close by using their IP, then let them pinpoint the proper spot.

daystorm
21 Sep 2006, 21:09
Thank you for this idea, I tried it and it worked perfectly!

Looks like this error happens if you have both editions. Regardless of the one you delete, the error disappears.

It appears there is a name conflict.

I *think* it's because he's got the same name "customadminperms" as settings for both editions. I altered the administrator table and added customadminmeperms as settings and I reflected the name change in the includes/bitfield_vbgooglemam.xml and no more error.

don't go and to the same until someone says it's ok :-)

Montoyafan
22 Sep 2006, 09:27
Hi,

how do i install the vbgooglemapme_deutsch.xml for german translation?

Skedoozy
23 Sep 2006, 00:43
The only Zoom setting that seems to work is what you set as Default. I've changed the zoom level for when you click a link to someones location and it just goes tot he default map. It doesnt zoom in, even though I have that set to zoom level 6, or even center on their location.

Other than that it's working wonderfully. Any help with the problem?

daylight
24 Sep 2006, 17:00
i have installed this and made a new link for this in new navbar
but when i click [List users] it is not showing anything and also i can see markers on map..just the 4 red lines on one part but there is no markers.
i am sorry i am new to this so can someone one help me to put this in post bit also (3.9 step 8 in manual) many thanks for help

stonyarc
24 Sep 2006, 21:15
is there any one responsible to support this hack?

Yes I created the thing

stonyarc
24 Sep 2006, 21:16
i have installed this and made a new link for this in new navbar
but when i click [List users] it is not showing anything and also i can see markers on map..just the 4 red lines on one part but there is no markers.
i am sorry i am new to this so can someone one help me to put this in post bit also (3.9 step 8 in manual) many thanks for help


Daylight,

Don't forget to check the autoapprove settings, the usergroup settings and configure which usergroups you want to appear.

Skedoozy
25 Sep 2006, 04:22
The only Zoom setting that seems to work is what you set as Default. I've changed the zoom level for when you click a link to someones location and it just goes tot he default map. It doesnt zoom in, even though I have that set to zoom level 6, or even center on their location.

Other than that it's working wonderfully. Any help with the problem?


So then..umm any help for me?

daylight
25 Sep 2006, 11:22
Daylight,

Don't forget to check the autoapprove settings, the usergroup settings and configure which usergroups you want to appear.


in ME Setting autoapprove check box is checked.
ME Usergroup marker all user groups checked as show marker and their on legand value is 1

ME Full view
and
ME Unapproved view

gave me this message

No Elements available [ Return to previous page ]

also i need help to appear link in postbit part.i am still not clear how to do that.

thanks in advance for your help

EasyTarget
26 Sep 2006, 19:02
I just upgraded to 2.5.2, thanks for your hard work.

One note, I have many secondary usergroups and I choose to only show about 4 groups on the map page but whenever I install or update the hack it has all markers set to display by default so I must edit each one, one by one. Would it be possible in future versions for it not to revert those settings or to have all markers set to not display by default?

I also still have the problem where clicking on the user's link $post[findme]just brings me to the main map page and not specifically to the users location. The same thing happens when I list the users then click 'show on map'

rezapci
27 Sep 2006, 10:31
http://www.alshiatalk.com/vb/vbgooglemapme.php works fine for me

I cannot simulate the error on any of my testplatforms (windows and fedora).

Any special settings in the .htaccess????

thanks for reply, now totaly its not working!

here is vb .htaccess

RewriteEngine On
RewriteRule ^(sitemap.*\.(xml\.gz|txt))$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
Options +FollowSymlinks
RewriteEngine on





















































RewriteRule ^([a-z0-9_\-]*-(f|all)[0-9]+(p[0-9]+|/index[0-9]*)?\.html)$ forumdisplay.php/$1 [QSA,L]
RewriteRule ^([a-z0-9_\-]*-(t|p)[0-9]+(p[0-9]+|/index[0-9]*)?\.html)$ showthread.php/$1 [QSA,L]
RewriteCond %{REQUEST_URI} !(index\.php|\.css) [NC]
RewriteRule ^(archive|sitemap)/(.*)$ $1/index.php/$2 [QSA,L]

Wheemer
29 Sep 2006, 05:32
I also still have the problem where clicking on the user's link $post[findme]just brings me to the main map page and not specifically to the users location. The same thing happens when I list the users then click 'show on map'

I'm seeing this problem too, otherwise a great mod.

VaaKo
29 Sep 2006, 16:42
I installed it and it works well but when I added an entry and approved it from admincp, my entry doesn't show!
I went to "list users" and click on "show on map" and still nothing happens!

pdblizzard
30 Sep 2006, 22:27
I just upgraded -- I love this hack and so do my members. Thanks stonyarc. :cool:

I had the missing pin images too, had the drop shadows but no pins. Even though I double checked that all files had uploaded; had all the usergroups set to their colors; and had group and file permissions and cron jobs where they were supposed to be.

I fixed it by uploading all the files again, and then then my pins appeared.

I'd also love to see an option to suppress the display of certain user groups. I don't want my members to know how I have them all categorized ;)

Skedoozy
01 Oct 2006, 01:18
I also still have the problem where clicking on the user's link $post[findme]just brings me to the main map page and not specifically to the users location. The same thing happens when I list the users then click 'show on map'

Same.. as stated above. Would be nice if this was addressed. Having the link there might as well just be a link to the googlemap. :/

smoknz28
01 Oct 2006, 23:13
Very nice! ;)

I've installed this on my site however, when I click on the Googlemap Me link on the navbar, I get a message saying I do not have permission.

I have not touched the permissions since the install. I've entered my map key.

Just confused on this one....any help is appreciated.

Mark
www.f-bodyhideout.com/forums

UPDATE

Yup, it's official....I'm a dummy.... All is well and we are enjoying this awesome mod!

Thanks for sharing this one with us. ;)

AyeCapn
02 Oct 2006, 20:34
Hey guys,

I found that my postbit was getting a little cluttered. To fix this, one of the housekeeping items I did was to replace the standard postbit "Location:" phrase variable with the one for the Googlemap link.

1. In postbit or postbit_legacy find:

<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>

replace the vbphrase:

$vbphrase[location_perm]

With this phrase for the map link:

$post[findme]

The resulting code is this:

<if condition="$post['field2']"><div>$post[findme]: $post[field2]</div></if>

It now looks like this:

https://www.vbulletin.org/forum/external/2006/10/17.jpg

:cool:


EDIT: I also edited the phrase "vbgooglemapme_findme" to say "Location" instead of "My Location"

AyeCapn
02 Oct 2006, 21:21
hmmm... but how to get it to display the word "Location" if they haven't added a point to the map yet....

Skedoozy
02 Oct 2006, 21:31
Or better yet have the Location link actually go to that persons location so it wasn't basically just a link to your google map!!

;)

This problems never going to be addressed. Grrr

daylight
02 Oct 2006, 22:41
i have uninstalled this at the end as there is no help or support to go through step 7 onwards. and thanks for the support you given me in pm but i don't think this is not for me :) thanks anyway...

LaCN
06 Oct 2006, 12:53
I inserted the $post[findme] in my legacy postbit and it works properly.

What I would like to do is have it display a small icon instead of a text link ("My location") in the postbit. I would like to have this icon be the "button" that is pushed to cause the map to come up and display that persons marker.

We had the same thing, we have those nice little icons for msn, aim, etc.. and wanted to add a nice image for map, instead of that text.

What to do:
go to ur forum-database.
Find in table phrases (or vb3_phrases, whatever u have) the record with the varname: vbgooglemapme_findme
If u found that record, edit the text from: My location to something like: <img src="images/globe.gif" border=0 title="My location" />
Save it and u're done there...

U'll notice nothing changed in the forum yet.. That's because that weird cashe or w/e isn't updated.
To update this, go in ur adminpanel to search phrases and search for <img src="images/globe.gif" border=0 title="My location" />
Then press the edit-button.
And after that click the save-button. (nothing changed, just press save)

From now on u'll see the image ;)

PS, instead of image, u can use other html, like <button onclick=...>My location</button> if u want a button ;)


If u can't access ur db, u can edit all ur html in teh postbit-template of course..




Make sure you upload the images to all your styles.

Also in the backend (admincp) you have to select what image is linked to what usergroup and if the usergroup should appear or not.
We also noticed, that when u add ur location, and use html, like <br /> it parses it all wrong, and u won't see ur icon on them map ;)

:bunny:






Now we got the following problem :confused:
When u added urself it goes fine..
But when u want to edit ur location, the following things are missing/empty:
- The map to zoom in with is gone :confused:
- The BB-code text-fields are empty.

Anyone got a solution ?
I think it is in the vbgooglemapme_display_yourlocation template...

perfphysio
06 Oct 2006, 15:53
I get the following error when I try to run the cron (scheduled task) or add a new entry "Cannot open XML File". Can you please advise.

many thanks

LaCN
06 Oct 2006, 16:47
I get the following error when I try to run the cron (scheduled task) or add a new entry "Cannot open XML File". Can you please advise.

many thanks
Did u chmod it to 777 ?

(that makes the file writable for changes)

if so, the cron could be a different user than u (chowner)

Magma
07 Oct 2006, 18:25
I installed this mod and when I went to go edit the templates it wouldnt show up the edit box...so I had to uninstall it. :(

Shazz
07 Oct 2006, 23:32
Im trying this now..

kylek
10 Oct 2006, 20:13
Just did a fresh install of 2.5.2 on vb 3.6.2 and everything is good and showing.

Only request I would like to see is having control of the url images or the option to remove this geature.

Shazz
10 Oct 2006, 22:04
*Installed thanx.

scottct1
11 Oct 2006, 16:54
I just installed and get the following error when I click on RUN NOW

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

Any ideas?

da420
11 Oct 2006, 17:13
I just installed and get the following error when I click on RUN NOW

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

Any ideas?

Ignore that error, I get the same thing, but every works fine.

If it's not working just make sure the auto approval is on or you are checking your approval list in your ACP.

Klaymen TK
11 Oct 2006, 17:27
Beautiful add on. :) Thanks.

scottct1
15 Oct 2006, 22:56
This hack is working for me, however when someone clicks on List Users the following is shown on the top of the page (and no members are listed in the list)

Warning: Division by zero in /includes/functions.php on line 2041


Any ideas?

Bhuwan
17 Oct 2006, 01:41
My page appears to be blankw/ errors @ the bottom of the page...

Shazz
17 Oct 2006, 01:48
My page appears to be blankw/ errors @ the bottom of the page...
It seems you are running a vB 3.5?

somasimple
17 Oct 2006, 08:21
Hello All,

It works fine! Thanks. :up:

Is there a way to increase the size of the map in the [your entry] window?
BTW, is there a way to show markers as members choosed to show their membership instead of the primary usergroup?

StarBuG
19 Oct 2006, 14:41
Hi

Thank you for this hack.

Can anyone tell me please how do I add the phrases from the german xml file.
It can't be imported as product or plugin and doing it by hand would defete the purpose.

Please help and thank you

StarBuG

AyeCapn
19 Oct 2006, 22:00
Is there a way to require users to put themselves on the map, similar to the way profile fields can be made required?

R34GTT
29 Oct 2006, 01:47
OK, to be dumb, im stuck at the first hurdle. I have uploaded the files to the correct folder as specified. Uploaded the plugin. But I have no link on the left as I should have. What have I done wrong?

flindersredclaw
01 Nov 2006, 16:56
Does not work with with SEO plugins (particulary Zoints) Just shows the map without the map.

Good idea but a waste of two hours to install it with poor instructions eg upload files x to x but missed that there was an other 2 files and it did not say to upload them or not??????

Considering the hack was released and pretty much droped as far as support goes I should have known to avoid it.....

Edited to to change "does not work with"

Skedoozy
01 Nov 2006, 16:59
It's running fine for me on 3.6.1 other than the fact that it doesn't go to someones location when you click it in their postbit or on the members list.

I agree with the support though. :/

da420
01 Nov 2006, 18:02
Dont waste your time.

Does not work with 3.6.1. Just shows the map without the map.

Good idea but a waste of two hours to install it with poor instructions eg upload files x to x but missed that there was an other 2 files and it did not say to upload them or not??????

Considering the hack was released and pretty much droped as far as support goes I should have known to avoid it.....

This is what it looks like http://www.crayfishmates.com/forum/vbgooglemapme.php


Did you even ask a question about your issue?
Instead of saying "Don't waste your time this hack is useless" you should be asking for help as I and many others have got it to work with 3.6.0, 3.6.1, and 3.6.2. Saying that someones hack is not worth the time is very unproductive, and quite pointless as it works for many, but why it works for you we dont know unless you ask questions and give people details.

You have SEO which is incompatible with this hack in most instances. When I enable my SEO I get the exact same issue. Disable your SEO and Im almost going to assure you it will work. Maybe you should talk to your SEO software support to get that working properly.

flindersredclaw
02 Nov 2006, 00:24
Did you even ask a question about your issue?
Instead of saying "Don't waste your time this hack is useless" you should be asking for help as I and many others have got it to work with 3.6.0, 3.6.1, and 3.6.2. Saying that someones hack is not worth the time is very unproductive, and quite pointless as it works for many, but why it works for you we dont know unless you ask questions and give people details.

You have SEO which is incompatible with this hack in most instances. When I enable my SEO I get the exact same issue. Disable your SEO and Im almost going to assure you it will work. Maybe you should talk to your SEO software support to get that working properly.

I have seen many questions asked about why it does not work for them and those questions were unanswered and still unanswered. No where in this thread did I read that it was not compatable with SEO and nor was that information posted in the instructions or even in the first post. At least advising people the limitations of a hack would prove more productive than not.

That said "dont waste your time" means exactly that. Obviously, the author does not wish to fully support the product and does not wish to write complete instructions and does not wish to advise people that if they have some SEO product working, this particular plugin will not be compatable. So the author himself is being unproductive in the approach to releasing a product, not me the person that wasted their time installing it and now having to uninstall it as the uninstall fuction does not remove the tables from the database.

Why I would deactivate a perfectly good, and usable product such as zoints SEO to get this one working is beyond me.

nexus851
02 Nov 2006, 01:03
this module is conflicting with my interactive profile module (visionscript) when i add comments in the user's profile, it adds 1 queries for every comment added in the member profile page... however, when i disable this module , then it works fine without queries being added anymore for each comment.. anyone got the same problem and know the fix for this???
J

StarBuG
02 Nov 2006, 07:40
@flindersredclaw

Zoints SEO is currently incompatible with:
1. Incompatibility with vBA Gallery link.
2. Incompatibility with vBA Links
3. Improper linking from vBA CMPS Recent threads
4. Google Maps
5. Non english characters - Character replacement is now available.

That is a problem of your SEO hack not this one.

diretur
02 Nov 2006, 12:06
Hi,

Does anyone know how to add the user-link (like in Postbit ) to memberinfo (Template: MEMBERINFO) ????


<!-- Show googlemap In memberinfo -->
$post[findme]
<!-- / Show googlemap In memberinfo -->

Thanks for any and all help with this.

does anybody know it?

thanks

corsacant
03 Nov 2006, 18:52
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?

R34GTT
03 Nov 2006, 22:14
OK, to be dumb, im stuck at the first hurdle. I have uploaded the files to the correct folder as specified. Uploaded the plugin. But I have no link on the left as I should have. What have I done wrong?

BUMP :D

da420
04 Nov 2006, 06:13
I have seen many questions asked about why it does not work for them and those questions were unanswered and still unanswered.

No one gets paid to give support here, if they have time or want to support it they do. These hacks are provided for free for our own use. If we can't get it to work, that's really our problem, not thiers.

No where in this thread did I read that it was not compatable with SEO and nor was that information posted in the instructions or even in the first post. At least advising people the limitations of a hack would prove more productive than not.

No, nowhere in this thread did it say it was incompatable. But, in the Zoints SEO thread it's outlined quite clearly. I have filed a ticket with them, which they provide support for free, to try and get this issue resolved. It's of no fault of the author of this hack that Zoints is incompatible with it, nor is it his or her responsibilty to fix it.

I don't know about you, but I enjoy having this place to find free hacks and appreciate every coder out there providing them. Telling them one hack is a waste of time doesn't really motivate them to continue providing hacks, and support for thier hack. Again, no one pays them, they do it because they enjoy giving to the community. The author is being productive by providing a hack that works for many people. It's not up to them to get the hack working on your forum, that's your job.

Why I would deactivate a perfectly good, and usable product such as zoints SEO to get this one working is beyond me.

Then don't, uninstall, and move on.

stonyarc
04 Nov 2006, 13:28
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.

stonyarc
04 Nov 2006, 13:30
BUMP :D

Do you mean the link in the postbit? or the one in the navbar

flindersredclaw
04 Nov 2006, 13:47
I will look into it stony and let you know what happens

flindersredclaw
04 Nov 2006, 13:54
Nope Zoints does not have that option...

corsacant
04 Nov 2006, 18:32
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.

Robru
04 Nov 2006, 20:14
if the username contains a character like ' you get a mysql error.
Also a bug in version 2.5.2
Please can you fix it :)

Database error in vBulletin 3.6.2:

Invalid SQL:

INSERT INTO googlemapme
(userid,username,usergroupid,title_map,text_map,lat_map,lng_map,pimage,approve) VALUES ('501','Pluuster's Cavia's','2','Zandpol','Pluusters Cavias Lunkarya, Skinny, Alpaca, Himalaya en soms ook nog andere rassen. http://groups.msn.com/PluustersCavias/pluusterscavias.msnw','51.767839887322125','5.833740234375','',
'1');

MySQL Error : 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 's Cavia's','2','Zandpol','Pluusters Cavias Lunkarya, Skinny, Alpaca, Himalaya en' at line 2 Error Number : 1064
Date : Saturday, November 4th 2006 @ 09:16:49 PM

farooqaaa
05 Nov 2006, 07:47
Thanks !!! its awesome :). (installed).

I am uploading it to my site right now :)

thanks...

R34GTT
05 Nov 2006, 17:28
Do you mean the link in the postbit? or the one in the navbar

I think it said when you log in to your control panel it will have a link on the left? Or did I dream that up as I had just did a 9 hour upgrade / sever change. So I was tired at that time of the morning.

romolus
06 Nov 2006, 20:00
Hello,

I have insatlling this Hack here !
www.comicportal.lu

but after the installing an error is incoming:

Invalid SQL:
select mapid from googlemapme;

MySQL-Error : Table 'comicportal_1.googlemapme' doesn't exist
Error-Nr. : 1146

Help me please. Thank's

TRR
07 Nov 2006, 01:31
when clicking the "My Location" link in postbit, how do I have it zoom in a little closer by default?

vivamexico55
07 Nov 2006, 21:42
I got this error, any idea what it means?

Warning: main(/var/www/html/includes/init.php): failed to open stream: No such file or directory in /var/www/html/global.php on line 20

Fatal error: main(): Failed opening required '/var/www/html/includes/init.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/global.php on line 20

fkatzenb
08 Nov 2006, 01:08
Nobody in Firefox or IE can edit their entries.... seems like their is a script error icon or something.... below is a screenshot..

Claudia99
08 Nov 2006, 07:12
Hi,

if more than one user is located in a town or a place and users zoom in the map, then is only one marker in this place. Where can I find a solution of this problem - and a solution so short and easy as possible :)

Greetings

Claudia

stonyarc
09 Nov 2006, 20:11
Hi,

if more than one user is located in a town or a place and users zoom in the map, then is only one marker in this place. Where can I find a solution of this problem - and a solution so short and easy as possible :)

Greetings

Claudia

The markers are both there but they cover each other. Another default zoom will show the difference.

stonyarc
09 Nov 2006, 20:11
I got this error, any idea what it means?

When did you get this error?

stonyarc
09 Nov 2006, 20:12
Ok people,

Next versions are in the making.


I'm aiming for a before Xmas release so please pm me features you want to see added.

currently already on the list:

- Improved permission
- minor bug fixes
- optional geocoding (maybe in special version)
- load speed
- tuning
- beter css control
- beter edit functions
- ...

stonyarc
09 Nov 2006, 20:13
Hello,

I have insatlling this Hack here !
www.comicportal.lu

but after the installing an error is incoming:

Invalid SQL:
select mapid from googlemapme;

MySQL-Error : Table 'comicportal_1.googlemapme' doesn't exist
Error-Nr. : 1146

Help me please. Thank's

Can you check the db if the table is actually there?

fkatzenb
09 Nov 2006, 22:45
What about me? ;)

Brandon Sheley
10 Nov 2006, 03:27
I installed it but for some reason my pin isn't showing ?

scottreeve
12 Nov 2006, 07:31
Great add-on.

All works fine, expect I can't get the 'usergroup legend' icons to work. Any hints?

Thanks

chriszep
12 Nov 2006, 15:41
I installed it but for some reason my pin isn't showing ?

i've got the same problem
pics are in the good folder

Brandon Sheley
13 Nov 2006, 06:46
i've got the same problem
pics are in the good folder

ditto, you can see the pins below, but not on the map ?


55870

da420
13 Nov 2006, 07:02
Did you make sure that the auto approve is on? You have to add your pin manually and either approve it or make sure the uato approve is on in the ACP.

scottreeve
13 Nov 2006, 07:33
ditto, you can see the pins below, but not on the map ?55870

I can't see the pins on the 'legend' (circled in your attachment) or on the map itself. On the map, all we can see is a shadow where the pins should be.

hepatit-b
13 Nov 2006, 14:21
very thanks :)

Brandon Sheley
13 Nov 2006, 16:12
Did you make sure that the auto approve is on? You have to add your pin manually and either approve it or make sure the uato approve is on in the ACP.

ah, there we go :)

Thank you

chriszep
14 Nov 2006, 19:38
xxx

chriszep
14 Nov 2006, 19:55
Did you make sure that the auto approve is on? You have to add your pin manually and either approve it or make sure the uato approve is on in the ACP.

great it's working now
:D

Brandon Sheley
15 Nov 2006, 21:59
I wish the members could add their pins easier..
for them to copy and past the lat and log. takes to many steps :(

Shazz
15 Nov 2006, 22:47
I wish the members could add their pins easier..
for them to copy and past the lat and log. takes to many steps :(

I was thinking the same :D

da420
15 Nov 2006, 22:59
I wish the members could add their pins easier..
for them to copy and past the lat and log. takes to many steps :(

I just plop my pin in the location with the map that comes up and it works for me. I dont have to copy/paste my longitute at all. If I wanted to I could, but the map part of it makes it much easier.

Brandon Sheley
16 Nov 2006, 20:37
I just plop my pin in the location with the map that comes up and it works for me. I dont have to copy/paste my longitute at all. If I wanted to I could, but the map part of it makes it much easier.

ah, well i wasn't able to do that when i placed my pin, and a user said it was a bit of a task. maybe we just did it the hard way :hurt:

paidtoshop
19 Nov 2006, 20:14
All installs ok.
But when running it i get can not run XML.

Any ideas?

da420
19 Nov 2006, 23:04
All installs ok.
But when running it i get can not run XML.

Any ideas?

The marker.xml?
Did you Chmod it w/ 777 permissions?

paidtoshop
20 Nov 2006, 17:28
The marker.xml?
Did you Chmod it w/ 777 permissions?

Running the following configuration

Windows 2003 Server
IIS 6
PHP 5.1.6
MySql Server 5
VB 3.6.2

File is readable

when I for example run the cron job, or delete a user from the map. i get the following

Cannot open XML File

paidtoshop
20 Nov 2006, 18:05
Running the following configuration

Windows 2003 Server
IIS 6
PHP 5.1.6
MySql Server 5
VB 3.6.2

File is readable

when I for example run the cron job, or delete a user from the map. i get the following

Cannot open XML File


Its ok Guy's got it working now. Thanks for pointing me in the right direction.

For thoes running a windows enviroment.
You need to add Everybody and make it read/write, You dont need execute. This is at the file level, not IIS level.


Great Mod :cool:

Desworks
27 Nov 2006, 09:21
I installed is using the instructions in the pdf. But no matter what I do under ME Full view & ME unapproved view show this in the admin panel:

No Elements available [ Return to previous page ]

Greek Wizard
27 Nov 2006, 13:30
I have this working fine, but when i changed over a registered user to a Super Moderator, his pin did not change color.

I have registered users as blue and super Mod as Green, and Admins as red.

the blue and red work fine, but no matter what color I make the super mod, it does not change.

i even tried to manually cron and update user ranks in maintenance and still nothing.

Any ideas?

Greek Wizard
28 Nov 2006, 09:34
Also, i am now starting to see apostrophes and slashes where I should not.

Seems to be like a php "Magic Quote" issue I seen a while back on something else.

I see the author has released a new hack, but yet does not support this one anymore.

stonyarc
28 Nov 2006, 10:26
I have this working fine, but when i changed over a registered user to a Super Moderator, his pin did not change color.

I have registered users as blue and super Mod as Green, and Admins as red.

the blue and red work fine, but no matter what color I make the super mod, it does not change.

i even tried to manually cron and update user ranks in maintenance and still nothing.

Any ideas?


That's probably because the value in the table hasn't changed.

In the next version this will work completely different.

stonyarc
28 Nov 2006, 10:28
Also, i am now starting to see apostrophes and slashes where I should not.

Seems to be like a php "Magic Quote" issue I seen a while back on something else.

I see the author has released a new hack, but yet does not support this one anymore.


I told a while ago that I'm working on the new version so changes in this one are a bit userless as the new version is progressing quite nicely.

I do have a lot to do.

Demanding support like you do feels a bit like a personal attack

stonyarc
28 Nov 2006, 10:37
I installed is using the instructions in the pdf. But no matter what I do under ME Full view & ME unapproved view show this in the admin panel:

No Elements available [ Return to previous page ]

Are there markers in the table ? or in the xml file?

Robru
03 Dec 2006, 08:51
if the username contains a character like ' you get a mysql error.
Also a bug in version 3.6.4
Please can you fix it :)

Database error in vBulletin 3.6.4:

Invalid SQL:

INSERT INTO googlemapme
(userid,username,usergroupid,title_map,text_map,lat_map,lng_map,pimage,approve) VALUES ('501','Pluuster's Cavia's','2','Zandpol','Pluusters Cavias Lunkarya, Skinny, Alpaca, Himalaya en soms ook nog andere rassen. http://groups.msn.com/PluustersCavias/pluusterscavias.msnw','51.767839887322125','5.833740234375','',
'1');

MySQL Error : 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 's Cavia's','2','Zandpol','Pluusters Cavias Lunkarya, Skinny, Alpaca, Himalaya en' at line 2 Error Number : 1064
Date : Saturday, November 4th 2006 @ 09:16:49 PM

Is this problem fixed in the new version?

stonyarc
06 Dec 2006, 19:43
Is this problem fixed in the new version?

Yes it is

stonyarc
06 Dec 2006, 19:44
Hello,

Been running the latest 2.5.2 version for a long time with no problems at all.

Today I installed memcached and starting using it for vBulletin, no problems at all.

However since I've installed and started running memcached the googlemap has stopped working.

At first it was telling me the key was wrong, so I hardcoded that in, but basically it appears it's not pulling anything from the database since I installed memcache and memcached.

It seems everything else I have on my site and forum is working fine, any ideas or suggestions?

I know that the previous version of vbadvanced also didn't work with memcached, but now does, so maybe whatever they did will work here too?

Thanks!


Hey mini,

Is it possible to exclude the googlemap script from memcached? just like VBSEO

stonyarc
09 Dec 2006, 13:09
I wouldnt now how to do that. :confused:

I think you may need to contact the danga devs for that one. I don't know that script in detail

MThornback
09 Dec 2006, 17:50
Is it possible to run both this and hotspot edition together? If I wanted to use one for members and one for events.

stonyarc
10 Dec 2006, 10:15
Is it possible to run both this and hotspot edition together? If I wanted to use one for members and one for events.

Yes you can run both together.

Viper007Bond
10 Dec 2006, 14:58
Just tried it out. Pretty sweet! :D

However, it seems that by default, groups don't have a color of marker assigned to them. This results in a bunch of broken markers in the legend as it looks for "/images/googlemapme/mm_20_.png". Perhaps a default color is in order? :)

Viper007Bond
10 Dec 2006, 15:52
Found another problem. You need to run stripslashes(). ;)

Viper007Bond
13 Dec 2006, 23:31
I had to disable the part of the plugin that queries for each postbit. It was hammering my MySQL server. :(

Shazz
14 Dec 2006, 00:30
I had to disable the part of the plugin that queries for each postbit. It was hammering my MySQL server. :(

For each postbit huh?
And SQL??

Viper007Bond
14 Dec 2006, 05:51
For each postbit huh?
And SQL??
"vbgooglemapme findme" which hooks into "postbit_display_complete". It made the queries required to make a thread nearly double. :(

Shazz
14 Dec 2006, 12:27
I stilll don't notice what it does

stonyarc
14 Dec 2006, 19:59
"vbgooglemapme findme" which hooks into "postbit_display_complete". It made the queries required to make a thread nearly double. :(

This will change in the new version currently in dev.

Viper007Bond
16 Dec 2006, 10:59
This will change in the new version currently in dev.

Awesome. I look forward being able to use the feature again. My forum members really liked it. :cool:

jimrobo
16 Dec 2006, 20:40
I don't suppose anyone found out how to exclude some of the usergroup legends on the main page?


edit:Apologies.....the setting is in the admincp to exclude usergroups!

fantastic mod!

da420
17 Dec 2006, 22:39
I stilll don't notice what it does

I disabled the find me plug in for this product, and I got 17 less queries in a thread with 16 posts.

Shazz
17 Dec 2006, 22:49
I disabled the find me plug in for this product, and I got 17 less queries in a thread with 16 posts.

Its in the plugin manager?
I wanna try it :glasses:

da420
17 Dec 2006, 22:51
vbgooglemapme findme plugin...

Shazz
17 Dec 2006, 22:57
Does seem to run smoother

Viper007Bond
18 Dec 2006, 10:51
The plugin sets a variable so that you can link to someone's pin. I had it where you could click their location (ex: "Portland, Oregon") and it'd take you to their pin.

But yeah, it does a query per post. :(

Viper007Bond
19 Dec 2006, 05:24
I got around this by running a scheduled task that sets a user profile field and adds a "find me" if that field has a value, so it doesn't run queries when the postbit is displayed.

Link: http://www.vbulletin.org/forum/showthread.php?p=964330#post964330

You can see it on my forums at www.mini2.com/forum but the map isn't working since I introduced memcached (still not sorted that out).
Excellent idea! I had some ideas about changing it to be in the user profile, but your's is a much simpler solution. :D

Distance
19 Dec 2006, 12:44
wow thats cool matey ;)

stonyarc
19 Dec 2006, 15:59
That's how in principle it will work in the new version.

zafrir
19 Dec 2006, 16:05
Hi,

installed, everything looks working fine except I could not get members pins to be displayed, nothing is displayed on the map.

looking at the browser errors I see error:

Error: xmlDoc has no properties
Source File: http://www.attunity.com/forums/vbgooglemapme.php
Line: 1154

this line leades to:

map.setCenter(new GLatLng(dlat,dlng),dzoom);

var request = GXmlHttp.create();
request.open("GET", "markers.xml?r=14344", true);
request.onreadystatechange = function() {
if (request.readyState == 4) {
var xmlDoc = request.responseXML;
//Line: 1154
markers = xmlDoc.documentElement.getElementsByTagName("marker");
//Line: 1154 end
window.setTimeout(mapOne,timeOut);
// document.getElementById('nb').value=markers.length;
id4 = document.getElementById('nb');
id4.innerHTML = markers.length;

} else {
//alert(request.readyState);
}
}
request.send(null);
}


any suggestions?
thanks.:surprised:

stonyarc
19 Dec 2006, 19:09
did you change the markers file to chmod 777

zafrir
20 Dec 2006, 07:01
Yes I did...(my platform is IIS and VB 3.6.4)
no problem to add members, list or show on map (the map is centered around the proper location) just the no markers shown on the map.

Datenpapst
20 Dec 2006, 11:58
its not showing the markers on my map :(

Gizmo999
29 Dec 2006, 16:01
I just upgraded to 3.6.4 from 3.5 and upgraded the googlemapME as well, initially lost all my markers but I just replaced the markers.xml file with a saved backup copy and they all showed up again :D

Shazz
29 Dec 2006, 16:12
I just upgraded to 3.6.4 from 3.5 and upgraded the googlemapME as well, initially lost all my markers but I just replaced the markers.xml file with a saved backup copy and they all showed up again :D

Ill be sure to remember that thanx :)

stonyarc
29 Dec 2006, 20:08
On upgrade the markers file needs to be recreated. This can be done by editing your entry. The actual data is kept in the DB so no data will get lost.

optrex
30 Dec 2006, 03:52
Hi Stonyarc,

I am hoping you can help. I notice VBGME uses a php file in the admincp folder to create the menu within the admincp itself.

When I give a super mod admin access to look after some users, they can see the VBGME menu structure within the admincp.

What conditional needs to go in the php file to resctrict access so that either only user 1 or usergroup 6 can see it? And where would I place that conditional?

Thanks in advance

darkdiver
06 Jan 2007, 10:44
but one question

i got one Error on my cronjob. I got some probs with line 20 in the vbgooglemapme_cron.php
can i simply remove this line?

header('Cache-Control: no-cache');


Regards
Eric

darkdiver
06 Jan 2007, 21:04
but one question

i got one Error on my cronjob. I got some probs with line 20 in the vbgooglemapme_cron.php
can i simply remove this line?

header('Cache-Control: no-cache');

Regards
Eric

No help or Idea ?

Robru
07 Jan 2007, 08:12
Make a backup and try !

darkdiver
07 Jan 2007, 09:10
thats not the way i like to work ;-)

Shazz
07 Jan 2007, 16:42
have you tried it?

darkdiver
07 Jan 2007, 16:57
have you tried it?

No, its to dangerous to risk something. Is no one able to tell me what this line will do or what this cron job will be?

I see no sence in this cronjob. Right now everything look like it works?!!?

www.touareg-freunde.de

Regards
Eric

da420
07 Jan 2007, 16:58
Errors are fine to get in the cron job. Ignore them if everything is working..

I get this, and everything works tip top...

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

darkdiver
08 Jan 2007, 14:11
how to implemtent the "findme" in Memberinf???

Please help ;-)

Regards
Eric

docvader
10 Jan 2007, 08:37
Anyone know how to implement this using Mozilla Firefox browsers? I can see my Googlemap ME using IE, but can't see the map or image using Firefox. (Just started using it, haven't gotten it all figured out yet)

DanCan
12 Jan 2007, 02:46
The installation went well, but when attempting to add myself to the map, the page revert to the forum homepage. The reason is that vb calls http://mysite.com/forum/index.php?/vbgooglemapme.php?/do=addelement

How do I get rid of the index.php?

also, the images of the usergroup legends don't show up.

bulbasnore
12 Jan 2007, 05:44
OK, this is an excellent Mod. Thanks stonyarc.

I noticed you used to have an avatar posted to the Image on the map tag.
Presumably this was either tough to make reliable or an unwanted feature.

I want this feature. I'm pretty good with SQL. If I poplulated the field for the image with the users avatar (if they have set their pin) then is there a way I can push that update to the map?

In case anyone may ask, yes, I wish to overwrite their 'custom' image.

SpiderFive
12 Jan 2007, 21:50
Ich become follow message:
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.
Return to previous page
Vb version3.6.4

yes marker.xml have chmode 777

basilrath
12 Jan 2007, 22:06
have you gone into the googlemap and either approved the marker or turned the aproval off ..............then refresh it should show providing as you say the chmode777 is set


acp/vbgooglemapme/MEsettings/ auto aproval system

SpiderFive
13 Jan 2007, 02:33
Yes the hack is active an I set yes by the this question "Auto approve additions to the map (handle with care). "

Silver_2000_)!
13 Jan 2007, 03:00
Great hack

I have a small miscolored section in the nav bar after the mapMe link

see the attachment

Also
The Support link for this hack points to the Hotspot thread

basilrath
13 Jan 2007, 10:44
set the auto approve to off it seems to work fine but obviously be aware of the nature of the additions to the map !

Silver_2000_)!
13 Jan 2007, 14:30
StonyArc
Please consider rewriting the "about" phrases so that they are in 3rd person as the USERS will see them. In my opinion its not appropriate to have admin info posted for the world to see. The members dont need or want to see what happens behind the curtain. You have already addressed the licensing to the admin when he/she downloaded and installed.

It would be helpful to add a line or 2 to the USERS about how to use the product.

kurv
14 Jan 2007, 05:45
StonyArv, sorry if you have already covered this... Love the Mod, but I can not get it to work yet... I dont see any of our usergroups even though we have set them to display and checked permissions.

Also... when running the cron on this we get...

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/spinquad.com/httpdocs/forums/includes/adminfunctions.php:283) in /includes/cron/vbgooglemapme_cron.php on line 20

Done

Can you help, thank you!! :D

darkdiver
14 Jan 2007, 21:17
what have i to do if i will have the "findme" show in "Memberinfo"

please help ...

Regards
eric

photofreeway
17 Jan 2007, 01:36
Hey nice work only one issue. I have the latest IE7 and VB3.6.4 and the main map does not show up? Anyone else getting this?

This is happing on the other map scripts also.
The small map works in the "Your entry" section....

I have read where the DIV needs to be under the google script?



Update: just uninstalled IE7 went down to 6 and still the same thing... Is this MOd still supported? Will it work with VB3.6.4?


Thanks

darkdiver
21 Jan 2007, 13:35
i need help to have the option "Findme" in Memberinfo please

anonscape
21 Jan 2007, 21:32
This is an elementary question but I still haven't understood how this mod works yet.
Does a visitor/member of my forums have to signup/join/enter his/her location to then have the marker auto or manually approved before a pin/marker will show up on the map? If no one signed up with their info would the map be blank?

TIA

ethank
22 Jan 2007, 06:50
I installed this on 3.6.4, but not markers show. The XML file is updated, but the "loading" AJAX thing never indicates loading. When I go to edit my location, the pin shows.

http://www.murmurs.com/forum/vbgooglemapme.php

Any ideas?

photofreeway
23 Jan 2007, 20:20
This is all I get...
http://www.photofreeway.com/board/vbgooglemapme.php

Can I get some help as to why the map does not show? There is an error on tha page also.

made it readable for everyone ....
Thanks

photofreeway
25 Jan 2007, 03:24
Ok I marked as installed. Any support here at all?

Shazz
25 Jan 2007, 05:05
Ok I marked as installed. Any support here at all?

Well stonyarc hasen't been around for a while, Im sure when he does get back he will

akulion
25 Jan 2007, 19:48
Installed and worked like a charm even for a complete newbie like me!
Thank you so much for taking the time to produce such a quality and well explained product
aku

TheFrienzNet
26 Jan 2007, 02:26
Thanks, this modification looks great.

bulbasnore
27 Jan 2007, 17:59
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.

UM, anyway...

I was sorry to see Stonyarc gave up the avatar load for the pictures, though I could guess why. We have a PG-rated board and like to keep some control on the picture displays. Consequently, I hacked together the script below to ensure that the avatar pic is what is displayed for the vbgooglemapme pin image.

This might only work if you have set your avatars to be stored in your database as opposed to your filesystem. If you don't understand what that is, or the issues surrounding that choice, go to the vBulletin documentation and look it up before you go on.

OTOH, if someone can tell me I'm wrong about that, then, please hip me to the Truth!

Here's the script - you could destroy your database, so don't use it or my instructions unless you know what is happening in the code and take full responsibility for the consequences yourself!!!

Name it something like vbgooglemapme_avatars.php
Upload it to <your forum directory>/includes/cron

/*======================================================================*\
|| #################################################################### ||
|| # ---------------------------------------------------------------- # ||
|| # 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 " . TABLE_PREFIX . "googlemapme
SET `pimage` = concat( 'http://pokegym.net/forums/image.php?u=', `userid` )
");
log_cron_action('Add Avatars to vbgooglemapme picture field', $nextitem);

/*======================================================================*\
|| ####################################################################
|| # Version: 10:12, Sat Jan 27th 2007
|| ####################################################################
\*======================================================================*/

Once you've done that, you can set it up to test via a scheduled task, like the thumbnail below. If you set it up this way it will be disabled for schedules, but you can run it on demand for a test.

Now use the Scheduled Task Manager [Run Now] function in your admincp to run this task (because you assumed responsibilty, remember!!!). If you want to see whether it worked, run a sql query like this in your admincp sql query tool:

SELECT userid,pimage FROM googlemapme ORDER BY userid asc

You should see a list of userids and standard avatar URLs in the result. Of course, if you screw up the query you might have no database left.

If you like what you see, go back to the task in the scheduled task manager and enable it, but change the time you run it to the minute or more before you run Stonyarc's scheduled task.

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.

MrD
28 Jan 2007, 15:05
Hi,
after Usergroupchange the Marker will not updated.
The rights in ACP are ok, but no Reacction.

photofreeway
29 Jan 2007, 14:58
hello and thanks for the support on this. Question: When you say "recapitulate the install" can you define what this means. sorry still kinda new with VB....

This is the error I get at the bottom of IE.
Line: 1071
Char: 35
error: Expected';'
Code: 0
URL: http://www.photofreeway.com/board/vbgooglemapme.php


Thanks Again



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.

UM, anyway...

I was sorry to see Stonyarc gave up the avatar load for the pictures, though I could guess why. We have a PG-rated board and like to keep some control on the picture displays. Consequently, I hacked together the script below to ensure that the avatar pic is what is displayed for the vbgooglemapme pin image.

This might only work if you have set your avatars to be stored in your database as opposed to your filesystem. If you don't understand what that is, or the issues surrounding that choice, go to the vBulletin documentation and look it up before you go on.

OTOH, if someone can tell me I'm wrong about that, then, please hip me to the Truth!

Here's the script - you could destroy your database, so don't use it or my instructions unless you know what is happening in the code and take full responsibility for the consequences yourself!!!

Name it something like vbgooglemapme_avatars.php
Upload it to <your forum directory>/includes/cron

/*======================================================================*\
|| #################################################################### ||
|| # ---------------------------------------------------------------- # ||
|| # 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 " . TABLE_PREFIX . "googlemapme
SET `pimage` = concat( 'http://pokegym.net/forums/image.php?u=', `userid` )
");
log_cron_action('Add Avatars to vbgooglemapme picture field', $nextitem);

/*======================================================================*\
|| ####################################################################
|| # Version: 10:12, Sat Jan 27th 2007
|| ####################################################################
\*======================================================================*/

Once you've done that, you can set it up to test via a scheduled task, like the thumbnail below. If you set it up this way it will be disabled for schedules, but you can run it on demand for a test.

Now use the Scheduled Task Manager [Run Now] function in your admincp to run this task (because you assumed responsibilty, remember!!!). If you want to see whether it worked, run a sql query like this in your admincp sql query tool:

SELECT userid,pimage FROM googlemapme ORDER BY userid asc

You should see a list of userids and standard avatar URLs in the result. Of course, if you screw up the query you might have no database left.

If you like what you see, go back to the task in the scheduled task manager and enable it, but change the time you run it to the minute or more before you run Stonyarc's scheduled task.

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.