[Edit] Specific forum banning.
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #3
RE: [Edit] Specific forum banning.
(12-03-2011 02:47 AM)TriTop Wrote:  Try to replace:

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

with:

PHP Code:
if($mybb->input['action'] != "specificbanuser" || is_moderator($post['fid']) != true)


Not tested.


Didn't worked Erf

Maybe it has something with this?:

PHP Code:
$forum_select = build_forum_jump("", $fid, 1, '', 0, '', "fid");


and:

PHP Code:
$forum_select = build_forum_jump("", $mybb->input['fid'], 1, '', 0, '', "fid");


Tried without any luck..


Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
12-07-2011 09:12 AM
Visit this user's website 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. - Sama34 - 12-07-2011 09:12 AM

 Standard Tools
Forum Jump: