squishi
04-22-2009, 12:36 PM
I have added a new userfield.
It has two options, "option-1" and "option-2".
Option-1 is the default.
I have added this code to several places of my forum:
<if condition="$userinfo['field64']=='option-2'">
...
</if>
I thought it worked great, until I tried to switch the userfield in the UserCP to option-1 again.
The parts of the forum are not showing, which means, userfield 64 is always "option-2".
I don't understand what's going on. Is this a problem with the template cache?
--------------- Added 1240426589 at 1240426589 ---------------
I tried it with bbuserinfo, but could not get it to work, either.
--------------- Added 1240427457 at 1240427457 ---------------
I try to use this in several templates, for example: header, navbar, forumhome.
It has two options, "option-1" and "option-2".
Option-1 is the default.
I have added this code to several places of my forum:
<if condition="$userinfo['field64']=='option-2'">
...
</if>
I thought it worked great, until I tried to switch the userfield in the UserCP to option-1 again.
The parts of the forum are not showing, which means, userfield 64 is always "option-2".
I don't understand what's going on. Is this a problem with the template cache?
--------------- Added 1240426589 at 1240426589 ---------------
I tried it with bbuserinfo, but could not get it to work, either.
--------------- Added 1240427457 at 1240427457 ---------------
I try to use this in several templates, for example: header, navbar, forumhome.