MyBB Community Forums

Full Version: Conditionals
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Are conditionals natively supported in themes? I've been asked to knock up a myBB theme but all my templating experience so far is with phpBB which does support this.
No, but there is a plugin for php template conditionals.
Here you go for the link to Template Conditional plugin
http://mybbhacks.zingaburga.com/showthread.php?tid=260

After using this plugin you can add php in any theme template.
Thanks Smile

...also is there any way to edit actual template files without using the admin panel? I much prefer to use a text editor, especially when experimenting
Hi,

Templates are stored in the database, so unfortunately the easiest way to do it is from the Administrator Control Panel (ACP).
Sad that sucks
You can give a shot with Sublime text editor http://community.mybb.com/thread-144390.html
edit: delayed response

well, you can try using Sublime Mybb Template Editor