MyBB Community Forums

Full Version: how to access variables from settings.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I added a setting how can i access the values within templates?

Dan
Let's say the identifier you gave the setting is my_setting, you could use:
{$mybb->settings['my_setting']}
okay i got that my i have i have a problem with the setting itself when i go to edit it i just get this:

Info banner text
text shown on info banner.

and no way to edit the setting value am i missing something?
Thanks,
Dan
I really don't know what you mean. Can you explain further? Or maybe give a screenshot?
Heres one.
Are you sure you have selected a settings type?

Otherwise, try deleting the settings group and try again.
I can't seem to reproduce your issue.