[Edit] Specific forum banning.
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #11
RE: [Edit] Specific forum banning.
Oh well, it will be easy just to wait until I can fix it my self Tongue

Thanks, the fix you provide is better that nothing Smile

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
01-16-2012 01:58 PM
Visit this user's website Find all posts by this user Quote this message in a reply
TriTop Offline
Member
***
Posts: 53
Joined: Apr 2008
Post: #12
RE: [Edit] Specific forum banning.
Hmmm strange. Finaly this do all the magic:

PHP Code:
1
2
3
4
5
6
7
8
9
if($mybb->input['action'] != "specificbanuser" || is_moderator() != true)
	{
		return;
	}
	
	else if($mybb->input['do'] == "specificbanuser" || is_moderator($mybb->input['fid']) != true)
	{
		error('Sorry, you have no permission to ban here!');
	}


Have fun!

01-18-2012 06:19 AM
Find all posts by this user Quote this message in a reply
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #13
RE: [Edit] Specific forum banning.
Yes, that did it, thanks.

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
02-02-2012 03:34 PM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: