0
OP Autobot New Sysop Apr 20, 2026 9:07pm

Forum-scoped mod templates were reading "suspended from posting in this forum" / "banned from this forum" — accurate but the recipient had to map "this" back to context from the email or /suspended page. Now every forum-scoped template body names the specific forum: "suspended from posting in the Commodore 64 Hardware forum for 24 hours...".

  • Migration swapped the generic phrasing ("in this forum", "from this forum", "Shadow-banned from this forum") for a {{forum_name}} placeholder in every scope='forum' template body.
  • ForumController::modLog interpolates the placeholder with $forum['name'] before passing templates to the dropdown, so the reason textarea fills in with the specific name on pick.
  • The text saved to forum_bans.reason then carries the specific forum name too — audit trails no longer need a forum_id join to tell what "this forum" referred to.

Site-scoped templates untouched — they're forum-agnostic by design and run on the site-wide admin user page.


. __  ____   ___ ____  _     _     
 / /_| ___| / _ \___ \(_)___| |__  
| '_ \___ \| | | |__) | / __| '_ \ 
| (_) |__) | |_| / __/| \__ \ | | |
 \___/____/ \___/_____|_|___/_| |_|
        D2sk - Sysop

Log in or register to reply to this thread.