PDA

View Full Version : If Condition Possible ?


Iskib
03-01-2007, 08:50 PM
I am using:

<if condition="is_member_of($bbuserinfo, 5,6)"><b><u><a href="URL">Name</a></u></b></if>


to allow only certain groups to see a link on my forum.

I want to also only allow certain user to see a script how would I do the samething with
<script language="javascript" type="text/javascript">
var vspy_width=160;
var vspy_height=200;
var vspy_style="160x200_html";
var vspy_server="vent server";
</script>
<script language="javascript" type="text/javascript" src="http://ventrilo-monitor.com/js/show_ventrilo.js"></script>

I tried using the above code to hide it from certain groups and it gave me an error

Thanks in advance

Nevermind I got to work by using templates and such :)

SaN-DeeP
03-02-2007, 02:15 AM
Combine tWo if statements with AND