Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-03-16 08:27:49

mapu
Member
From: Munich, Germany
Registered: 2004-03-16
Posts: 141

[request] Country flag based on IP of commenter

Having an international readership is cool. It would be even cooler to identify a commenter’s country with a little flag next to the name or wherever based on his/her IP address.

If you don’t know, what I mean, please take a look here (scroll down to the comments) for example. That weblog is powered by EE and the country flag feature is realised with a plugin/module.

The only thing I know about is that you need a database for the IP <-> country and of course the flags.

Unfortunately I have no PHP skills at all. But I wanted to post it as an idea for developers with too much time ;)

Offline

#2 2007-10-16 17:32:42

quito
New Member
Registered: 2007-10-16
Posts: 2

Re: [request] Country flag based on IP of commenter

Hi mapu! It s a good idea and I will help you. Now i’m looking for a web page that has all the ip ranges.

Sorry about my english =)

Diego

pd: Do you speak spanish?

Offline

#3 2007-10-17 04:34:37

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: [request] Country flag based on IP of commenter

I think that ip/country does not always work as somebody might be posting whilst not in their home… This is a plugin request though and

BBclone and slimstat have an ip to country function which might be of use.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2007-11-04 04:44:53

quito
New Member
Registered: 2007-10-16
Posts: 2

Re: [request] Country flag based on IP of commenter

Hi!
Colak, I saw the functions that you mentioned but i don t know if those do what mapu needs. However, I had finished the plugin requested.
I hope someone need it =)

What have I got to publish it?

Thanks!

Diego

Last edited by quito (2007-11-04 04:45:41)

Offline

#5 2007-11-04 06:48:16

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: [request] Country flag based on IP of commenter

hi Diego
You may publish your plugin in the plugins forum
The title of your post should be the name of your plugin. It will eventually be moved by Mary to the author support forum which I would prompt you to surf so as to check how other authors present their work.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB