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
Linear Mode
Administrator
*******
252 25 Jun 2026 0 0
#1

Hooks are the heart of MyBB plugins —
Code: PHP
$plugins->add_hook('pre_output_page', 'my_func');
is where everything starts.

Remember: _activate() should be reversible, _install() owns permanent structures.
Reply
Messages In This Thread
Plugin settings with gid=0 — hidden settings trick — follow-up - by PixelatedPaul - 11-03-2026, 09:22 PM
[No subject] - by CraftyCathy - 11-04-2026, 07:51 AM
[No subject] - by TurboTom - 11-05-2026, 08:16 AM
[No subject] - by DoodleDom - 11-06-2026, 08:19 PM
[No subject] - by CodeWizard - 11-08-2026, 11:47 AM
[No subject] - by CodeWizard - 11-10-2026, 09:06 AM

Users browsing this thread: 1 Guest(s)

Forum Jump: