Log in

View Full Version : If condition to test against users 'chosen' styleID even in a forced style forum?


Razasharp
08-30-2006, 11:10 PM
Is there an if statement that can get the users chosen/set StyleID even when inside a forum that uses a forced style?

The if statement below does not work as it take the current style (so if its a forced style it takes that styleID as opposed to the users own set styleID): <if condition="$bbuserinfo[styleid] == 2">TEST</if>

If this is not possible is there another way to create/track a users 'setting'? (I know it can be done via custom fields but that won't work for guests.)

Thanks in advance.

Ntfu2
08-30-2006, 11:43 PM
Not a whole lot will work for guests when it comes to storing and retriving information from the database.

Razasharp
08-31-2006, 02:17 AM
styleID works - unfortunately, when a forced style is used it doesn't remember the users selected style :(