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
***
205 25 May 2026 0 0
#1

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

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.

Any tips, experiences or strong opinions welcome.
Reply
Banned
220 18 Jun 2026 0
#2

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

Good point, I had not thought of it that way.
Reply
Super Moderator
******
234 10 Dec 2025 0 0
#3

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

Users browsing this thread: 1 Guest(s)

Forum Jump: