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
Senior Member
****
263 28 Dec 2025 0 0
#1

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

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

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.
Reply
Messages In This Thread
Plugin compatibility with PHP 8.3 — follow-up - by GamerGhoul - 10-13-2026, 06:25 AM
[No subject] - by CodeWizard - 10-13-2026, 11:24 PM
[No subject] - by FluxFiona - 10-15-2026, 11:12 AM
[No subject] - by ZenZara - 10-16-2026, 02:18 PM
[No subject] - by LunarLily - 10-18-2026, 11:08 AM

Users browsing this thread: 1 Guest(s)

Forum Jump: