Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Member
***
210 15 Jan 2026 0
#1

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.
Reply
Super Moderator
******
239 15 May 2026 0
#2

Always call rebuild_settings() after changing settings programmatically.

Nice thread, following for the replies.

Interesting — I will have to try that.
Reply
Account not Activated
216 18 Nov 2025
#3

Whitelist-based hooks debugging in class_plugins.php helped me a lot.
Reply
Member
***
204 17 Apr 2026 0
#4

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.
Reply
Member
***
215 18 Sep 2026 0
#5

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.
Reply
Account not Activated
216 19 Nov 2026
#6

That hooks explanation finally made it click for me.

Nice plugin, testing it on my dev board now.
Reply
Member
***
190 20 Dec 2025 0
#7

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

Nice plugin, testing it on my dev board now.
Reply

Users browsing this thread: 2 Guest(s)

Forum Jump: