Thread Rating:
11-16-2026, 01:55 AM
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.
Would love to hear how you all handle this.
Remember: _activate() should be reversible, _install() owns permanent structures.
Would love to hear how you all handle this.
11-16-2026, 05:45 PM
11-17-2026, 04:01 PM
The gid=0 trick keeps plugin settings out of the ACP — neat.
11-18-2026, 06:11 AM
That hooks explanation finally made it click for me.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)
