MyBB Community Forums

Full Version: <if> in mybb?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to make something like this

<if $post['postnum'] == 1 then>
<center><a href="http://www.arbershosting.com"><img src="http://www.arbershosting.com/arbershosting.jpg" border="0"/></a></center>
</if>

work on mybb? I tried that but it seems to not be working
PHP isn't enabled in templates by default, you need this: http://community.mybboard.net/thread-318...nditionals
(2009-09-08, 04:36 PM)MattRogowski Wrote: [ -> ]PHP isn't enabled in templates by default, you need this: http://community.mybboard.net/thread-318...nditionals

it screws with my template... Isnt there a if in mybb?
No, as I said, it isn't in default MyBB, hence me giving the link to that plugin. If it's messing the templates up the syntax probably isn't right.