Quote:
Originally Posted by noppid
The values are returned as 1 and 2, it's a number that is returned, not the text.
|
Also doesn't work:
Code:
<if condition="THIS_SCRIPT == 'index'">
<if condition="$userinfo[field18] == '1'">
The first part is correct (eg: that alone displays my code), so I think Lynne's on target with the thinking that I need a global conditional, or at least one that works on the index.
--------------- Added [DATE]1223488271[/DATE] at [TIME]1223488271[/TIME] ---------------
Quote:
Originally Posted by Lynne
In my navbar template, I actually use:
HTML Code:
<if condition="$vbulletin->userinfo[field13] <> 'Yes'">
stuff for when it isn't set to Yes
</if>
|
If there was a way I could fedex you a cake right now, I would. You are absolutely AWESOME Lynne, that works - thank you VERY much as usual!
--------------- Added [DATE]1223488339[/DATE] at [TIME]1223488339[/TIME] ---------------
While I'm at it (though I should probably start a new thread) - how would I go about setting usergroup permissions on my shiny new on/off CPF?

The idea here is that contributers can turn something on/off, whilst regular registered users cannot.