Thread Rating:
10-26-2026, 09:44 PM
Hooks are the heart of MyBB plugins — is where everything starts.
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.
Code: PHP
$plugins->add_hook('pre_output_page', 'my_func');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.
10-26-2026, 11:33 PM
10-27-2026, 12:46 AM
That hooks explanation finally made it click for me.
Could not agree more.
Could not agree more.
10-27-2026, 01:23 AM
That hooks explanation finally made it click for me.
Nice plugin, testing it on my dev board now.
I disagree slightly, but I can see where you are coming from.
Bumping this because I ran into the same thing today.
Nice plugin, testing it on my dev board now.
I disagree slightly, but I can see where you are coming from.
Bumping this because I ran into the same thing today.
10-27-2026, 02:07 AM
That hooks explanation finally made it click for me.
Whitelist-based hooks debugging in class_plugins.php helped me a lot.
Whitelist-based hooks debugging in class_plugins.php helped me a lot.
209
16
Oct 2025
10-27-2026, 02:41 AM
Always call rebuild_settings() after changing settings programmatically.
Bumping this because I ran into the same thing today.
Bumping this because I ran into the same thing today.
10-27-2026, 05:26 AM
209
16
Oct 2025
10-27-2026, 07:36 AM
Always call rebuild_settings() after changing settings programmatically.
That hooks explanation finally made it click for me.
That hooks explanation finally made it click for me.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)
