MyBB Community Forums

Full Version: How to make a plugin which does this?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am about to make a plugin for MyBB.

But I am new to the plugin system.

What I need to do is to make a template called "whatever"

Inside that template I would like the following code:
IF PLUGIN IS ENABLED then{
html code blablabla.
}

And then it should make a setting which should be able to enable and disable.

At last it should but in a code in the header which should show the template called "whatever".

Hope someone can help me with this.

Thanks in advanced.
Have a look at this guide here by yaldaram. It's very informative.
I'd suggest requesting in the plugin section whatever you need the plugin to do, it doesn't sound like you know what to do at all.

Learn in the meantime, or if you have time on your hands, build this plugin slowly.