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
Administrator
*******
252 25 Jun 2026 0 0
#1

xmlhttp.php is the cleanest way to add AJAX endpoints to MyBB.

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.

Any tips, experiences or strong opinions welcome.
Reply
Member
***
214 23 Sep 2026 0 0
#2

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

That hooks explanation finally made it click for me.
Reply
Member
***
205 25 May 2026 0 0
#3

Always call rebuild_settings() after changing settings programmatically.

Could not agree more.
Reply
Account not Activated
240 22 Mar 2026 0
#4

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

Nice plugin, testing it on my dev board now.
Reply
Member
***
224 23 Mar 2026 0 0
#5

Always call rebuild_settings() after changing settings programmatically.

Interesting — I will have to try that.
Reply
Banned
220 18 Jun 2026 0
#6

That hooks explanation finally made it click for me.

Whitelist-based hooks debugging in class_plugins.php helped me a lot.
Reply
Member
***
231 20 Nov 2026 0 0
#7

Nice plugin, testing it on my dev board now.
Reply
Moderator
*****
233 22 Oct 2026 0 0
#8

(09-05-2026, 03:07 AM)DevDan Wrote: Nice plugin, testing it on my dev board now.
Always call rebuild_settings() after changing settings programmatically.
Reply
Member
***
224 23 Mar 2026 0 0
#9

Always call rebuild_settings() after changing settings programmatically.

Thanks for sharing, saved me a lot of time.
Reply
Super Moderator
******
275 23 Nov 2026 0 0
#10

(09-05-2026, 06:13 AM)RetroRex Wrote: Always call rebuild_settings() after changing settings programmatically.
Nice plugin, testing it on my dev board now.
Reply

Users browsing this thread: 1 Guest(s)

Forum Jump: