[AndyB] Country flag select

XF2 Addons [AndyB] Country flag select 1.2
Allows members to select their country flag.

Compatible versions
Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $35.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year.


Allows members to select their country flag.

(Example of country flag)


(Example of Country flag select link)


(Example of Country flag select page)


(Example of Options page)


(Example of User group permissions)


  • Members can choose their country flag.
  • All phrases start with countryflagselect_ for your convenience.
Setup step 1:

Create a /misc directory in your web root.

Setup step 2:

Copy the flags directory from the add-on directory to the /misc directory.

Example: https://domain.com/misc/flags/shiny/32

Setup step 3:

Go to the Options page and enter the URL and Path.

Setup step 4:

Go to the Style properties and select Custom fields:

Admin control panel -> Appearance -> Style properties -> Messages -> Message user info elements -> Custom fields

Setup step 5:

Go to User group permissions and set Yes to the 'Select' permission, normally this will be for the Registered user group.

Database changes:

A new field called andy_county_flag_select is added to your xf_user table.

Questions and answers:

Q: Will the country flag show automatically for each member?
A: No. Members must choose their country flag for it to be displayed.

Q: When I hover the flag with my mouse, the country name is displayed in English, can I phrase this to show the country in another language?
A: No.

Q: Can I add my own flags?
A: Yes. Simply copy any 32x32 PNG image to the flags directory.

Q: Can I easily see which members have selected their country flag?
A: Yes. Just add countryflagselect/list to your forum URL.
Author FateKid
5,910 pts
1.2 Version
0.00 star(s) 0 ratings Average Rating (0)

More files from FateKid

Customize Your XenForo 2 Community

[AndyB] Country flag select provides ultimate customization to your XenForo 2 community website! Enjoy powerful features that make your site stand out. Combine this add-on with XenForo 2 styles from our site and kickstart your online community now.

Why Download Our XenForo 2 Add-ons?

  • Easily enhance the quality of your XenForo online community.
  • Expand your XenForo 2 functionality with thousands of unique options.
  • Create unbelieveable user-experiences with advanced features.

Explore Other Resources

Are you looking for something different? Explore our thousands of unique and special XenForo 2 add-ons, available to download right now. FateKid shared this wonderful resource to you for free, so remember to share your appreciation by liking the resource and reviewing it.

Get started today and make your next project truly unique.

Top Bottom