From 7811b8591bd32a56f6afdd01a49bed5754571687 Mon Sep 17 00:00:00 2001 From: William Jacoby Date: Wed, 7 Oct 2026 20:16:26 -0500 Subject: [PATCH] Plan a hide-bots setting in a TODO Co-Authored-By: Claude Opus 5.5 --- README.md | 4 ++++ docs/TODO.md | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 docs/TODO.md diff --git a/README.md b/README.md index 586ca76..6f4fb5a 100644 --- a/README.md +++ b/README.md @@ -23,3 +23,7 @@ Go to admin panel -> tab customise -> Manage extensions -> enable Separate user 2. Delete all files of the extension from ext/rmcgirr83/separateusersandbots 3. Upload all the new files to the same location 4. Go to your phpBB-Board > Admin Control Panel > Customise > Manage extensions > Separate user and bots: enable + +## TODO + +Ideas not yet built, practical and speculative alike: [`docs/TODO.md`](docs/TODO.md). diff --git a/docs/TODO.md b/docs/TODO.md new file mode 100644 index 0000000..97d4e15 --- /dev/null +++ b/docs/TODO.md @@ -0,0 +1,34 @@ +# TODO + +Ideas not yet built, practical and speculative alike. + +## Hide bots from non-admins, as a setting + +Fold the job of phpbbmodders/hidebots into this extension as an on/off +setting, so boards need one extension instead of two. hidebots can be +archived once this ships. + +Why: both extensions rewrite the "Who is online" text through the same +event (`core.obtain_users_online_string_modify`), so with both enabled, +whichever runs last wins. One extension doing both avoids that. + +Planned behavior, matching hidebots today: + +- When the setting is on, bots are left out of the "Who is online" list for + everyone except administrators, counted as hidden users instead. +- They are also left out of the full *Who is online* page + (`core.viewonline_modify_sql`), and of the 24 Hour Activity list + (`rmcgirr83.activity24hours.modify_active_users`) when that extension is + installed. +- When the setting is off, behavior is exactly as it is now. + +Still needs deciding: + +- Where the setting goes. This extension has no ACP page; one Yes/No option + on an existing ACP page (for example *Load settings*) avoids adding a new + module. +- Who still sees bots: administrators only, as hidebots does, or a new + permission. +- Moving hidebots users over: when the update installs, switch the setting + on if hidebots is enabled, and tell the admin to disable and remove + hidebots.