MyBB Central

Full Version: Twig
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Plugin: Twig
Description: Twig template engine for MyBB
Author: AliReza_Tofighi
You can use Twig as the template engine with this plugin.
For example you can use this code:
PHP Code:
{% if mybb.user.uid == '0' %}
{% else %}
mybb.user.username }}
{% endif %} 
Nice, I like this one Smile