Warning: First install and activate the Plugin System from Helptor. If you are updating any plugin, update Plugin System first.
Country Flag Badge
Plugin documentation for installation, usage, uninstallation, and troubleshooting.
Slug: country-flag-badge
Version: 1.0.0
Author: Arman Sen
Introduction
Display user country flags as badges on avatars and usernames using profile country ISO codes
This plugin is managed through /admincp/helptor and works without core-file edits.
Features (As Per Plugin Functions)
- What this plugin does: Display user country flags as badges on avatars and usernames using profile country ISO codes
- Can show country flag badges from user profile country.
- Supports display near avatars/usernames.
- Has an admin settings panel for plugin controls.
- Handles background actions without full page reload.
- Connects plugin behavior to system events.
- Creates required setup data during install.
- Contains core business logic for plugin features.
- Runs cleanup when you uninstall the plugin.
- Can update page output before user sees it.
License Activation & Updates
- Open
/admincp/helptor.
- Install this plugin, then click Enable.
- If activation popup appears, enter your purchase code/license key and click save.
- Use plugin card actions in
/admincp/helptor to check for updates.
- If update is available, click Update and wait for success confirmation.
How to Install
- Make sure plugin system loader is active (
/plugins-check.php should show auto_prepend_loaded: true).
- Confirm plugin path exists:
content/helptor/country-flag-badge.
- Open
/admincp/helptor, find Country Flag Badge, then click Install.
- Click Enable to start using the plugin.
- This plugin has
install.php, so setup tasks run when you click Install.
How to Use
- Enable the plugin first, then test its workflow in the related area of your site.
- Use plugin settings in AdminCP when available to adjust behavior.
- Check frontend and AJAX flows for expected behavior after each change.
- Keep plugin files consistent with the same version shown in
plugin.json.
How to Uninstall
- Go to
/admincp/helptor.
- Disable Country Flag Badge if active.
- Click Uninstall.
- This plugin has
uninstall.php, so cleanup can run when you click Uninstall.
- Delete folder
content/helptor/country-flag-badge only after uninstall completes (if full removal is needed).
FAQs
Q: Plugin is installed but nothing changes. Why?
A: Usually it is not enabled, or plugin loader is not active. Check /admincp/helptor and /plugins-check.php.
Q: Where do I configure this plugin?
A: This plugin has a settings/admin screen available from its plugin card in AdminCP.
Q: Will core updates delete this plugin?
A: No. Plugin files in content/helptor are designed to be update-safe from core upgrades.
Q: Will uninstall remove all plugin data?
A: It depends on cleanup logic in uninstall.php. Review plugin behavior before removal if you need to preserve data.