XF2 Add-on AndyB - Country flag select 1.5 - Xenforo Add-Ons

virgilio183

Well-known member
Pro
Master
Diamond
Elite
Joined
May 16, 2021
Messages
25,846
Reaction score
30,112
Points
113
NullCash
587,488
Description:
Allows members to select their country flag.

(Example of country flag)
pic001.jpg

(Example of Country flag select link)
pic002.jpg

(Example of Country flag select page)
pic003.jpg

(Example of Options page)
pic004.jpg

Features:
  • All phrases start with countryflagselect_ for your convenience.
Setup step 1:
Create a /data/files/flags directory.

Setup step 2:
Copy the files from the /flags directory located in the Country flag select add-on directory to the /data/files/flags directory.

Setup step 3:
Update the Country flag select Options page with the flags directory URL.

Setup step 4:
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 easily see which members have selected their country flag?
A: Yes. Add countryflagselect/list to your forum URL.

Compatible XF Versions 2.2
 

Attachments

  • Andy-CountryFlagSelect-1.5.zip
    364.8 KB · Views: 0
Top