Google Member Map

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

Previous topic - Next topic

brianjw

Ok, well you will need to manually edit /Themes/babylon/index.template.php to include a Member Map link...

dry3210

I've changed the colors in the style.css but it doesn't seem to actually change the colors on the map

Any ideas?

Yngwiedis

Quote from: brianjw on January 16, 2008, 04:45:23 PM
Bluey, I am starting to wonder... I think this might be Google because many people have had this problem, many people havent and many people have and it fixed itself. I am unable to give support for this currently but I will talk to Google. That error shouldn't affect anything.

Yngwiedis, your links will change depending on your themes link color. I will look for a way to bypass your themes link color and to make it another color if that is what you want?

Yes. This is exactly what i want :)
AmityHost.com - The Affordable Host

Bluey

I have fixed my problem.  I loaded and uninstalled it originally but this did not take away some of the settings. When I used the package parser to have a look at the files there were two identical entries for the code. I deleted one set and eveything is working fine. I have my pins up and showing and all is well. I love this mod

brianjw

@Bluey: Was the code that caused the problem there by default in the current, latest package?

Could you please post what line of code you removed if this is in fact the case?

@Yngwiedis: I am going to begin working on this. I should hopefully have something for you by tomorrow...

@ALL:: I will be releasing a new version, maybe tomorrow, the next day, or just soon in general. The fixes will be some of the things you guys reported and some of the things Google has responded to. Please give me any suggestions to send to google if you would like to see it in your map and I will see what I can do to get out to them. I will be creating an Upgrade package so you don't have to uninstall and install the new version...

Thanks,
brianjw

Bluey

Sorry but I didn't keep the code just deleted it.  They were just duplicate entries of the code in the package caused I presume by me uninstalling and reinstalling.  They were in just about every file the package updated

brianjw

Do you remember what the code was?

brianjw

Due to the recent server crashes with SMF, some people may have not been able to download the mod or view the screenshots. This is all fixed now. :)

brianjw

Bluey

It was just the code in the package duplicated. For example where the package had this code

'googleMap' => array(
         'latitude' => $profile['latitude'],
         'longitude' => $profile['longitude'],
      ),

I had this

'googleMap' => array(
         'latitude' => $profile['latitude'],
         'longitude' => $profile['longitude'],
      ),
'googleMap' => array(
         'latitude' => $profile['latitude'],
         'longitude' => $profile['longitude'],
      ),

brianjw

OK, so it's just your website duplicating it...

teamvtec

#170
Hi Brain, i had another go at installing this mod.
deleted everything that had to do with the mod in the datbase etc.

Installed fine, had to manual input changes in custom index.template.php
but it's still not showing member pins and my browser is giving me an error:

Rule:81
Token:17
Error: 'documentElement' is empty or not a object
Code: 0
URL: http://www.civicvtec.org/forums/index.php?action=googlemap

Could you take a look? ;)



Edit: I just tried the link in Firefox and it displays a member link with pin.
so it's a IE7 problem??

Bluey

Quote from: brianjw on January 19, 2008, 08:19:08 PM
OK, so it's just your website duplicating it...

Yes I think so but when I unistalled it shouldn't have removed the code

Yngwiedis

Quote from: brianjw on January 17, 2008, 08:35:20 PM

@Yngwiedis: I am going to begin working on this. I should hopefully have something for you by tomorrow...


Any news about that ?
AmityHost.com - The Affordable Host

brianjw

Sorry. Haven't gotten around to finishing it. I am working on it right now... Later tonight you should have something... (if it works like I  think it should :))

Bluey

Hi Brian

As an idea for future upgrades could you please think about having a setting for your default location on the Profile page.  I have set my default location on the Map page and that works fine but as nearly all my members will be from Australia it would be good to default to a local area when they are trying to first set thier pin rather than having to zoom in which seems to confuse some people.

Also it would be good to have a help text for user on how to use the map. If they haven't seen Googlemaps be fore they can struggle

brianjw

If I can catch TLM, I will ask him if it is possible to do that with the profile. The help part would be easy to do and I will release an update sometime this week hopefully.

And again! I am sorry Yngwiedis... I have been so busy with work lately I just haven't had time to be much online at the moment. I am going to try to get this to you tonight...

myswag

brianjw,

Great mod, now I just need it to work for me. I'm no coder just a newbie who doesn't know what he is doing...

The install said it was successful but when It redirected me to the MM admin page all the text was missing and it didn't show under Features and Options.

SMF version 1.1.4
Current Theme is English Steel 1.6

Any help would be great.

Cheers
Brett

www.myswag.org

Cheers
Brett

brianjw

@myswag:
Well first thing. Is it installed at all? To find out, using FTP locate your smf root and then look for /Themes/default/ if the file GoogleMap.template.php it SHOULD be installed correctly. It could also be the case where you need to add the text strings to /Themes/default/languages Modifications.english.php or need to add them to your themes Modifications.english.php (if it has that folder) Try re-installing and see what happens after doing the above...

@Yngwiedis:
I now have thought out and planned what I am going to do. Hopefully it should work. Please attach the following files: GoogleMap.php (located in ./Sources/), style.css (located in ./Themes/default/ or if you want a different theme than default in ./Themes/<theme-name>/)
using FTP, do that. Then I will modify the files in with the new css that should make links display right. When I do send back the files, don't replace them over the originals, make backups!!! But I do need the files before I start the process.

brianjw

myswag

#178
I reinstalled it but still the same. Checked ftp and files are there.



That's about it for me and coding. Will wait and see if a mate can help me out.
Cheers
Brett

Yngwiedis

Quote from: brianjw on January 23, 2008, 09:59:55 PM

@Yngwiedis:
I now have thought out and planned what I am going to do. Hopefully it should work. Please attach the following files: GoogleMap.php (located in ./Sources/), style.css (located in ./Themes/default/ or if you want a different theme than default in ./Themes/<theme-name>/)
using FTP, do that. Then I will modify the files in with the new css that should make links display right. When I do send back the files, don't replace them over the originals, make backups!!! But I do need the files before I start the process.

brianjw

OK. The files are attached in the .zip
The style.css is not from default theme.

Please if you finish the modifications, can you post the changes too ?
Because maybe i will need to add them in another theme in the future.

Thank you...
AmityHost.com - The Affordable Host

Advertisement: