Thread Rating:
211
26
Mar 2026
11-19-2026, 02:20 PM
Hooks are the heart of MyBB plugins — [code=php]$plugins->add_hook('pre_output_page', 'my_func');[/code] is where everything starts.
Remember: _activate() should be reversible, _install() owns permanent structures.
I keep a list of essential plugins and thought I would share it here.
Returning true from a by-value hook replaces the argument; by-reference hooks mutate in place — check the call site.
I did a bit of searching but could not find a recent thread on this, so here we go.
Remember: _activate() should be reversible, _install() owns permanent structures.
I keep a list of essential plugins and thought I would share it here.
Returning true from a by-value hook replaces the argument; by-reference hooks mutate in place — check the call site.
I did a bit of searching but could not find a recent thread on this, so here we go.
« Next Oldest | Next Newest »
Messages In This Thread
Must-have plugins for a new MyBB forum - by SpammySteve - 11-19-2026, 02:20 PM
[No subject] - by LunarLily - 11-20-2026, 03:33 PM
[No subject] - by CraftyCathy - 11-21-2026, 08:41 PM
[No subject] - by PixelatedPaul - 11-23-2026, 01:43 PM
[No subject] - by WidgetWill - 11-25-2026, 12:08 PM
[No subject] - by DoodleDom - 11-25-2026, 09:25 PM
[No subject] - by EchoEzra - 11-27-2026, 07:29 PM
[No subject] - by WidgetWill - 11-28-2026, 06:13 PM
[No subject] - by MovieMaven - 11-30-2026, 01:39 PM
Users browsing this thread: 1 Guest(s)