MyBB Hacks

Full Version: using template conditionals with xthreads fields
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm probably doing something terribly boneheaded here, but if I use template conditional to check if a xthreads field's been filled in like so:


<if {$GLOBALS['threadfields']['gearlist']} then></if>
Entire template won't load

using it normally like
<if $mybb->user['usergroup'] then></if>
has no problems Frown

any tips?
Try taking out the curly braces ( { .. } ).
Reference URL's