Bubble #5
07-24-2006, 08:19 PM
Our forum has two groups, public and private. We would like to set up a navbar so that they can both search their section of the forum for unanswered threads, but only their section. So a person in the public section couldn't search for posts in the private section, and vice versa. This is what we have so far for the code:
<if condition="is_member_of($bbuserinfo, X,Y,Z)">
<a href="search.php?do=process&replyless=1&replylimit=0&dontcache=1">$vbphrase[new_feature]</a></td>
</if>
I think this would make the link show up for only certain usergroups, is that correct, or should we replace bbuserinfo with $post, X,Y,Z?
Also, how would we limit them to search only certain forums?
<if condition="is_member_of($bbuserinfo, X,Y,Z)">
<a href="search.php?do=process&replyless=1&replylimit=0&dontcache=1">$vbphrase[new_feature]</a></td>
</if>
I think this would make the link show up for only certain usergroups, is that correct, or should we replace bbuserinfo with $post, X,Y,Z?
Also, how would we limit them to search only certain forums?