Posted in

Country Flag Badge Addon for Sngine

Country Flag Badge is a powerful and lightweight Sngine plugin that displays a user’s country flag across your website based on their profile country selection.

Enhance user identity, boost community engagement, and add a global touch to your Sngine platform — all without editing any core files.

Key Features

  1. Displays country flags using user profile country
  2. Show flag on profile picture (avatar badge)
  3. Show flag next to username (posts, comments, chat, profile)
  4. Tooltip displays full country name
  5. Uses ISO 2-letter country codes (Sngine compatible)
  6. Clean SVG flags (fast loading & high quality)
  7. Admin enable / disable controls
  8. Optional mandatory country selection for users
  9. Popup forces users to select country if missing
  10. AJAX-powered (no page reload issues)
  11. No core file edits – future-safe plugin
  12. Compatible with Sngine plugin system

Admin Control Panel

  • Enable / Disable plugin
  • Choose where flags appear:
  • Profile picture
  • Username
  • Make country selection mandatory
  • Fully manageable from AdminCP → Plugins

How It Works

The plugin automatically reads the country selected in each user’s profile and displays the corresponding flag throughout the site.
Flags are dynamically injected using Sngine hooks, ensuring maximum compatibility with updates.

Installation

  1. Upload the plugin to content/plugins/
  2. Go to AdminCP → Plugins
  3. Install & activate Country Flag Badge
  4. Configure settings and save

That’s it — no coding required 🎉

Screenshots:

Link:

https://portasale.com/items/message-request-layer-for-sngine-linkedin-style-dm-approval/1070

Note:

This is a third-party plugin developed by a different team and developer. As the Sngine team always encourages developers to add more and more features to our beloved Script “Sngine,” we welcome this plugin ❤️ 💐