Theme demo: pick a theme on the right. Log in as demo / demo to try posting. Everything resets every night.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Member
***
243 20 Oct 2026 0 0
#1

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');
is where everything starts.

Remember: _activate() should be reversible, _install() owns permanent structures.

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.
Reply
Banned
220 18 Jun 2026 0
#2

Whitelist-based hooks debugging in class_plugins.php helped me a lot.

Always call rebuild_settings() after changing settings programmatically.
Reply
Super Moderator
******
275 23 Nov 2026 0 0
#3

Nice plugin, testing it on my dev board now.

Interesting — I will have to try that.

Good point, I had not thought of it that way.
Reply
Moderator
*****
234 24 Jul 2026 0 0
#4

That hooks explanation finally made it click for me.
Reply
Member
***
236 22 Apr 2026 0 0
#5

Always call rebuild_settings() after changing settings programmatically.
Reply
Moderator
*****
234 24 Jul 2026 0 0
#6

Always call rebuild_settings() after changing settings programmatically.

Nice plugin, testing it on my dev board now.

Nice thread, following for the replies.
Reply
Senior Member
****
265 20 Dec 2025 0 0
#7

Always call rebuild_settings() after changing settings programmatically.

Nice plugin, testing it on my dev board now.
Reply
Super Moderator
******
224 17 Feb 2026 0 0
#8

That hooks explanation finally made it click for me.

Always call rebuild_settings() after changing settings programmatically.

I disagree slightly, but I can see where you are coming from.
Reply

Users browsing this thread: 1 Guest(s)

Forum Jump: