Thread Rating:
09-04-2026, 09:25 PM
xmlhttp.php is the cleanest way to add AJAX endpoints to MyBB.
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.
Any tips, experiences or strong opinions welcome.
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.
Any tips, experiences or strong opinions welcome.
09-04-2026, 10:31 PM
Whitelist-based hooks debugging in class_plugins.php helped me a lot.
That hooks explanation finally made it click for me.
That hooks explanation finally made it click for me.
09-04-2026, 11:30 PM
Always call rebuild_settings() after changing settings programmatically.
Could not agree more.
Could not agree more.
240
22
Mar 2026
0
09-05-2026, 12:56 AM
Whitelist-based hooks debugging in class_plugins.php helped me a lot.
Nice plugin, testing it on my dev board now.
Nice plugin, testing it on my dev board now.
09-05-2026, 01:36 AM
Always call rebuild_settings() after changing settings programmatically.
Interesting — I will have to try that.
Interesting — I will have to try that.
220
18
Jun 2026
0
09-05-2026, 02:50 AM
That hooks explanation finally made it click for me.
Whitelist-based hooks debugging in class_plugins.php helped me a lot.
Whitelist-based hooks debugging in class_plugins.php helped me a lot.
09-05-2026, 04:54 AM
09-05-2026, 06:13 AM
Always call rebuild_settings() after changing settings programmatically.
Thanks for sharing, saved me a lot of time.
Thanks for sharing, saved me a lot of time.
09-05-2026, 06:37 AM
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)
