PDA

View Full Version : Conditions in BB code


Doughboy
11-23-2007, 09:07 AM
Hello,

I'm trying to make it so that only logged in users can watch my FLV video's, because they take up quite a bit of bandwidth and I only want members watching them.

The following code works in my footer template:
<if condition="$show['member']">
<object type="application/x-shockwave-flash" width="320" height="240" wmode="transparent" data="http://www.jayscountry.ca/flvplayer.swf?file=http://urltothevideohere...">
<param name="movie" value="http://www.jayscountry.ca/flvplayer.swf?file=http://urltothevideohere..."/> <param name="wmode" value="transparent" />
</object>
<else />
<img src="images/flv_login.jpg">
</if>

But it doesn't seem to want to work in the BB code... this is what I get with the same code (except {param} replaces the file url).

http://www.jayscountry.ca/forums/showthread.php?p=34#post34

Any help is appreciated.