Thread Rating:
07-31-2026, 05:21 AM
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');[/code] is where everything starts.
I keep a list of essential plugins and thought I would share it here.
xmlhttp.php is the cleanest way to add AJAX endpoints to MyBB.
Maybe this has been discussed before, but I could not find anything recent.
Curious what everyone else here thinks about it.
Hooks are the heart of MyBB plugins — [code=php]$plugins->add_hook('pre_output_page', 'my_func');[/code] is where everything starts.
I keep a list of essential plugins and thought I would share it here.
xmlhttp.php is the cleanest way to add AJAX endpoints to MyBB.
Maybe this has been discussed before, but I could not find anything recent.
Curious what everyone else here thinks about it.
07-31-2026, 10:00 PM
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.
08-01-2026, 07:22 PM
That hooks explanation finally made it click for me.
Whitelist-based hooks debugging in class_plugins.php helped me a lot.
Thanks for sharing, saved me a lot of time.
Whitelist-based hooks debugging in class_plugins.php helped me a lot.
Thanks for sharing, saved me a lot of time.
08-02-2026, 02:02 PM
Always call rebuild_settings() after changing settings programmatically.
Could not agree more.
Could not agree more.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)
