Thread Rating:
08-16-2026, 12:19 PM
xmlhttp.php is the cleanest way to add AJAX endpoints to MyBB.
Hooks are the heart of MyBB plugins — is where everything starts.
Remember: _activate() should be reversible, _install() owns permanent structures.
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');Remember: _activate() should be reversible, _install() owns permanent structures.
Returning true from a by-value hook replaces the argument; by-reference hooks mutate in place — check the call site.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)
