Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Member
***
190 20 Dec 2025 0
#1

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.
Reply
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)

Forum Jump: