MyBB Hacks

Full Version: <if> in newthread.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to put a conditional

<if  then></if>

Only if somebody are en newthread.php

Because I want to hide a code or link if somebody is in newreply or newthread C: in the header

How to do that?
If your div has a class or id and you only want to hide this for cosmetic purposes then put a style tag in the header of the newthread template and hide it with CSS display:none.

If you need it to be gone then you could try

Code:
<if THIS_SCRIPT != 'newthread.php' then></if>

Reference URL's