← Back to Documentation Home
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)

  1. What this plugin does: Display user country flags as badges on avatars and usernames using profile country ISO codes
  2. Can show country flag badges from user profile country.
  3. Supports display near avatars/usernames.
  4. Has an admin settings panel for plugin controls.
  5. Handles background actions without full page reload.
  6. Connects plugin behavior to system events.
  7. Creates required setup data during install.
  8. Contains core business logic for plugin features.
  9. Runs cleanup when you uninstall the plugin.
  10. Can update page output before user sees it.

License Activation & Updates

  1. Open /admincp/helptor.
  2. Install this plugin, then click Enable.
  3. If activation popup appears, enter your purchase code/license key and click save.
  4. Use plugin card actions in /admincp/helptor to check for updates.
  5. If update is available, click Update and wait for success confirmation.

How to Install

  1. Make sure plugin system loader is active (/plugins-check.php should show auto_prepend_loaded: true).
  2. Confirm plugin path exists: content/helptor/country-flag-badge.
  3. Open /admincp/helptor, find Country Flag Badge, then click Install.
  4. Click Enable to start using the plugin.
  5. This plugin has install.php, so setup tasks run when you click Install.

How to Use

How to Uninstall

  1. Go to /admincp/helptor.
  2. Disable Country Flag Badge if active.
  3. Click Uninstall.
  4. This plugin has uninstall.php, so cleanup can run when you click Uninstall.
  5. 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.