Thread Rating:
11-18-2026, 02:19 AM
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.
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.
216
18
Nov 2025
11-18-2026, 08:55 PM
The gid=0 trick keeps plugin settings out of the ACP — neat.
Nice plugin, testing it on my dev board now.
I disagree slightly, but I can see where you are coming from.
Nice plugin, testing it on my dev board now.
I disagree slightly, but I can see where you are coming from.
11-20-2026, 05:24 PM
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.
11-22-2026, 11:31 AM
That hooks explanation finally made it click for me.
Always call rebuild_settings() after changing settings programmatically.
Always call rebuild_settings() after changing settings programmatically.
11-24-2026, 10:36 AM
That hooks explanation finally made it click for me.
11-24-2026, 09:49 PM
Whitelist-based hooks debugging in class_plugins.php helped me a lot.
That has been my experience as well.
That has been my experience as well.
11-26-2026, 04:43 AM
The gid=0 trick keeps plugin settings out of the ACP — neat.
That has been my experience as well.
That has been my experience as well.
11-26-2026, 11:02 AM
Whitelist-based hooks debugging in class_plugins.php helped me a lot.
I disagree slightly, but I can see where you are coming from.
I disagree slightly, but I can see where you are coming from.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)
