News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Location Mod

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

Previous topic - Next topic

beemer

Me again

To have other flags ie welsh scots n irish

You need to add some entries to the table smf_location_country

I added a scottish entering eo as the c2code and the id_map as 6 (same as uk)

then copy the scottish flag into your flags folder namin it eo.gif

The when you go to the member map you can choose scotland and get the scottish flag  ;)
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

perplexed

Quote from: beemer on September 14, 2005, 03:27:59 PM
Me again

To have other flags ie welsh scots n irish

You need to add some entries to the table smf_location_country

I added a scottish entering eo as the c2code and the id_map as 6 (same as uk)

then copy the scottish flag into your flags folder namin it eo.gif

The when you go to the member map you can choose scotland and get the scottish flag  ;)

which template are you talking about when you say to add stuff to the smf_location_country table?

beemer

no template - these are changes to the database (mysql phpmyadmin)
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

perplexed

oh no, well I dont even know where to start with that LOL - I still have my 'L' plates on.  I might just have to leave it alone for now in that case.

Carsten2001

#564
Hi there,

thank you very much for this mod!

I have tried to read the whole thread, but perhaps I was too quick and have missed something. Then it would be nice if someone could show me the proper post.  ;)

If I haven't missed anything, I have some questions:

- Where did you get the maps? Which license do they have? Am I allowed to use them for other purposes?

- You are saving x and y coordinates, isn't it? Is it possible to computate longitude and latitude out of it or do you know the mathematical projection that was used for the map?

Thanks, Carsten2001

DemonicInfluence

Quote from: Carsten2001 on September 16, 2005, 05:22:08 PM
Hi there,

thank you very much for this mod!

I have tried to read the whole thread, but perhaps I was too quick and have missed something. Then it would be nice if someone could show me the proper post.  ;)

If I haven't missed anything, I have some questions:

- Where did you get the maps? Which license do they have? Am I allowed to use them for other purposes?

- You are saving x and y coordinates, isn't it? Is it possible to computate longitude and latitude out of it or do you know the mathematical projection that was used for the map?

Thanks, Carsten2001
maps are part of mod. It is additional maps thingy... I dunno about others..

eye97

I downloaded this file into the Package directory and it lists the file but there is no APPLY MOD.

Is there soemthing special I need ot apply this Mod?

Cheers

RJ

TANDIONO.COM

Hi! Is this MODs compatible with 1.0.5?

Tandiono

beemer

Quote from: tandiono on September 21, 2005, 06:07:15 AM
Hi! Is this MODs compatible with 1.0.5?

Tandiono

There is a 1.05 version a few pages back, the one on page 1 is for 1.1.3
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

DemonicInfluence

Quote from: eye97 on September 19, 2005, 11:23:56 AM
I downloaded this file into the Package directory and it lists the file but there is no APPLY MOD.

Is there soemthing special I need ot apply this Mod?

Cheers

RJ
errr... delete it and maybe reupload throught the forum thing...

eye97

Err did that too but didnt work.

beemer

Quote from: eye97 on September 21, 2005, 08:26:24 AM
Err did that too but didnt work.

Charter member right = latest version probably not tested, might just be a case of updating the package-info.xml to include your version of smf ?
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

TANDIONO.COM

#572
Hi! I can't see any flag of visitor :

http://hits.fm/index.php?action=who

Is there anyway that i can do? Thx

TANDIONO.COM

Quote from: beemer on September 21, 2005, 06:31:59 AM
Quote from: tandiono on September 21, 2005, 06:07:15 AM
Hi! Is this MODs compatible with 1.0.5?

Tandiono

There is a 1.05 version a few pages back, the one on page 1 is for 1.1.3

Just install it. Thanks

DemonicInfluence

Quote from: tandiono on September 21, 2005, 01:57:21 PM
Hi! I can't see any flag of visitor :

http://hits.fm/index.php?action=who

Is there anyway that i can do? Thx
the ip location flags package..

TANDIONO.COM

Quote from: Libo on September 21, 2005, 05:58:38 PM
Quote from: tandiono on September 21, 2005, 01:57:21 PM
Hi! I can't see any flag of visitor :

http://hits.fm/index.php?action=who

Is there anyway that i can do? Thx
the ip location flags package..

I install that too.. Buth sigh can't see any flag in who  :(

DemonicInfluence

O yes. did u edit the who.template?


Btw when will this be updated for RC1?

TANDIONO.COM

Quote from: Libo on September 22, 2005, 07:25:30 AM
O yes. did u edit the who.template?


Btw when will this be updated for RC1?

no, is there any of the code that i need to edit?

Tandiono

beemer

Quote from: tandiono on September 22, 2005, 07:18:36 PM
Quote from: Libo on September 22, 2005, 07:25:30 AM
O yes. did u edit the who.template?


Btw when will this be updated for RC1?

no, is there any of the code that i need to edit?

Tandiono

See my post a few pages back, about adding 3 lines of code
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

TANDIONO.COM

Quote from: beemer on September 23, 2005, 04:14:33 AM
Quote from: tandiono on September 22, 2005, 07:18:36 PM
Quote from: Libo on September 22, 2005, 07:25:30 AM
O yes. did u edit the who.template?


Btw when will this be updated for RC1?

no, is there any of the code that i need to edit?

Tandiono

See my post a few pages back, about adding 3 lines of code

Hi! but this code is already on my line


if (!empty($message['member']['flag']['country']))
echo '
<img src="', $settings['default_images_url'], '/flags/', $message['member']['flag']['country'], '.png" alt="', $message['member']['flag']['name'], '" title="', $message['member']['flag']['name'], '" /><br />';

Advertisement: