View Full Version : users permissions
category
09-02-2006, 02:04 AM
hello I have a question about users permissions where should i put the users permission code so only guests can see it and what is the users permission code. Thanks
</td>
</tr>
<td class="thead">test</td>
</tr>
<tr>
<td class="alt1">
</td>
</tr>
</table>
RS_Jelle
09-02-2006, 12:08 PM
Have a look at this thread (https://vborg.vbsupport.ru/showthread.php?t=98009) for all information about basic vBulletin coding ;)
So if it's in a template: just wrap the following conditionals around it:
<if condition="is_member_of($bbuserinfo, 6)">
</td>
</tr>
<td class="thead">test</td>
</tr>
<tr>
<td class="alt1">
</td>
</tr>
</table>
</if>
category
09-02-2006, 01:58 PM
thanks
category
10-30-2006, 08:39 PM
also if i only to enable it in certain forums what should i do?
ericgtr
10-30-2006, 09:47 PM
You can try this (untested)..
Change
<if condition="is_member_of($bbuserinfo, 6)">
To
<if condition="is_member_of($bbuserinfo, 6) AND in_array($GLOBALS[forumid], array(1,3,5))">
Change the forumid's in the array to your own.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.