Hallo, Gast! ( — Registrieren)

Letzte Ankündigung: MyBB 1.8.41 veröffentlicht (16.09.26)


Benutzer, die gerade dieses Thema anschauen: 2 Gast/Gäste
Stop Invisible Mode
#1
Eine neue Erweiterung wurde veröffentlicht: Stop Invisible Mode

Zitat:Stop Invisible Mode

Version: 2.2
Compatibility: MyBB 1.8.x
Author: Terzier



Description

This plugin lets you control which usergroups are allowed to use Invisible Mode ("Hide me from the Who's Online list").

Unlike older template-edit methods, this plugin does not modify any templates. The original [c]{$canbeinvisible}[/c] variable stays intact, so install and uninstall are clean and fully reversible.

When the plugin is active, only the usergroups you specify may enable invisible mode. All other members still see the Privacy section in User CP, but the working checkbox is replaced with a clear notice that the feature is disabled for their usergroup. On save, their invisible setting is forced to off.



Features
  • Plugin Active (Yes/No) – master switch. When set to No, MyBB behaves normally.

  • Allowed Group IDs – comma-separated list of usergroup IDs that may use invisible mode (e.g. [c]4[/c] for Administrators). Leave empty to allow no groups.

  • Disallowed groups see a notice instead of a working checkbox.

  • Invisible status is forced to [c]0[/c] on save for disallowed groups.

  • No template changes – safe to install and uninstall.

  • Lightweight – only hooks into User CP options.



Installation


  1. Upload [c]stop_invisible.php[/c] to [c]inc/plugins/[/c]

  2. Go to Admin CP → Configuration → Plugins

  3. Click Install & Activate next to "Stop Invisible Mode"

  4. Go to Admin CP → Configuration → Settings → Stop Invisible Mode

  5. Set Plugin Active to Yes

  6. Enter the allowed group IDs (find them under Users & Groups → Groups)

  7. Save



Uninstallation


  1. Admin CP → Plugins → Deactivate

  2. Admin CP → Plugins → Uninstall

  3. Delete [c]inc/plugins/stop_invisible.php[/c] if desired

No template cleanup is required.



Settings
  • Plugin Active – Enable or disable the plugin restrictions.

  • Allowed Group IDs – Comma-separated usergroup IDs allowed to use invisible mode. Empty = nobody is allowed.



Notes
  • Group IDs can be found in Admin CP → Users & Groups → Groups (check the URL when editing a group, e.g. [c]gid=4[/c]).

  • Primary and additional groups are both checked.

  • This plugin only controls the User CP option and the value saved. It does not change core Who's Online display logic beyond the user's invisible flag.



Feedback and bug reports are welcome.
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Theme Mode Toggle MyBB.de Bot 0 95 23.05.2026, 18:30
Letzter Beitrag: MyBB.de Bot
  Threaded Mode MyBB.de Bot 0 1.239 13.11.2016, 17:05
Letzter Beitrag: MyBB.de Bot
  Maintenance Mode MyBB.de Bot 0 1.567 13.03.2015, 23:00
Letzter Beitrag: MyBB.de Bot
  Stop Theme Changes MyBB.de Bot 1 1.981 11.03.2013, 20:35
Letzter Beitrag: MyBB.de Bot
  Hide Last Visit For Invisible Users MyBB.de Bot 0 1.800 08.11.2010, 18:07
Letzter Beitrag: MyBB.de Bot