Thread Rating:
11-29-2026, 05:02 PM
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.
Hooks are the heart of MyBB plugins — [code=php]$plugins->add_hook('pre_output_page', 'my_func');[/code] is where everything starts.
I did a bit of searching but could not find a recent thread on this, so here we go.
Returning true from a by-value hook replaces the argument; by-reference hooks mutate in place — check the call site.
Hooks are the heart of MyBB plugins — [code=php]$plugins->add_hook('pre_output_page', 'my_func');[/code] is where everything starts.
I did a bit of searching but could not find a recent thread on this, so here we go.
« Next Oldest | Next Newest »
Messages In This Thread
Must-have plugins for a new MyBB forum — follow-up - by WidgetWill - 11-29-2026, 05:02 PM
[No subject] - by LunarLily - 11-30-2026, 12:11 PM
[No subject] - by CraftyCathy - 12-01-2026, 07:25 AM
[No subject] - by LunarLily - Yesterday, 01:09 PM
[No subject] - by NimbleNora - Yesterday, 07:18 PM
[No subject] - by KernelKate - Yesterday, 07:18 PM
[No subject] - by VinylVera - Yesterday, 07:18 PM
[No subject] - by ByteBruce - Yesterday, 07:18 PM
[No subject] - by SonicSam - Yesterday, 07:18 PM
Users browsing this thread: 1 Guest(s)
