Log in

View Full Version : StyleID Conditional script ?


kawe
05-15-2010, 12:40 PM
do you know about conditional template list ?
i don't see for styleID

example : if styleid=10

anyone can help me ?

cad2go
05-15-2010, 01:46 PM
Just put the code you want to run if the style=10 in style 10's templates.

TheLastSuperman
05-15-2010, 05:16 PM
Try this:

Try:

<if condition="$bbuserinfo[styleid]==#">
Content here....
</if>

Replace the # symbol with the desired style ID #

Also to code for any style with alternate code etc use an else statement i.e.

<if condition="$bbuserinfo[styleid]==#">
Style ID # Content here....
<else />
Show this in any style
</if>

kawe
05-16-2010, 01:14 AM
Try this:

ok i got one
but how to identification like this :

im posting with styleID 10
so in styleID 1 (postbit_legacy), show something words example :

THIS USER POSTING USING STYLEID 10