MyBB Community Forums

Full Version: First Plugin?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have some questions which I would like to know.

I am about to make my first plugin.

And I would like to know the following:
  1. How do I make a new global template and include some codes?
  2. How do I put some codes in the end of the footer template?
  3. How can I make a hook when activating?
  4. How can I remove a hook when uninstalling.
  5. How can I do so my plugin can be deactivated?

Hope someone can help me with those.
Use existing plugins from the mods section as examples.
Literally all but one of those questions is clearly answered in the official Wiki...
This is one of the best tutorials I have found: http://community.mybb.com/thread-16697.html
(2011-11-09, 10:03 AM)Tom K. Wrote: [ -> ]This is one of the best tutorials I have found: http://community.mybb.com/thread-16697.html

This included all the informations that I needed.

Thanks a lot man Big Grin
This is a good tutorial as well: http://mybbhacks.zingaburga.com/showthread.php?tid=74

And the documents on the Wiki are also worth reading.
I started by reverse-engineering "Hello World". You can see I've progressed quite a bit since then Toungue
I recommend only this;
(2011-11-09, 02:05 PM)faviouz Wrote: [ -> ]This is a good tutorial as well: http://mybbhacks.zingaburga.com/showthread.php?tid=74