Theme demo: pick a theme on the right. Log in as demo / demo to try posting. Everything resets every night.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Member
***
219 15 Mar 2026 0
#1

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');
is where everything starts.

I keep a list of essential plugins and thought I would share it here.

Any tips, experiences or strong opinions welcome.
Reply
Super Moderator
******
205 22 Oct 2025 0
#2

Nice plugin, testing it on my dev board now.
Reply
Member
***
219 20 Aug 2026 0
#3

Always call rebuild_settings() after changing settings programmatically.

Nice plugin, testing it on my dev board now.

That has been my experience as well.
Reply
Banned
209 16 Oct 2025
#4

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

Nice plugin, testing it on my dev board now.
Reply
Member
***
217 23 Nov 2025 0
#5

Nice plugin, testing it on my dev board now.
Reply
Member
***
232 17 May 2026 0
#6

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

That hooks explanation finally made it click for me.

That has been my experience as well.
Reply
Member
***
229 22 Oct 2026 0
#7

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

Bumping this because I ran into the same thing today.
Reply
Account not Activated
226 23 May 2026
#8

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

Interesting — I will have to try that.
Reply
Member
***
240 24 Jul 2026 0
#9

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

Nice plugin, testing it on my dev board now.

That has been my experience as well.
Reply
Member
***
201 15 Dec 2025 0
#10

Always call rebuild_settings() after changing settings programmatically.

Nice thread, following for the replies.
Reply

Users browsing this thread: 2 Guest(s)

Forum Jump: