MyBB Central
Twig - Printable Version

+- MyBB Central (http://www.mybbcentral.com)
+-- Forum: Mybb 1.6x Series Topics (http://www.mybbcentral.com/forum-34.html)
+--- Forum: MyBB 1.6x Member Release Plugins (http://www.mybbcentral.com/forum-38.html)
+--- Thread: Twig (/thread-11924.html)



Twig - tofighi - Jun 16, 2014

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:
Welcome 
{% if mybb.user.uid == '0' %}
Guest
{% else %}
{{ 
mybb.user.username }}
{% endif %} 
download:


RE: Twig - L34XXOR - Jan 27, 2015

Nice, I like this one Smile