The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Restrict a member/user from editing his/her post. I dont want to change entire usergroup setting for one member.
|
|
#2
|
|||
|
|||
|
Add a plugin for editpost_start
Code:
if ( in_array($vbulletin->userinfo['userid'], array( userid1 /*, userid2, userid3 */) ) )
{
// print_no_permission();
eval(standard_error(fetch_error('no_permission_edit_selector_x_property_y', $postinfo['threadid'], $postinfo['postid'])));
}
You can put any number of user IDs in the Array() being tested, as necessary. |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|