07-17-2026, 03:53 AM
Returning true from a by-value hook replaces the argument; by-reference hooks mutate in place — check the call site.
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.
Any tips, experiences or strong opinions welcome.
Hooks are the heart of MyBB plugins —
Code: PHP
$plugins->add_hook('pre_output_page', 'my_func');I keep a list of essential plugins and thought I would share it here.
Any tips, experiences or strong opinions welcome.
07-17-2026, 06:16 AM
Always call rebuild_settings() after changing settings programmatically.
Nice plugin, testing it on my dev board now.
That has been my experience as well.
Nice plugin, testing it on my dev board now.
That has been my experience as well.
209
16
Oct 2025
07-17-2026, 08:03 AM
Whitelist-based hooks debugging in class_plugins.php helped me a lot.
Nice plugin, testing it on my dev board now.
Nice plugin, testing it on my dev board now.
07-17-2026, 08:29 AM
Whitelist-based hooks debugging in class_plugins.php helped me a lot.
That hooks explanation finally made it click for me.
That has been my experience as well.
That hooks explanation finally made it click for me.
That has been my experience as well.
07-17-2026, 09:22 AM
The gid=0 trick keeps plugin settings out of the ACP — neat.
Bumping this because I ran into the same thing today.
Bumping this because I ran into the same thing today.
226
23
May 2026
07-17-2026, 11:05 AM
The gid=0 trick keeps plugin settings out of the ACP — neat.
Interesting — I will have to try that.
Interesting — I will have to try that.
07-17-2026, 12:09 PM
The gid=0 trick keeps plugin settings out of the ACP — neat.
Nice plugin, testing it on my dev board now.
That has been my experience as well.
Nice plugin, testing it on my dev board now.
That has been my experience as well.
« Next Oldest | Next Newest »
Users browsing this thread: 2 Guest(s)
