Location Mod

Started by Gobalopper, November 19, 2004, 01:43:12 AM

Previous topic - Next topic

Webster

Work's fine!

BUT:

After installation, the error-log has thousands of entries like:

8: Use of undefined constant mm_mm - assumed 'mm_mm'
Datei: /YYYY/XXXXX/forum/Themes/default/Errors.template.php (eval?)
Zeile: 456


You have to replace $txt[mm_mm] in the index.template.php with $txt['mm_mm']

Then it will work free of errors :D

Furvert

I oinly got this on various places during install, related bug?
It seems to work fine otherwise and no further errors.

http://furvert.net/smf/index.php?action=admin
8: Undefined index: mm_mm
File: /home/content/f/u/r/furvert/html/smf/Themes/default/Admin.template.php (eval?)
Line: 569

Furvert

I love the Who Flags mod but I want to try the Google Map mod.
Unfortunately it wont work with your Location Mod at the same time;(

Do you think it is ok to make Who Flags independant of Location, I could probably figure out how if I looked into it. I suspect it just uses some functions but could be wrong.

Otherwise, do you know how to allow both maps to work at the same time?

Gobalopper

#783
Thanks Webster there was a bug with 1.1 RC1 that caused that. I have uploaded a new version.

And yes you could fairly easily make Who Flags work without have the other parts of the location mod installed.

Furvert

#784
The googlemap writer is also interested in getting both maps working together ;D

I may look into the Who Flags code then.
I managed to make it work with the who.template.php that shows users/guest/spiders but the Googlebot & Spiders Mod would not install on RC2, I need to post there on that. They used to use both together fine when I has 1.1b3p running. Likely not to hard to fix.
EDIT-Googlebot for RC2 is fixed 1.05 version

Metalchild

I use 1.1 RC1. Uploaded the mod with pacman, installed, fine. No errors. But then, when i do "...index.php?action=mm", it happens:

An Error Has Occurred!
Unable to load the 'main' template.

Can you help me?

beemer

there is a problem with rc1 pacman

if you check several of the mod files will have a 0k file size(cant remember which ones, but it has been answered in this thread)
just overwite with the files from the zipped mod
http://www.bmw7resource.co.uk
SMF 1.1 RC1
MKP 1.1 RC1
Helios Multi RC1
-------------------------------------------------------
http://www.thefishsheadnhorsesarse.co.uk
SMF 1.1 RC2
TinyPortal 0.8.6

Metalchild

Thx for your help and sorry that i didn't find the answer in this thread!  :)

Drunken Clam

Hi All,

Just like to say, I've spent the last 4 days trying to install this MOD on my 1.1RC2 site.

I encountered many problems during the 4 days, ALL of which were answered in this one thread.

Anyone having problems should really take time to read ALL the messages - the answers ARE there!!!

That said, my sincere thanks go to Gobalopper, for a brilliant MOD. Looking forward to the next incarnation!

Bullcat Webhosting

#789
I get the next error when i klik on member map ! :(


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 'AND )
AND (p.yPin BETWEEN AND )
AND p.ID_MEMBER = mem.ID_MEMBER
ORDER B' at line 4
Bestand: /home/jmtech/domains/jmtech.nl/public_html/gifkikkernederland/Sources/MemberMap.php
Regel: 101


And i read this whole list of postings !

edit: problem solved, 1 had only one map selected, now with two.


But i still have a other problem,
When i go to member map , i  see a map but when i whant to put a pin, i dont see a map , only city en country field ?? is there somting wrong ??


Wij ondersteunen SMF forums & safe mode staat uit.

Bullcat Webhosting

#790
And i get this error code on my forum !

8: Undefined index: map
Bestand: ........rland/Themes/default/MemberMap.template.php (eval?)
Regel: 183


Wij ondersteunen SMF forums & safe mode staat uit.

Prasad007

What is this mod? What does it do?? How is it different from Google Member Map ?

DemonicInfluence

This mod basically, has a normal image map. You place a pin for where u live... Google Member Map uses the google maps to generate the map instead of static images..

beemer

Quote from: Hans_de_Echte on January 18, 2006, 09:54:22 AM
And i get this error code on my forum !

8: Undefined index: map
Bestand: ........rland/Themes/default/MemberMap.template.php (eval?)
Regel: 183


Set a default map in admin cp
when on the member map do a refresh/reload
http://www.bmw7resource.co.uk
SMF 1.1 RC1
MKP 1.1 RC1
Helios Multi RC1
-------------------------------------------------------
http://www.thefishsheadnhorsesarse.co.uk
SMF 1.1 RC2
TinyPortal 0.8.6

Prasad007

Quote from: DemonicInfluence on January 18, 2006, 01:53:09 PM
This mod basically, has a normal image map. You place a pin for where u live... Google Member Map uses the google maps to generate the map instead of static images..
oh okay
so then which is better
i wudnt want 2 similar mods on my site

oscar2001

#795
Quote from: Prasad007 on January 18, 2006, 11:43:11 PM
Quote from: DemonicInfluence on January 18, 2006, 01:53:09 PM
This mod basically, has a normal image map. You place a pin for where u live... Google Member Map uses the google maps to generate the map instead of static images..
oh okay
so then which is better
i wudnt want 2 similar mods on my site


They both have very good points and I have used the location mod for a long time (since it was first introduced here, same person did it for yabb too)
When I upgraded to rc2 I did a poll with our staff members and the results bordered on the google map , so we are currently using that. Would be cool if both mod authors could kinda combine each others mods as i miss the flags etc but seeing and putting a pin on my houses roof  in australia is kinda cool too lol)

Up to you what you choose but the writer for this mod did put in a lot of work over a long period of time :)

