Google Member Map

Started by Spuds, December 12, 2007, 01:49:12 PM

Previous topic - Next topic

Chas Large

#1440
Installed and running nicely thanks Spuds, you make some really great mods.

Is there any way to set the default Lat/Long/Zoom for the map on the profile for beginners? We're all in the UK and it would just add that touch of localisation.

I looked at the code and the Google Apps docs but couldn't quite work out which version you were using. Any chance of a link to that as I'd like to use this kind of thing on another site.


Cheers

Not to worry, have worked it out and also set the default location for the profile map too. :)
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

Chas Large

Sorry Spuds, me again.

Just doing my weekly clear out of the log file and I've got 270 of these pesky blighters in there.

http://www.fiftyplusforum.co.uk/forum/index.php?action=googlemap
8: Undefined index: googleMapsPinGender
File: /home/fiftyplu/public_html/forum/Themes/default/GoogleMap20.template.php
Line: 69


Can't find a bad reference on that line so I don't know why it's referring to it. I see this has been an issue before and you offered a replacement GoogleMap20.template.php file. I'm assuming this is now incorporated in the currently available release but may be wrong.

BTW we don't have the Show Gender option enabled.
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

Chas Large

#1442
Thanks spuds, it works fine and I'll check the logs later to see if it's cleared that error.

This mod has proved extremely popular on our site, so thanks again. :)

EDIT: Yes it did clear the errors, thanks.
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

Chas Large

#1443
Two questions about the BOLD highlighting of members names in the list.

1. How long is the BOLD highlighting period?

2. Does the Admin remain BOLD always? it seems to despite others showing non-bold after the period mentioned in 1. above.

Thanks

Chas.
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

Spuds

1. Roughly a week .. its set with $last_week = time() - (7 * 24 * 60 * 60); in Googlemap20.php so you can increase/decrease should you like a different duration.  Guess I should add that to the admin panel at some point.

2. Sounds like you may have found a bug  :P  .... is your admin uid = 1 out of curiosity?

Chas Large

Quote from: Spuds on June 09, 2011, 09:18:40 AM
1. Roughly a week .. its set with $last_week = time() - (7 * 24 * 60 * 60); in Googlemap20.php so you can increase/decrease should you like a different duration.  Guess I should add that to the admin panel at some point.

2. Sounds like you may have found a bug  :P  .... is your admin uid = 1 out of curiosity?
1. Thanks
2. Yup!
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

Juan Carlos

Hi,

I just updated to a new version and during the instalation everything going well but now I cant see the list of members, I can see the legend: "There are (25) member pins on the map".

What could be happend?

Thanks

Juan Carlos

Spuds

#1447
Confirmed ... damn ... I'll get an update posted in a few


ETA: Should be fixed now, please download the new package and uninstall / reinstall.  I did not change the package name, the only error was an mistaken 'enter' at the start of the xml doc that the map reads in.

Juan Carlos

Wow

Thank you very much, now is working.
Juan Carlos

Juan Carlos

#1449
Well,

Now I installed in other forum taht I have (same mods, same version and same server) and in this forum this is happenig:
The menu disapear and only see the Member Map option.

I make the installation 4 times and the problem persist. The install and uninstall not have errors.
:-[ :-[
Juan Carlos

Spuds

#1450
Turn on the calendar function and see what it does ... if that fixes it I'll get another update out tomorrow ...

I'm thinking since I placed the button after the calendar button, if the calendar is not on as a base feature then it will fail with what you have shown ... I forgot that the calendar is optional when I made the update, to many mods, so little time  :laugh:

ETA:  Nope that issue was accounted for in the code, but now I see the problem.  Looks like you are using PHP v4 and I made use of a php 5 option .... I'll get that sorted here in a few.

Spuds

I've uploaded the package again, this time I removed a php5 dependency that looks to have been causing your problem.  Give it a try and let me know.

yakyakyak

Excellent

Great work as always

Juan Carlos

Now is working, great job.

Thank you very much

The strange think is that I have to identical forums in the same server and the problem only was in one of them...
Juan Carlos

Juan Carlos

Hi again

I see that now with the mod installed I cant logout, I have this error : Session verification failed. Please try logging out and back in again, and then try again. If uninstall the mod I can logout again.  ???
Juan Carlos

Spuds

I see the problem .. all because of having to support php4 ... Grrrrr  Let me see what I can do, what a PITA, how can something so simple be this difficult !!

Juan Carlos

May be I can help changing something in my server configuration, please tell me if this is necesary.


Thanks for your great support
Juan Carlos

Spuds

Give it another try, it should both now work in php4 and not have the logout side effect.

Apologies to everyone for all the updates!

C4G-TK

#1458
Looks like I installed this a couple hours too soon.  I installed last night and afterwards my "logout" and "members" tabs disappeared.  Didn't notice that they were gone til just now.  On the other hand, the map showed up fine!  LOL

Just uninstalled and everything was fine.  Will try the new updated package now!


Update:
Installed once again with no errors, but this time everything is correct on the navigation bar! People can logout and the members tab shows.  Thanks!

-img removed-

Juan Carlos

It seems that everything is OK now.

Thank you very much
Juan Carlos

Advertisement: