MyBB Community Forums

Full Version: Plugin Template URL Problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Im inserting a simple template in a plugin , but im havin a problem pulling a setting from a setting in the plugin , this is what im doing:

<a href="{$mybb->settings[\'settings1\']}" > etc.........

But im doing something wrong and i cant see it. Sleep is needed lol
Why are you escaping the ' in the square braces? There's no need to.
What does settings1 actually do??
Setting 1 is for the admin to enter a url: http://community.mybb.com
Remove the backslashes on the two apostrophes, they aren't needed.
Yes ive removed them and played about a little bit , its working now.