AJAX in plugins via xmlhttp.php — follow-up -
RetroRex - 11-16-2026
xmlhttp.php is the cleanest way to add AJAX endpoints to MyBB.
Hooks are the heart of MyBB plugins — [code=php]$plugins->add_hook('pre_output_page', 'my_func');[/code] is where everything starts.
-
EchoEzra - 11-16-2026
The gid=0 trick keeps plugin settings out of the ACP — neat.
-
TurboTom - 11-16-2026
Whitelist-based hooks debugging in class_plugins.php helped me a lot.
That has been my experience as well.
-
MovieMaven - 11-16-2026
Whitelist-based hooks debugging in class_plugins.php helped me a lot.
Thanks for sharing, saved me a lot of time.
-
EchoEzra - 11-16-2026
The gid=0 trick keeps plugin settings out of the ACP — neat.
-
GamerGhoul - 11-16-2026
Nice plugin, testing it on my dev board now.
Good point, I had not thought of it that way.
-
PixelatedPaul - 11-16-2026
(11-16-2026, 05:34 PM)GamerGhoul Wrote: Nice plugin, testing it on my dev board now.
Nice plugin, testing it on my dev board now.
That hooks explanation finally made it click for me.
That has been my experience as well.
-
ServerSage - 11-16-2026
Nice plugin, testing it on my dev board now.
Whitelist-based hooks debugging in class_plugins.php helped me a lot.
Bumping this because I ran into the same thing today.
-
ByteBruce - 11-16-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.
-
GamerGhoul - 11-16-2026
Nice plugin, testing it on my dev board now.
That has been my experience as well.