[Edit] Specific forum banning.
TriTop Offline
Member
***
Posts: 53
Joined: Apr 2008
Post: #4
RE: [Edit] Specific forum banning.
Ok. This works. Replace:

PHP Code:
if($mybb->input['action'] != "specificbanuser" || is_moderator() != true)
	{
		return;
	}

with:

PHP Code:
if($mybb->input['action'] != "specificbanuser" || is_moderator($mybb->input['fid']) != true)
	{
		error('Sorry, you have no permission to ban here!');
	}

12-12-2011 03:12 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
[Edit] Specific forum banning. - Sama34 - 12-02-2011, 12:39 PM
RE: [Edit] Specific forum banning. - TriTop - 12-12-2011 03:12 AM

 Standard Tools
Forum Jump: