MyBB Hacks

Full Version: help with a condition
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i am trying to set up a condition where if {$GLOBALS['threadfields']['test']} is either war or zone and it will show what is to be shown for each category.

Code:
<if $GLOBALS['threadfields']['test'] == 'war' then>
This is war
<elseif $GLOBALS['threadfields']['test'] == 'zone' then>
This is a war zone
</if>

thanks gonna try it and see how it works.
this doesn't work, any suggestion?
(02-26-2018 01:41 AM)bekti Wrote: [ -> ]this doesn't work
It should works

(02-26-2018 01:41 AM)bekti Wrote: [ -> ]any suggestion?
Nope since we don't know what is your problem exactly
Reference URL's