News:

Wondering if this will always be free?  See why free is better.

Main Menu

Google Member Map

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

Previous topic - Next topic

oludimuni

Can anyone lead me into how i can add my google adsense code to my smf forum

Kindred

???   This mod is for google MAPS!  It has nothing to do with adsense.

There are several ad mods, including the "Ad Management Mod" that work with adsense.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

QQP

Hello,

I try to install this mod (I think I will like it  :D). But it gives me an error:

Execute Modification                ./Sources/ModSettings.php                 Test failed

Someone else having the same problem or find/knows a solution?

p.s. I use SMF 1.18

thnx

C4G-TK

Quote from: QQP on April 21, 2009, 03:21:34 AM
Hello,

I try to install this mod (I think I will like it  :D). But it gives me an error:

Execute Modification                ./Sources/ModSettings.php                 Test failed

Someone else having the same problem or find/knows a solution?

p.s. I use SMF 1.18

thnx

You will have to manually perform this edit yourself once the mod is installed

-img removed-

QQP

Quote from: C4G-TK on April 21, 2009, 01:52:26 PM
You will have to manually perform this edit yourself once the mod is installed
Ok, thnx.... gonna try....

C4G-TK

Are you using the default theme? or a custom theme?

-img removed-

Redryder

Quote from: brianjw on April 14, 2009, 04:37:04 PM
Not sure when I can get this to you guys. I have limited time right now. None of my mods are up to date. I have allot of WORK in real life to deal with right now. When I get a free spot, the first thing I will try to do is this.

I really cannot promise anything at this point. I will still manage this mod and others but I will need a little more time. I am sorry to keep you all waiting!

We do understand the time issues.

May by Kindred can help us all out, as it seems he might have the profile correct for 2.0rc1. If I read his past reply right.

I do like the mod and it works but the new members are having a hard time finding out how to put their pins on.

If we could get the link to place your pin on the member map page, point to the forum page that is used to change the map. Instead of how it now is to just the main forum page, that would help too.

Kindred

I had it sort-of working, but have since backed it out with the newer dev version that I am running.

So, unfortunately, I do not have a working version of this on rc1 at this time.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

brianjw

I will get to work guys as soon as I can. I might have some time to work on it this weekend but I doubt it will be ready to release at the end of that time. It might take a few weekends but I might be able to pull it off in a few weeks.

Mike_S

Installed it on SMF 2 RC1.  After a few quick mods to get it in the user profile it works GREAT.  However this evening the 111th person marked themselves on the map.  Now someone shows up in the water off Africa west of Libreville.  Maybe this was happening before, but I just noticed it tonight. When I reset there location in their Forum Profile, someone else pops off and into the water off Africa.  Is there a limit of how many people it will track?  How do I get my members to stop drowning?   

And NO...  My board is not the Titanic.    :D

Thanks In Advance.
-Mike

brianjw

Not sure. What is your maximum pins set as in the settings for the Google Map mod?
If it isn't that, I do not know the cause. I know Google can support each map with up to 500 pins, but since you only have 111 then it should be fine.

Also, if you wouldn't mind posting the edits you made to the profile for other users until I can get one packaged up.

Thank you very much! :)

probinson77

Quote from: Mike_S on April 25, 2009, 02:47:27 AM
Installed it on SMF 2 RC1.  After a few quick mods to get it in the user profile it works GREAT.  However this evening the 111th person marked themselves on the map.  Now someone shows up in the water off Africa west of Libreville.  Maybe this was happening before, but I just noticed it tonight. When I reset there location in their Forum Profile, someone else pops off and into the water off Africa.  Is there a limit of how many people it will track?  How do I get my members to stop drowning?   

And NO...  My board is not the Titanic.    :D

Thanks In Advance.
-Mike

I'm not sure where it's set, but when a new member registers on my forum, it enters the latitude and longitude in the database as 0,0.  This is why people appear drowning just off the coast of Africa.   :D

It should enter NULL for the latitude and longitude instead of 0.  Then, there will be no pin on the map until the member specifies where they live.  My database structure says the default value for the latitude and longitude fields is NULL, but everytime a new member registers, they end up off the coast of Africa with a longitude and latitude of 0.

Does anyone know where to fix this?

Mike_S

0-0 sounds about right, but that's not my issue.  I went through 5 people and as soon as I would put the correct zip code in for them, someone else who had already been set to the right location would go into the water.

CrazyHorse80

Could someone modify the pin color by gender function to be pin color by member group? I think it's lot more useful that way!
By the way I've got another question: is there anyone that upgraded this from 0.1beta to 1.0? Do members have to reset their pins after upgrade? Should I completely uninstal previous version before update?
Bye,
PS

brianjw

Members do not have to reset their pins.  Yes, completely uninstall to install the new version. I do not create upgrade packages.

It could be listed by member group, but right now I am in the midst of upgrading the mod so when I get the chance, I might try and implement such a feature.

CrazyHorse80

Quote from: brianjw on April 27, 2009, 04:48:21 PM
Members do not have to reset their pins.  Yes, completely uninstall to install the new version. I do not create upgrade packages.

It could be listed by member group, but right now I am in the midst of upgrading the mod so when I get the chance, I might try and implement such a feature.

Thank you very much!

matstone

I installed this mod a couple of weeks ago on SMF 1.1.8 running the dilbermc theme. I have made all the manual edits listed for a custom theme and while everything works fine; my error log is getting loaded up daily with two distinct errors.

Error #1:
8: Undefined variable: first
File: /home/XXXXXXX/Themes/default/GoogleMap.template.php (main_above sub template - eval?)
Line: 1317

Error #2:
8: Undefined variable: last
File: /home/XXXXXX/Themes/default/GoogleMap.template.php (main_above sub template - eval?)
Line: 1320

Any ideas? I saw someone else had posted these same errors early in this mods release but, nothing was ever replied to it or concerning it. It is also very difficult to find a problem with lines 1317 & 1320 when the GoogleMap.template.php stops at line 261. I'm in need of some help or direction concerning this because the members find it useful. Thanks in advance.

matstone

#917
I have narrowed down my issue just need a little coding help.

I had to make a small adjustment to the button code on the index.template in the custom theme and here lies my problem:

// Google Maps Mod
if (($modSettings['googleMapsEnable']) && (allowedTo('googleMap_view')))
echo ($current_action == 'googlemap' || $context['browser']['is_ie4']) ? '<td class="menubg' . $first . '">&nbsp;</td>' : '' , '
<td valign="center" class="menubg' , $current_action == 'googlemap' ? '2' : '' , '">
<a href="', $scripturl, '?action=googlemap">' , $txt['googleMap'] , '</a>
</td>' , $current_action == 'googlemap' ? '<td class="menubg' . $last . '">&nbsp;</td>' : '';


I have tried to remove the lines with the "first" & "last" undifined variables but get a parse error. I am far from a php coder abit more of try this and hope to get by kind of learner. Can anyone help me get this code right so it doesn't keep producing errors?  ;)

UPDATE!!
I figured it out and have it fixed. Thanks anyway.

CrazyHorse80

Quote from: matstone on April 29, 2009, 07:25:54 PM

UPDATE!!
I figured it out and have it fixed. Thanks anyway.


Could you tell us how you did it?
Bye,
PS

TheListener

This mod would suit my forum perfect except:

.     Execute Modification     ./Sources/Load.php     Test failed
9.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
10.    Execute Modification    ./Sources/ModSettings.php    Test failed
11.    Execute Modification    ./Sources/Profile.php    Test successful

The mod failed on the two phps above.

I haven't installed the mod.


Advertisement: