![]() |
How to disable stick thread option for moderator?
I want to setting mods and super-mods can not using ( or not showing ) stick thread option when administrative .
What do I do? |
The sticky thread permission is a part of thread tools permission, and IMO there are no way to disable it to specific group from admin control panel but you still may do this trick
in your forumdisplay template find Code:
<li><label><input type="radio" name="do" value="stick" /> {vb:rawphrase stick_threads}</label></li> replace with Code:
<vb:if condition="is_member_of($vbulletin->userinfo, 7)"> <vb:if condition="is_member_of($vbulletin->userinfo, 7)"> it means only user of group 7 (admin's group, can be found in ACP, Usergroup manager) can see the sticky options). You can add more group by using comma. or you can replace with the following Code:
<vb:if condition="$vbulletin->userinfo['userid'] == 2"> replace 2 with your id. So you are the only one who can see these options. |
thank you so much.
i used $vbulletin->userinfo as $bbuserinfo . it's work. because I read that, use $ bbuserinfo when editing in the template, I did not understand the difference. |
All times are GMT. The time now is 03:12 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|