blackberry
08-08-2012, 07:39 PM
Restrict a member/user from editing his/her post. I dont want to change entire usergroup setting for one member.
Eosian
08-16-2012, 01:37 AM
Add a plugin for editpost_start
if ( in_array($vbulletin->userinfo['userid'], array( userid1 /*, userid2, userid3 */) ) )
{
// print_no_permission();
eval(standard_error(fetch_error('no_permission_edi t_selector_x_property_y', $postinfo['threadid'], $postinfo['postid'])));
}
The error message is more an example than what you likely want to display, you can create your own, or use the basic no permission error.
You can put any number of user IDs in the Array() being tested, as necessary.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.