Log in

View Full Version : How do I write this conditional? A link for specific usergroup


fusiongoddess
06-08-2007, 01:15 AM
Hi everyone!

I am almost done with my site's new style and I am stuck on writing a conditional. I have a sidebar navigation and I have a "Why Register?" link that I want shown only to guests. What is the code I put in the template for this?

Any help is appreciated. Thanks!

dyna88
06-08-2007, 01:21 AM
<if condition="is_member_of($bbuserinfo, 1)">
Link Code Here
</if>

fusiongoddess
06-08-2007, 01:22 AM
Ugh thank you SO much. Off to give it a shot!!