Rate limiting a plugin endpoint — follow-up -
SpammySteve - 08-16-2026
xmlhttp.php is the cleanest way to add AJAX endpoints to MyBB.
Returning true from a by-value hook replaces the argument; by-reference hooks mutate in place — check the call site.
-
PixelatedPaul - 08-16-2026
Whitelist-based hooks debugging in class_plugins.php helped me a lot.
Bumping this because I ran into the same thing today.
-
QuietQuokka - 08-17-2026
Always call rebuild_settings() after changing settings programmatically.
Whitelist-based hooks debugging in class_plugins.php helped me a lot.
-
RetroRex - 08-18-2026
The gid=0 trick keeps plugin settings out of the ACP — neat.
Interesting — I will have to try that.
Bumping this because I ran into the same thing today.
-
RetroRex - 08-19-2026
Whitelist-based hooks debugging in class_plugins.php helped me a lot.
Always call rebuild_settings() after changing settings programmatically.
Thanks for sharing, saved me a lot of time.
Bumping this because I ran into the same thing today.
-
TurboTom - 08-20-2026
Nice plugin, testing it on my dev board now.
That has been my experience as well.
-
VinylVera - 08-21-2026
(08-20-2026, 01:41 AM)TurboTom Wrote: Nice plugin, testing it on my dev board now.
The gid=0 trick keeps plugin settings out of the ACP — neat.
-
ServerSage - 08-22-2026
Nice plugin, testing it on my dev board now.
Whitelist-based hooks debugging in class_plugins.php helped me a lot.