Thread Rating:
09-09-2026, 09:03 PM
Hooks are the heart of MyBB plugins — is where everything starts.
Remember: _activate() should be reversible, _install() owns permanent structures.
xmlhttp.php is the cleanest way to add AJAX endpoints to MyBB.
Any tips, experiences or strong opinions welcome.
I did a bit of searching but could not find a recent thread on this, so here we go.
Code: PHP
$plugins->add_hook('pre_output_page', 'my_func');Remember: _activate() should be reversible, _install() owns permanent structures.
xmlhttp.php is the cleanest way to add AJAX endpoints to MyBB.
Any tips, experiences or strong opinions welcome.
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
Is there a working likes/thanks plugin? - by TurboTom - 09-09-2026, 09:03 PM
[No subject] - by admin - 09-09-2026, 10:01 PM
[No subject] - by NeonNia - 09-09-2026, 11:13 PM
[No subject] - by KernelKate - 09-10-2026, 01:12 AM
[No subject] - by ZenZara - 09-10-2026, 02:20 AM
[No subject] - by KernelKate - 09-10-2026, 04:14 AM
[No subject] - by DevDan - 09-10-2026, 05:22 AM
[No subject] - by deploybot - 09-10-2026, 05:59 AM
[No subject] - by NimbleNora - 09-10-2026, 07:02 AM
[No subject] - by LunarLily - 09-10-2026, 07:48 AM
[No subject] - by VinylVera - 09-10-2026, 08:26 AM
[No subject] - by BinaryBen - 09-10-2026, 08:48 AM
[No subject] - by RetroRex - 09-10-2026, 09:02 AM
[No subject] - by PixelatedPaul - 09-10-2026, 10:02 AM
[No subject] - by PixelatedPaul - 09-10-2026, 11:57 AM
[No subject] - by KernelKate - 09-10-2026, 12:51 PM
[No subject] - by QuietQuokka - 09-10-2026, 02:23 PM
[No subject] - by MovieMaven - 09-10-2026, 03:38 PM
[No subject] - by NeonNia - 09-10-2026, 05:15 PM
[No subject] - by NimbleNora - 09-10-2026, 06:53 PM
[No subject] - by LunarLily - 09-10-2026, 08:08 PM
[No subject] - by TechTress - 09-10-2026, 08:46 PM
[No subject] - by TechTress - 09-10-2026, 09:10 PM
[No subject] - by TurboTom - 09-10-2026, 10:01 PM
[No subject] - by KernelKate - 09-10-2026, 10:27 PM
[No subject] - by ByteBruce - 09-11-2026, 12:18 AM
[No subject] - by FluxFiona - 09-11-2026, 01:15 AM
[No subject] - by SpammySteve - 09-11-2026, 01:22 AM
[No subject] - by TurboTom - 09-11-2026, 01:34 AM
[No subject] - by TurboTom - 09-11-2026, 01:55 AM
[No subject] - by BinaryBen - 09-11-2026, 03:19 AM
[No subject] - by CraftyCathy - 09-11-2026, 04:13 AM
[No subject] - by GamerGhoul - 09-11-2026, 05:22 AM
[No subject] - by NimbleNora - 09-11-2026, 06:17 AM
[No subject] - by GamerGhoul - 09-11-2026, 07:58 AM
[No subject] - by EchoEzra - 09-11-2026, 09:03 AM
[No subject] - by TurboTom - 09-11-2026, 10:14 AM
[No subject] - by QuietQuokka - 09-11-2026, 11:05 AM
[No subject] - by admin - 09-11-2026, 11:26 AM
[No subject] - by BinaryBen - 09-11-2026, 01:15 PM
[No subject] - by deploybot - 09-11-2026, 02:46 PM
[No subject] - by ServerSage - 09-11-2026, 03:07 PM
Users browsing this thread: 2 Guest(s)
