Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Super Moderator
******
239 15 May 2026 0
#1

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');[/code] is where everything starts.

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

Returning true from a by-value hook replaces the argument; by-reference hooks mutate in place — check the call site.
Reply
Messages In This Thread
Plugin compatibility with PHP 8.3 - by ServerSage - 11-18-2026, 02:19 AM
[No subject] - by ByteBruce - 11-18-2026, 08:55 PM
[No subject] - by PatchPat - 11-20-2026, 05:24 PM
[No subject] - by DevDan - 11-22-2026, 11:31 AM
[No subject] - by CodeWizard - 11-24-2026, 10:36 AM
[No subject] - by ZenZara - 11-24-2026, 09:49 PM
[No subject] - by PatchPat - 11-26-2026, 04:43 AM
[No subject] - by CraftyCathy - 11-26-2026, 11:02 AM
[No subject] - by ZenZara - 11-27-2026, 11:15 PM

Users browsing this thread: 1 Guest(s)

Forum Jump: