Location Mod

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

Previous topic - Next topic

^Raven^

A flag is supposed to show under your avatar when you post for the country you do.  Are you certain they're following the instructions exactly?  Have they tried doing their City and Country before placing the pin?  Have they tried doing it after placing the pin?  Are you using SMF 1.0.5 or 1.1?  I know the mod has been updated and made different for 1.1 so it may require different steps.
Jon Reinhart

Owner, CWF GameCast

Public Relations Coordinator, Battlestar Galactica Wiki

perplexed

hmmm I'm using 1.1 beta. 

I managed to get my pin to work on the member map but nothing displays next to my posts.

Someone installed it for me, maybe I should try installing it again?


Tristan Perry

Quote from: elliel on August 12, 2005, 07:32:38 AM
hmmm I'm using 1.1 beta. 

I managed to get my pin to work on the member map but nothing displays next to my posts.

Someone installed it for me, maybe I should try installing it again?


I've found it only works for non-staff members. The place modified in Display.template.php to display the flag will only display the flag for non-staff members AFAIK.

See if it works with normal members.

^Raven^

That's odd, it displays for me and I'm the owner and an admin on my forum.  I know it displays, also, for people who are not mods or anything.
Jon Reinhart

Owner, CWF GameCast

Public Relations Coordinator, Battlestar Galactica Wiki

atambo

works for me also and I'm staff...for normal members too

ps-1.1b3

Klauser

Hello,

is there any other solve for this Location Mod based on City Codes from the Memberprofil like this for phpBB ?

http://www.phpbb.de/map.php?mode=applet

Regards

perplexed

it's not displaying under anyone's avatar for anyone, admin, or otherwise.  some people have managed to get it to work in the member map area, so you can see maybe half a dozen people with flags there, but even those, do not show under the avatar.


DemonicInfluence

Quote from: elliel on August 12, 2005, 08:21:03 PM
it's not displaying under anyone's avatar for anyone, admin, or otherwise.  some people have managed to get it to work in the member map area, so you can see maybe half a dozen people with flags there, but even those, do not show under the avatar.



edit display.template.php

Anyway, in my forum with the 1.1 public beta version I get about 12 of this error in the forum error log every time I go to the member map admin:

8: Undefined index: mm_default
File: /home/u1/libo/html/Themes/default/Admin.template.php (eval?)
Line: 212

How fix?

On the Membermap.template.php where the problem prolly comes from, the line is this:
<option value="', $map['ID_MAP'], '"', $map['ID_MAP'] == $modSettings['mm_default'] ? 'selected="selected"' : '', '>', $map['mapName'], '</option>';

perplexed

um if I am supposed to edit the display template, then can someone tell me what I am supposed to put there to make it work?

I don't want to mess it up and create errors

Scoobie

I just installed the Location Mod on my 1.1 beta3 SMF,  Works Great!

I have been missing this feature since I upgraded, all the data was right where we left it...

GREAT JOB guys!
Been with SMF since the YabbSE Days...
http://www.fordpinto.com

beemer

#530
Hi I am trying to install gobalopper-1.locationmod.whoflags.zip
Running
MK Portal M1.0
SMF 1.1 Beta Public 3
Helios Multi 11

gobalopper-1.locationmod.zip & gobalopper-1.locationmod.additionalmaps.zip
Both installed all OK

But the who flags install test gives me an error

Error with Package Install
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Install Actions
Installations actions for "Location Mod - Who Flags":
Installing this package will perform the following actions:
Type Action Description
1. Execute Modification ./Sources/Who.php Test successful
2. Execute Modification ./Themes/default/Who.template.php Test failed
3. Execute Code install.php


Any ideas?
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

rojamaia



hi!

i love this mod. it looks great.  however, i'm using SMF 1.0.5

can you make it compatible for 1.0.5?  PLEASE!!!

Tripp

Yes, I also use 1.0.5.  I would love to use it too!!

trenchteam

Im getting this error on install using SMF beta public. Everything says successful, but when I attempt to install, it gives me this.... :(

QuoteColumn count doesn't match value count at row 1
File: /XXXXXX/XXXXXX/public_html/forum/Packages/temp/install.php
Line: 45

beemer

Quote from: malinaobenny on August 22, 2005, 02:08:50 AM


hi!

i love this mod. it looks great.  however, i'm using SMF 1.0.5

can you make it compatible for 1.0.5?  PLEASE!!!

There is a 1.05 version  :)
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

rojamaia


really?  :D where is the 1.0.5 version of this mod?

Furvert

This error can be removed quite simply in SMF1.1B3P

8: Undefined index: mm_default
File: /home/u1/libo/html/Themes/default/Admin.template.php (eval?)
Line: 212

Go to Admin, click membermap, click save
That forces it to set  'mm_default' which did not have a default value from install.

I read everything here and no one had answers, I had 8 pages of those errors so I looked in the code.
The above worked for me.


DemonicInfluence

awesome thanks a bunch

Furvert

#538
Has anyone made a zoomable by click map?

I can see a few ways to do one.
One could compute mouse position of the click and lookup the availiable maps to see if it is inside any of them. If so change to that map. If not perhaps change the map scale centered at that location?
I will need to read the code in detail to see if scale zoom is doable.
Also a possible problem is dense pins may prevent zoom function. Then need to add a zoom button so it overides pins for this. Or could use right click for those who have it.

Someone could also generate the HTML map codes that define countries and add that to the generated pages. Once more this could be autogenerated by using the database of map locations to define the click boxes.


<map name= "something">
<area href="countrymaplink" hidden=true shape="polygon" coords="363, 245, 377, 236, 351, 234">
</map>


of course rectange is easier

DemonicInfluence

yes, someone has. in one of the earlier posts. Its based on google maps though...

Advertisement: