Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Member
***
231 23 Oct 2025 0
#1

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.
Reply
Member
***
203 20 Sep 2026 0
#2

Always call rebuild_settings() after changing settings programmatically.

That hooks explanation finally made it click for me.
Reply
Member
***
219 20 Jan 2026 0
#3

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.
Reply
Member
***
219 20 Jan 2026 0
#4

Always call rebuild_settings() after changing settings programmatically.

Could not agree more.
Reply

Users browsing this thread: 2 Guest(s)

Forum Jump: