What's new

Welcome to NullScriptz - NulledScriptz

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Latest Thread

Blue
Red
Green
Orange
Voilet
Slate
Dark

Share your content here:

Don't want to upload to our server on NullScriptz, Then share it now on our partner shareupld.com! Upload for free or take a subscription to be sure your files are save !

Need hosting without problems?

We are offering our own hosting service now! Check it out and host your nulled website now without problems ! NullScriptz Hosting, we also offer Xenforo Hosting!

Knowledge Base

We are building our knowledge-base, find your answers! Or get directly in contact with us by creating a ticket. (In progress..)

Andy - Country Flag

Xenforo 2.2.x Andy - Country Flag 1.6

No permission to downloadVIP Upgrades
Shows a country flag in the message user info block.

(Example of country flag)


pic001.jpg


(Example of Privacy page)

pic002.jpg


(Example of Options page)

pic003.jpg


(Example of User group permissions)

pic004.jpg


Features:
  • Privacy option allows members to not show their country flag.
  • All phrases start with countryflag_ 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 folder to the /misc/ directory.

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

Setup step 3:

Get your Ipstack API key using this link:

https://ipstack.com/

Setup step 4:

Update the Options page with your Ipstack key.

Setup step 5:

Give User group permissions to view the country flag:

Registered = Yes
Unregistered / Unconfirmed = Yes

Setup step 6:

Run the Cron entry for the Country flag manually, this is only required upon initial setup. The Cron entry will run run once a day at 12:00AM UTC.

Database modifications:

This add-on will create two columns in your xf_user table:

andy_country_flag_name
andy_country_flag_display

Questions and Answers:

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

Q: What does the 'Last activity days' in the options page do?
A: This value is used when the Cron entry runs.

Q: When does the Cron entry run?
A: It runs once a day at 12:00AM UTC time.

Q: When the Cron entry runs, which members will have their country looked up?
A: Only new members which have an empty andy_country_flag_name field.

Q: Is there an option to make the add-on opt-in instead of opt-out?
A: No. Opt-in does not work, member will not take the time to opt-in.

Q: Is there a way I can update all the members country flags?
A: Yes. You can add the following to your forum URL:

countryflag/updateall

The next time the Cron entry runs it will update all your members country flags. Keep in mind inactive members will not be updated, this is a setting in the options page.
Author
WinSys32
Downloads
0
Views
190
Extention type
zip
File size
368.4 KB
Hash
64516baa4b994b6666cd5f106a41dad6
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from WinSys32

Latest updates

  1. Andy - Country Flag 1.6

    Country flag v1.6 changes:Removed unused variable in PHP code.
  2. Andy - Country Flag 1.5

    Country flag v1.5 changes:Now compatible with PHP 7.4.

Similar resources

Andy - Account Upgrade Receipt WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Ad Below Post WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Ad Below Post WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Ad Manager WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Admin Notes WinSys32
Adds a note area in the Admin control panel.
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Admin Statistics WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Advanced Search WinSys32
Allows searching thread titles and post content using exact text.
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Affiliate Manager WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Affiliate Parser WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Amazon  Parser All WinSys32
Adds Amazon affiliate ID to links in all messages.
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Amazon Parser WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Amazon Parser WinSys32
Adds Amazon affiliate ID to links in messages.
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Amazon Parser All WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Anchor WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Approval Que Lite WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Approval Queue Menu WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Approval Queue Thread Manager WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Approval queue tools WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Approve All Thread WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
0.00 star(s) 0 ratings
Downloads
0
Updated
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Attachment Check WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Audio WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Auto Close WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
0.00 star(s) 0 ratings
Downloads
0
Updated
0.00 star(s) 0 ratings
Downloads
0
Updated
0.00 star(s) 0 ratings
Downloads
0
Updated
0.00 star(s) 0 ratings
Downloads
0
Updated
0.00 star(s) 0 ratings
Downloads
0
Updated
0.00 star(s) 0 ratings
Downloads
0
Updated
0.00 star(s) 0 ratings
Downloads
0
Updated
0.00 star(s) 0 ratings
Downloads
0
Updated
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Auto Move By Prefix WinSys32
0.00 star(s) 0 ratings
Downloads
1
Updated
0.00 star(s) 0 ratings
Downloads
0
Updated
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Auto Prefix By Last Post WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Ban Thread WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Birthday Email WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Birthday Thread WinSys32
0.00 star(s) 0 ratings
Downloads
1
Updated
Andy - Block Posting WinSys32
Allows moderators to block postings by problem users.
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Bookmark List WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Bump Limit WinSys32
Prevents thread starter from bumping their thread until a certain time has expired.
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Calendar WinSys32
A fully integrated Calendar system based on thread information.
0.00 star(s) 0 ratings
Downloads
1
Updated
Andy - Change Author WinSys32
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Change Date WinSys32
Allows changing the date and time of a post.
0.00 star(s) 0 ratings
Downloads
0
Updated
Andy - Chat WinSys32
0.00 star(s) 0 ratings
Downloads
1
Updated
Top Bottom