[BETA] Country Flags 1.0.0

Modules for the User Control Panel
Forum rules
Image Please feel free to download any MOD's here, support for each MOD is located it's own thread.

To post your own MOD, please first read the MOD Guidelines

[BETA] Country Flags 1.0.0

Postby nedka » 23 Feb 2007, 02:57

Classification: Add-on
phpBB Part: UCP

MOD Name: Country Flags
MOD Version: 1.0.0
Author: nedka
MOD Description: This MOD allows your registered users to select the flag of their country. Their country flags will then display thoughout the phpBB system. You can select a default country flag for usergroups. You also can manage these flags (edit/delete/add), change some settings, set country flag for users/groups... in ACP.

Works with:
  • phpBB 3.0.RC7+

Features:
  • Current supported 245 countries (in phpbb_flags table)
  • Country flags for user
  • Country flags for group
  • Manage flags: add/edit/delete
  • Set country flag for user from ACP
  • Set country flag for group from ACP/UCP

Language: English/Vietnamese/French/Dutch

Licence: GNU General Public License v2

Screenshots:
Image
Image
Image
Image
Image

Installation Level: Hard
Installation Time: 49 Minutes + 15 Minutes for every style (result from MOD Studio)
Format: MODX
Download File:
Country Flags 1.0.0.zip
Country Flags 1.0.0
(803.25 KiB) Downloaded 4193 times

Mirror: http://vinabb.com/viewtopic.php?f=43&t=336
Last edited by nedka on 28 Nov 2007, 01:10, edited 11 times in total.
User avatar
nedka
MOD Author
MOD Author
 
Posts: 47
Joined: 17 Aug 2006, 18:59
Location: Viet Nam
Gender: Male


Re: [BETA] Country Flags 0.2.0

Postby Handyman » 23 Feb 2007, 04:46

Mod Download Attached.
Poll Added.
All mods listed must have the mod attached and have a poll.
For info on this, see rules for posting mods.

Thanks for the mod Good
Please contact me if you have any news to submit to SCOFF News.
SCOFFing at the candidates while you sleep.
My Mods || My Mod Queue
Image
User avatar
Handyman    
Rear Fleet Admiral
Rear Fleet Admiral
 
Posts: 7459
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Favorite Team: Seattle Seahawks
Gender: Male

Re: [BETA] Country Flags 0.2.0

Postby Highway of Life » 23 Feb 2007, 10:37

Wow nedka, I?m impressed!! Good Thumbsup

Nice mod!
Watch out! I might do a code wheelie!

User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 10458
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Gender: Male
phpBB Knowledge: 10

Re: [BETA] Country Flags 0.2.0

Postby John Hjorth » 23 Feb 2007, 12:49

nedka,

I would like to translate this MOD to Danish, but I can't find any language file in the zip in the starting post. Am I missing something or what?
Image Image ImageImage
User avatar
John Hjorth    
STG Moderator
STG Moderator
 
Posts: 1587
Joined: 27 Oct 2006, 22:23
Location: Odense, Denmark, EU
Favorite Team: Olympus DK Team
Gender: Male
phpBB Knowledge: 7

Re: [BETA] Country Flags 0.2.0

Postby nedka » 24 Feb 2007, 07:14

This MOD add some language vars in current language files of phpBB3 as
language/en/common.php
language/en/acp/common.php
language/en/acp/board.php
You can view from "Files Edit" list of this MOD
And I detected wrong info in my MOD:
Open "includes/acp/acp_groups.php", not "includes/acp/info/acp_groups.php" as this MOD said.
User avatar
nedka
MOD Author
MOD Author
 
Posts: 47
Joined: 17 Aug 2006, 18:59
Location: Viet Nam
Gender: Male

Re: [BETA] Country Flags 0.2.0

Postby John Hjorth » 24 Feb 2007, 07:52

nedka,

