MyStudio Free demo
Released: simple shoutbox plugin — 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: Released: simple shoutbox plugin — follow-up (/thread-120.html)



Released: simple shoutbox plugin — follow-up - NeonNia - 08-01-2026

Remember: _activate() should be reversible, _install() owns permanent structures.

Hooks are the heart of MyBB plugins — [code=php]$plugins->add_hook('pre_output_page', 'my_func');[/code] is where everything starts.


- ServerSage - 08-02-2026

Always call rebuild_settings() after changing settings programmatically.

Nice thread, following for the replies.

Interesting — I will have to try that.


- ByteBruce - 08-04-2026

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


- SonicSam - 08-05-2026

Nice plugin, testing it on my dev board now.

Always call rebuild_settings() after changing settings programmatically.

Thanks for sharing, saved me a lot of time.


- BinaryBen - 08-06-2026

That hooks explanation finally made it click for me.

The gid=0 trick keeps plugin settings out of the ACP — neat.

Bumping this because I ran into the same thing today.

Nice thread, following for the replies.


- QuietQuokka - 08-07-2026

That hooks explanation finally made it click for me.

Nice plugin, testing it on my dev board now.


- WidgetWill - 08-08-2026

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

Nice plugin, testing it on my dev board now.