IP Country Flags »  Show posts from    to     

Icy Phoenix


Old Customizations - IP Country Flags



KasLimon [ Sat 08 Mar, 2008 11:31 ]
Post subject: IP Country Flags
IP Country Flags 1.0.0 BETA-3


What is this mod for?
This mod adds the ability of taking user's country from IP. You can easily manage countries from ACP and add/delete IP ranges.
You can show user's flag everywhere near to their username, or only in viewtopic. You can also set which flag you want to show (user's profile or user's IP) in case of having the two of them available. You can set configuration from ACP -> Configuration -> Site -> Abilities.
Also, you can arrange memberlist by their IP country.
Demo board: iesmg.es/ip

Who created it?
This mod was created by Marco (3Di at phpbb.com). This mod was released here.
I've adapted it to Icy Phoenix, but this mod I show you has not all the features the original mod does. I think the current ones are enough.

Installation instructions
  1. Make a full backup of your forum, including database and files
    This is strictly necessary because this mod can damage your database.
  2. Download the attached package
  3. Delete or rename images/flags folder
  4. Upload all files and folders located in root/ directory to the root of your forum
  5. Login as administrator and run install_ip_cf.php (http://www.youripforum.com/install_ip_cf.php) and follow the instructions. Please use a browser that supports javascript and wait until the installer ends.
  6. Delete install_ip_cf.php file and ipcf_data folder
  7. Open file ip_country_flag_1.0.0B2.txt included in the package and follow the instructions
  8. Clean cache
  9. Enjoy your new implementation!


Update from BETA-2 to BETA-3
Spoiler: [ Show ]

Update from BETA-1 to BETA-2
Spoiler: [ Show ]


Suggestions and opinions are always welcome. Have a nice day!


Limun [ Sat 08 Mar, 2008 12:47 ]
Post subject: Re: IP Country Flags
Thanks Kas...i will test it tonight
Caramba


ThE KuKa [ Sat 08 Mar, 2008 13:05 ]
Post subject: Re: IP Country Flags
Thanks Kas, MODification man!


Limun [ Sat 08 Mar, 2008 13:10 ]
Post subject: Re: IP Country Flags
KasLimon wrote: [View Post]

[*]Open file ip_country_flag_1.0.0B1.txt included in the package and follow the instructions


?? where is it ?
did u mean ipcf296a.txt


KasLimon [ Sat 08 Mar, 2008 17:00 ]
Post subject: Re: IP Country Flags
I'm sorry, I mixed files

In the old package it was original mod file (much bigger and longer). I've updated the package with the correct file.

Thank you for reporting and sorry for the mistake


Limun [ Sun 09 Mar, 2008 06:04 ]
Post subject: Re: IP Country Flags
dontknow First try -falied- stop

ok see pics...

1_1205038690_196272



and as not installed (because of erorr in first pic) i saw also this ..

3


KasLimon [ Sun 09 Mar, 2008 09:16 ]
Post subject: Re: IP Country Flags
I've tested it a lot of times before releasing...

I'll correct them.

Greetings!


KasLimon [ Sun 09 Mar, 2008 09:26 ]
Post subject: Re: IP Country Flags
Please download the package and upload new files to your forum (adm/admin_ip_cf_user_flags.php and install_ip_cf.php)

Then try again. Thank you for reporting.

Greetings!


Limun [ Sun 09 Mar, 2008 12:02 ]
Post subject: Re: IP Country Flags
sec try

Spoiler: [ Show ]


shoud i clean this table ip_cf_ip_to_iso3661_1 or delete ?


KasLimon [ Sun 09 Mar, 2008 12:06 ]
Post subject: Re: IP Country Flags
Well, now you can't go back. It's because of the first error, so enter to the install like this:
http://www.your_ip_board.com/install_ip_cf.php?step=2

Greetings!


Limun [ Sun 09 Mar, 2008 12:15 ]
Post subject: Re: IP Country Flags


5

now i go to that manual part

but see this...PS I didnt done yet manual part "ip_country_flag_1.0.0B1.txt"

5s


KasLimon [ Sun 09 Mar, 2008 12:21 ]
Post subject: Re: IP Country Flags
You have to apply code changes related to constants.php.
Look at the txt

Greetings!


KasLimon [ Sun 09 Mar, 2008 15:15 ]
Post subject: Re: IP Country Flags
Package updated to 1.0.0 BETA-2

Updating instructions are included in first post. Greets!


Mighty Gorgon [ Sat 15 Mar, 2008 13:36 ]
Post subject: Re: IP Country Flags
Great job and support.

Thank you Kas.


KasLimon [ Wed 16 Apr, 2008 23:28 ]
Post subject: Re: IP Country Flags
The mod has been updated to 1.0.0 BETA-3 version.

What's new?
Updated all the IP database to make most of the IPs recognisable.

I'll do a full checking of all the features and I'll add new ones when the time let me...

Greets!


Limun [ Thu 17 Apr, 2008 13:35 ]
Post subject: Re: IP Country Flags
Update from BETA-2 to BETA-3 failed

000

001_1208432043_817789

003



KasLimon [ Thu 17 Apr, 2008 22:28 ]
Post subject: Re: IP Country Flags
I'm the most absent-minded person I've ever known

There was an error in the package...
Upload new install_ip_cf.php file and try to update again.

Thanks


Limun [ Thu 17 Apr, 2008 23:24 ]
Post subject: Re: IP Country Flags
Done !! sucesfuly
....

ipflagb3ok

after editing usercp_register.php
emtyed cash ..twice..
but i m still unknown

same

thanks Kas


KasLimon [ Thu 17 Apr, 2008 23:33 ]
Post subject: Re: IP Country Flags
Please try to use a proxy to enter in your account.
If it changes your flag, that unfortunately means you are not in ip database...

The page seems to be damaged, but I downloaded ip to country database there.
When it gets repaired and you enter there, you'll be informed about in which country you are.
http://ip-to-country.com/

You'll have to wait until it gets repaired...

Greets!


Limun [ Thu 17 Apr, 2008 23:48 ]
Post subject: Re: IP Country Flags
ahhhh....

me and my proxy

ahhh

can u please send me some normal proxy


Limun [ Fri 18 Apr, 2008 11:03 ]
Post subject: Re: IP Country Flags
its working finaly .... without proxy

finaly

now i will need a little help from u ( if you and when uhave time ) ... for instal this in big database and worst thing database with some old mod for flags..
thank you again for this mod


KasLimon [ Fri 18 Apr, 2008 13:03 ]
Post subject: Re: IP Country Flags
Limun wrote: [View Post]
now i will need a little help from u ( if you and when uhave time ) ... for instal this in big database and worst thing database with some old mod for flags..
I'm sorry but I cannot understand you

Greets!


Limun [ Fri 18 Apr, 2008 15:27 ]
Post subject: Re: IP Country Flags
KasLimon wrote: [View Post]
Limun wrote: [View Post]
now i will need a little help from u ( if you and when uhave time ) ... for instal this in big database and worst thing database with some old mod for flags..
I'm sorry but I cannot understand you

Greets!


everithing is fine....
i will try to explain you with pics....


crimsonsun [ Tue 03 Jun, 2008 10:35 ]
Post subject: Re: IP Country Flags
This mod is working perfectly and a great addition. Thanks KasLimon, brilliant!


3Di [ Thu 30 Oct, 2008 21:31 ]
Post subject: Re: IP Country Flags
Hello guys, while Googleing away about my MOD I have found this Topic.

Just curious to know why nobody asked for my help about this.

Regards.

Marco (3Di)


Limun [ Thu 30 Oct, 2008 23:01 ]
Post subject: Re: IP Country Flags
3Di wrote: [View Post]
Hello guys, while Googleing away about my MOD I have found this Topic.

Just curious to know why nobody asked for my help about this.

Regards.

Marco (3Di)


well ... i can only say that your mod is great and it working nice in icyphoenix
thank you for it


Mighty Gorgon [ Sun 23 Nov, 2008 11:10 ]
Post subject: Re: IP Country Flags
3Di wrote: [View Post]
Hello guys, while Googleing away about my MOD I have found this Topic.

Just curious to know why nobody asked for my help about this.

Regards.

Marco (3Di)

Welcome Marco,
glad to see you here.

I guess no one asked because Icy Phoenix, even if phpBB based, requires some tweaks for each mod to be integrated, and not all authors are willing to help in integrating their mods into something different from "vanilla" phpBB installations.

If you are willing to offer help even for Icy Phoenix installations, we may ask you to help in properly integrate your mod into latest version of Icy Phoenix.

Thanks.


KasLimon [ Fri 16 Jan, 2009 16:04 ]
Post subject: Re: IP Country Flags
I know this topic is 2 months old, but I feel I need to reply:
3Di wrote: [View Post]
Hello guys, while Googleing away about my MOD I have found this Topic.

Just curious to know why nobody asked for my help about this.

Regards.

Marco (3Di)
Hi Marco,

At first, I just wanted to say that I've specified this customization has been created by you in the first post:
KasLimon wrote: [View Post]
Who created it?
This mod was created by Marco (3Di at phpbb.com). This mod was released here.
I've adapted it to Icy Phoenix, but this mod I show you has not all the features the original mod does. I think the current ones are enough.
People asks me for help in this topic because it's me the person who has "studied" all you've coded in order to adapt its functionalities, added little modifications and removed some others to make it work properly on this great CMS. I was not trying to get problems with you nor with any other people, if you felt offended because of anything I said/did, just tell me and we can solve the problem.

Greets!


Mighty Gorgon [ Sat 17 Jan, 2009 12:47 ]
Post subject: Re: IP Country Flags
I don't think Marco was accusing you for "stoling" his job... you did mention correctly the creator of that mod for phpBB.

Maybe I'm wrong, but I guess he would have only be contacted before including the mod here...


KasLimon [ Thu 22 Jan, 2009 23:49 ]
Post subject: Re: IP Country Flags
Omg, I see. I did misunderstood 3Di. Sorry!


paramine-gx [ Sun 25 Jan, 2009 02:23 ]
Post subject: Re: IP Country Flags
so... i have a problem with this mod...
all my users that haven't especified their coutries appear with the unknown flag...

so i want to report several bugs...

1.- some flags are not called correctly
example, the board call to flags/small/mexico.png when it should call to flags/small/mx.png
2.- ip recognizing is not working correctly (happens i wrote before...)
3.- some flags are bigger than others...

can you help me to fix this?

so, if i'd want to delete this mod how i can do it?
it's important too know how to uninstall any mod that is beong installed

well, again excuseme if my english is hard to understand


Chaotic [ Sun 25 Jan, 2009 03:56 ]
Post subject: Re: IP Country Flags
As for any MOD I've ever installed, uninstalling is as easy as backing up the tracks. Replace the files you backed up and undo any database changes. Be super careful when playing in the database though! You've been warned!


paramine-gx [ Sun 25 Jan, 2009 16:41 ]
Post subject: Re: IP Country Flags
Chaotic wrote: [View Post]
As for any MOD I've ever installed, uninstalling is as easy as backing up the tracks. Replace the files you backed up and undo any database changes. Be super careful when playing in the database though! You've been warned!


yeah, i know backing up a can undo 50% of the MOD but i dont know how to undo the changes in the database


Limun [ Sun 25 Jan, 2009 16:45 ]
Post subject: Re: IP Country Flags
paramine-gx wrote: [View Post]

yeah, i know backing up a can undo 50% of the MOD but i dont know how to undo the changes in the database


i suggest you maybe better wait answer of 3Di or Kas Limon


Lopalong [ Mon 26 Jan, 2009 02:53 ]
Post subject: Re: IP Country Flags
Back up your Database

SQL these five lines, and ignore any "Key Error" messages.

Change the ip_ prefix to yours if it's different.

1. SQL

DROP TABLE IF EXISTS `ip_cf_ip_to_iso3661_1`;
ALTER TABLE ip_users DROP user_cf_iso3661_1;
ALTER TABLE ip_sessions DROP session_cf_iso3661_1;

2. Then SQL this one.

ALTER TABLE ip_config DROP show_user_flag_everywhere;

3. Then SQL this one

ALTER TABLE ip_config DROP flag_priority;


paramine-gx [ Tue 27 Jan, 2009 16:35 ]
Post subject: Re: IP Country Flags
so... this is for?


Chaotic [ Tue 27 Jan, 2009 17:25 ]
Post subject: Re: IP Country Flags
What Lopalong posted is how to remove all traces of this MOD from your database.

Also, don't forget to replace all the files you edited with your backup copies!


m0hamed [ Sat 31 Jul, 2010 21:09 ]
Post subject: Re: IP Country Flags
i try to install it wiz phpbb3.0.7 but when i change code i don`t find codes in txt of installation i wanna help


Joshua203 [ Sat 31 Jul, 2010 22:22 ]
Post subject: Re: IP Country Flags
m0hamed wrote: [View Post]
i try to install it wiz phpbb3.0.7 but when i change code i don`t find codes in txt of installation i wanna help


well that is because it is not meant for phpbb3 but made for icyphoenix based boards m0hamed

maybe you can find a similar mod in phpbb.com's database


spydie [ Sat 31 Jul, 2010 23:11 ]
Post subject: Re: IP Country Flags
wanna see country flags and comunity flags. lol

have a look at my mods-site

working on .53a




Powered by Icy Phoenix