SMF Mod Site

Mod Name:
Created By: Team
First Created:
August 14, 2006, 01:07:42 PM
Last Modified:
February 01, 2021, 05:16:55 PM
Latest Version:
Compatible With:
1.1, 1.1.16, 1.1.17, 1.1.18, 1.1.19, 1.1.20, 1.1.21, 2.0, 2.0.9, 2.0.10, 2.0.11, 2.0.12, 2.0.13, 2.0.14, 2.0.15, 2.0.16, 2.0.17, 2.0.18
Total Downloads:

Download this mod (171kB) [3998]
Manual Install Instructions for SMF


CountryFlags v1.1.3

Author: vbgamer45
Original Author: JayBachatero
Current Version: 2.0
Compatibility: SMF 2.0.x, 1.1.x
Homepage: SMFHacks
Type: Profile


This mod allows your members to select from a list the countries to denote where they live.  This will include a country flag in their posts and profile.

You can select where to ask for their country.  Upon registration, profile page or both.  Also you can make it mandatory.

To enable this mod you must go to Admin > Features and Options > Last set of options.
This was a mod request by James Woodcock.

The credits for this mod go to gobalopper's Location mod.  The flags and idea were taken from his mod.

Flags by famfamfam Flag Icons

Select Country Flag on profile
Show Country Flag on post display
Option to require/show on registration

Any previous versions of this mod MUST be uninstalled BEFORE installing this version.

Simply install the package to install on the SMF Default Core Theme ONLY.

If your theme has its own versions of the language files Modifications.english.php and/or Modifications.english-utf8.php, OR if your using a language other than those supported (listed above) by the mod then you will need to copy the language strings into each custom version of those files.

Useful Links
Manual Installation Of Mods
How Do I Modify Files?

Please use the modification thread for support with this modification.
(Please don't ask me to do the edits for you)

! = Bugfix
- = Removed
+ = New Feature
o = Update
> = New Language
^ = Initial/New Release

Code: [Select]
Version 3.0
!Fixed an XSS issue on registration for flags update for SMF 2.0.x and SMF 1.1.x Reported by Jaume Llopis

Separated Serbia and Montenegro

12/23/2011 v2.0
!Fixed for SMF 2.0 selecting flag on registration was not saving.
!Added some alt tags for SMF 2.0 version

12/5/2011 v1.1.3
!Fixed missing Antarctica image
!Fixed skipping on Babylon theme if does not  exist.

9/24/2009 - v1.0.3
o Taken over by JBlaze
o Added new flag images
! Fixed version error

8/29/2006 - v1.0.2
! Fixed the bug that I thought I had fixed.

8/28/2006 - v1.0.1
! Fixed error when no flag is selected

8/26/2006 - v1.0
^ Initial release.