Theme demo: pick a theme on the right. Log in as demo / demo to try posting. Everything resets every night.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Administrator
*******
234 20 Nov 2026 0
#1

Returning true from a by-value hook replaces the argument; by-reference hooks mutate in place — check the call site.

I keep a list of essential plugins and thought I would share it here.

Hooks are the heart of MyBB plugins —
Code: PHP
$plugins->add_hook('pre_output_page', 'my_func');
is where everything starts.

Remember: _activate() should be reversible, _install() owns permanent structures.

I did a bit of searching but could not find a recent thread on this, so here we go.
Reply
Messages In This Thread
Released: simple shoutbox plugin — follow-up - by admin - 05-15-2026, 02:58 AM
[No subject] - by BinaryBen - 05-15-2026, 06:18 AM
[No subject] - by NeonNia - 05-16-2026, 03:12 AM
[No subject] - by TechTress - 05-17-2026, 01:17 PM
[No subject] - by TechTress - 05-18-2026, 11:37 PM
[No subject] - by PatchPat - 05-20-2026, 03:33 PM

Users browsing this thread: 2 Guest(s)

Forum Jump: