AJAX in plugins via xmlhttp.php -
ZenZara - 11-19-2026
Returning true from a by-value hook replaces the argument; by-reference hooks mutate in place — check the call site.
xmlhttp.php is the cleanest way to add AJAX endpoints to MyBB.
I keep a list of essential plugins and thought I would share it here.
Remember: _activate() should be reversible, _install() owns permanent structures.
-
ServerSage - 11-19-2026
Nice plugin, testing it on my dev board now.
The gid=0 trick keeps plugin settings out of the ACP — neat.
I disagree slightly, but I can see where you are coming from.
-
PatchPat - 11-19-2026
Whitelist-based hooks debugging in class_plugins.php helped me a lot.
The gid=0 trick keeps plugin settings out of the ACP — neat.
Bumping this because I ran into the same thing today.
-
MovieMaven - 11-21-2026
Whitelist-based hooks debugging in class_plugins.php helped me a lot.
The gid=0 trick keeps plugin settings out of the ACP — neat.
That has been my experience as well.
-
TechTress - 11-21-2026
Always call rebuild_settings() after changing settings programmatically.
-
ByteBruce - 11-22-2026
That hooks explanation finally made it click for me.
The gid=0 trick keeps plugin settings out of the ACP — neat.
Bumping this because I ran into the same thing today.
-
DevDan - 11-24-2026
That hooks explanation finally made it click for me.
-
KernelKate - 11-24-2026
That hooks explanation finally made it click for me.
Thanks for sharing, saved me a lot of time.
-
ZenZara - 11-26-2026
The gid=0 trick keeps plugin settings out of the ACP — neat.
Whitelist-based hooks debugging in class_plugins.php helped me a lot.
Thanks for sharing, saved me a lot of time.