Prasad007

Quote from: oscar2001 on January 19, 2006, 12:37:41 AM
Quote from: Prasad007 on January 18, 2006, 11:43:11 PM
Quote from: DemonicInfluence on January 18, 2006, 01:53:09 PM
This mod basically, has a normal image map. You place a pin for where u live... Google Member Map uses the google maps to generate the map instead of static images..
oh okay
so then which is better
i wudnt want 2 similar mods on my site


They both have very good points and I have used the location mod for a long time (since it was first introduced here, same person did it for yabb too)
When I upgraded to rc2 I did a poll with our staff members and the results bordered on the google map , so we are currently using that. Would be cool if both mod authors could kinda combine each others mods as i miss the flags etc but seeing and putting a pin on my houses roof  in australia is kinda cool too lol)

Up to you what you choose but the writer for this mod did put in a lot of work over a long period of time :)
oh okay thanks for the info!

QuoteWould be cool if both mod authors could kinda combine each others mods as i miss the flags etc but seeing and putting a pin on my houses roof  in australia is kinda cool too lol)
yeah that would be really great!! :)

Bullcat Webhosting

En stil get this error, al the files al fine, al the maps exist, what is the solution ???


http://.............../index.php?action=mm;sa=edit 
8: Undefined index: map
Bestand: /home/...............rnederland/Themes/default/MemberMap.template.php (eval?)
Regel: 183



Wij ondersteunen SMF forums & safe mode staat uit.

DemonicInfluence

Quote from: beemer on January 18, 2006, 02:28:16 PM
Quote from: Hans_de_Echte on January 18, 2006, 09:54:22 AM
And i get this error code on my forum !

8: Undefined index: map
Bestand: ........rland/Themes/default/MemberMap.template.php (eval?)
Regel: 183


Set a default map in admin cp
when on the member map do a refresh/reload
that is the FIX!

Bullcat Webhosting

Ok sorry, i try that, iám go to cp and set a default map. i save that en go to membermap, 1 see the card i set default, then i click on place your pin, next screen noting know map at all, i push CTRL+F5 nothing happens , yes one thing is happen the row numbers in the error are increasing 181,182,183 etc etc .. and i get the same error ! now wath ??

8: Undefined index: map
tech.nl/public_html/gifkikkernederland/Themes/default/MemberMap.template.php (eval?)
Row: 183


Wij ondersteunen SMF forums & safe mode staat uit.

Advertisement: