Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-29-2010, 01:45 PM
mindhunter77 mindhunter77 is offline
 
Join Date: Jan 2006
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default permanent ban default

Is there a way to make the permanent ban option the default for the user banning system?
Reply With Quote
  #2  
Old 05-29-2010, 03:59 PM
Speysider's Avatar
Speysider Speysider is offline
 
Join Date: Apr 2009
Posts: 1,029
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No.
You would have to set up an infraction group or just manually move the user to the banned group.
Reply With Quote
  #3  
Old 01-11-2011, 01:20 PM
Paul Stenning Paul Stenning is offline
 
Join Date: Dec 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In v3.6.8 edit modcp/banning.php...

Find:
PHP Code:
    // set a default banning period if there isn't one specified
    if (empty($vbulletin->GPC['period']))
    {
        $vbulletin->GPC['period'] = 'D_7'; // 7 days
    } 
Change to:
PHP Code:
    // set a default banning period if there isn't one specified
    if (empty($vbulletin->GPC['period']))
    {
        $vbulletin->GPC['period'] = 'PERMANENT'; // permanent
    } 
In v3.6.8 this starts on line 367, it may vary in other versions.

I know this is a long time after the request but I was looking for the info myself.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:47 AM.


Powered by vBulletin® Version 3.9.0
Copyright ©2000 - 2017, vBulletin Solutions Inc.