Log in

View Full Version : permanent ban default


mindhunter77
05-29-2010, 02:45 PM
Is there a way to make the permanent ban option the default for the user banning system?

Speysider
05-29-2010, 04:59 PM
No.
You would have to set up an infraction group or just manually move the user to the banned group.

Paul Stenning
01-11-2011, 01:20 PM
In v3.6.8 edit modcp/banning.php...

Find:
// 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:
// 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.