MyBB Community Forums

Full Version: Making plug in support
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, I didn;t understand the array for plug in, I want the setting of it will be in the tepmplate
If you want any settings to show inside the template then you may use the following;
{$mybb->settings['SETTINGS_NAME']}
Well, do I have to add a enabling plug in setting?
You shouldn't, you need to declare the $mybb global though, and possibly the database one as well:
global $mybb,$db;