PDA

View Full Version : How do I make a special quick style chooser ??


php4dev
02-05-2005, 12:29 PM
for example :

I have 3 styles ( style1 & style2 & style3) .
& I have 2 member ..

i want to make a quick style chooser including style1 & style2 only for member1

& i want to make a quick style chooser including style1 & style3 only for member3 ...

how can i do this ?

thanks

php4dev
02-06-2005, 12:32 PM
is it very hard to do?

php4dev
02-08-2005, 05:51 PM
please help me .....

Andreas
02-08-2005, 06:27 PM
<select name="styleid" id="mystylechooser" onchange="switch_styleid(this)">
<optgroup label="My Quick Style Chooser">
<option value="1">Style 1</option>
<if condition="$bbuserinfo[userid] == 1">
<option value="2">Style 2</option>
<else />
<if condition="$bbuserinfo[userid] == 3">
<option value="2">Style 3</option>
</if>
</if>
</optgroup>
</select>

php4dev
02-08-2005, 07:44 PM
i will try it

thank you veeeeeeeeeeeeeery much