The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
|||
|
|||
![]()
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> <li><label><input type="radio" name="do" value="unstick" /> {vb:rawphrase unstick_threads}</label></li> replace with Code:
<vb:if condition="is_member_of($vbulletin->userinfo, 7)"> <li><label><input type="radio" name="do" value="stick" /> {vb:rawphrase stick_threads}</label></li> <li><label><input type="radio" name="do" value="unstick" /> {vb:rawphrase unstick_threads}</label></li> </vb:if> <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"> <li><label><input type="radio" name="do" value="stick" /> {vb:rawphrase stick_threads}</label></li> <li><label><input type="radio" name="do" value="unstick" /> {vb:rawphrase unstick_threads}</label></li> </vb:if> replace 2 with your id. So you are the only one who can see these options. |
Благодарность от: | ||
begin |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|