Ahh, thank you for the explanation. Wouldn't it be better and more flexible to place those language keys in separate language files in the language/xx/mods folder and include the language keys from there?
Image Image ImageImage
User avatar
John Hjorth    
STG Moderator
STG Moderator
 
Posts: 1587
Joined: 27 Oct 2006, 22:23
Location: Odense, Denmark, EU
Favorite Team: Olympus DK Team
Gender: Male
phpBB Knowledge: 7

Re: [BETA] Country Flags 0.2.0

Postby nedka » 24 Feb 2007, 08:09

This MOD listed 237 countries in its database (phpbb_flags table).
If your country isn't listed in this MOD, you can add for yourself from ACP (Manager flags module).
Here are 9 countries which isn't listed by this MOD.
I don't have full info about these countries (country name or country flag)
Anyone can help me complete info about following countries: Thanks Grin

Country name: Ascension Island | Country code: ac | Country flag: [Unknown]
Country name: "Channel Islands, Guernsey" | Country code: gg | Country flag: [Unknown]
Country name: "Channel Islands, Jersey" | Country code: je | Country flag: [Unknown]
Country name: East Timor | Country code: tp | Country flag: [Unknown] (I saw actual flag of this country, but don't find image :p)
Country name: Isle of Man | Country code: im | Country flag: [Unknown]
Country name: "French, Metropolitan" | Country code: fx | Country flag: [Unknown]
Country name: [Unknown] | Country code: cs | Country flag: [OK]
Country name: [Unknown] | Country code: ps | Country flag: [OK]
Country name: [Unknown] | Country code: tl | Country flag: [OK]

And, how many countries are there over the world? Include all small countries, very very... smalll Smile ??? 1 2 3... (I am counting Smile Smile )
User avatar
nedka
MOD Author
MOD Author
 
Posts: 47
Joined: 17 Aug 2006, 18:59
Location: Viet Nam
Gender: Male

Re: [BETA] Country Flags 0.2.0

Postby John Hjorth » 24 Feb 2007, 08:16

Nedka,

I will give you a hand on this particular issue over time, when I find the time for it. It's about searching on the Net and perhaps also doing some camparisons for similar phpBB2-based MODs Wink Getting dirty hands from manually work does not scare me at all - I really like your MOD Cool
Image Image ImageImage
User avatar
John Hjorth    
STG Moderator
STG Moderator
 
Posts: 1587
Joined: 27 Oct 2006, 22:23
Location: Odense, Denmark, EU
Favorite Team: Olympus DK Team
Gender: Male
phpBB Knowledge: 7

Re: [BETA] Country Flags 0.2.0

Postby Semi_Deus » 27 Feb 2007, 12:13

where and how do i add this mod to my forum?
In which folder do i put it??

thanks!! NIce Mod
Former Moderator & Styles team member
Image
User avatar
Semi_Deus
Admiral
Admiral
 
Posts: 2479
Joined: 13 Feb 2007, 13:53
Location: Netherlands
Favorite Team: Ajax
Gender: Male
phpBB Knowledge: 8

Re: [BETA] Country Flags 0.2.0

Postby John Hjorth » 27 Feb 2007, 12:45

ps-master,

Please study the install.xml before asking such questions. Why should anyone post in here what's in that file, when it's already stated in that file what to do? You need to do some basic preparation of your self and try before asking, and then asking specific questions - not this line of general questioning already answered in the MOD documentation.

If you after reading the install.xml still don't know what to do, you need to read some the articles in the knowledge base on http://www.phpbb.com about MODding.
Image Image ImageImage
User avatar
John Hjorth    
STG Moderator
STG Moderator
 
Posts: 1587
Joined: 27 Oct 2006, 22:23
Location: Odense, Denmark, EU
Favorite Team: Olympus DK Team
Gender: Male
phpBB Knowledge: 7

Next

Return to UCP

Who is online

Users browsing this forum: No registered users and 3 guests