MyBB Central

Full Version: Post: #1 Need some help with how to add this setting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am making a plug-in but I am stuck at something. I have created my settings that will add my message from the admin panel and will display when there is an error. But I can not place it at the file.

Here is what I got.

Code:
error("$mybb->settings['mysetting']");

But anyway I cut it is not working. My setting is the name of the setting that I have created. Do I need to escape strings with backslash? I tried that too but to no avail. Can someone help me please?

I do not want to just add the words there, that is why I want to add my settings at the admin panel
error($mybb->settings['mysetting']);
Thank you very much labrocca.