MyStudio Free demo
Must-have plugins for a new MyBB forum — follow-up - Printable Version

+- MyStudio Free demo (https://demo.mystudio.forumeze.com)
+-- Forum: Products & Services (https://demo.mystudio.forumeze.com/forum-8.html)
+--- Forum: MyBB (https://demo.mystudio.forumeze.com/forum-9.html)
+---- Forum: Plugins (https://demo.mystudio.forumeze.com/forum-11.html)
+---- Thread: Must-have plugins for a new MyBB forum — follow-up (/thread-126.html)



Must-have plugins for a new MyBB forum — follow-up - WidgetWill - 11-29-2026

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.


- LunarLily - 11-30-2026

That hooks explanation finally made it click for me.

Nice plugin, testing it on my dev board now.

I disagree slightly, but I can see where you are coming from.


- CraftyCathy - 12-01-2026

(11-30-2026, 12:11 PM)LunarLily Wrote: That hooks explanation finally made it click for me.
The gid=0 trick keeps plugin settings out of the ACP — neat.


- LunarLily - 12-02-2026

That hooks explanation finally made it click for me.

Nice plugin, testing it on my dev board now.

Thanks for sharing, saved me a lot of time.


- NimbleNora - 12-02-2026

That hooks explanation finally made it click for me.

Nice thread, following for the replies.


- KernelKate - 12-02-2026

Nice plugin, testing it on my dev board now.

Always call rebuild_settings() after changing settings programmatically.

Interesting — I will have to try that.


- VinylVera - 12-02-2026

Whitelist-based hooks debugging in class_plugins.php helped me a lot.


- ByteBruce - 12-02-2026

(Yesterday, 07:18 PM)VinylVera Wrote: Whitelist-based hooks debugging in class_plugins.php helped me a lot.
Whitelist-based hooks debugging in class_plugins.php helped me a lot.

Thanks for sharing, saved me a lot of time.


- SonicSam - 12-02-2026

(Yesterday, 07:18 PM)ByteBruce Wrote:
(Yesterday, 07:18 PM)VinylVera Wrote: Whitelist-based hooks debugging in class_plugins.php helped me a lot.
Always call rebuild_settings() after changing settings programmatically.

Nice plugin, testing it on my dev board now.