I did make one quick change. On our site, banning is kind of an honor... unless it's permanent. As such, the pages get BIG, but all people want to know is how many times somebody has been banned.
This code does that.
Find:
PHP Code:
$match=count(array_intersect($membergroup, $banlogpermissions));
Add below:
Find:
PHP Code:
$banlog.='<li><span class="shade">'.$changetime.':</span> Banned</li>';
Add below:
PHP Code:
$banCount=$banCount+1;
Find:
PHP Code:
$this->block_data['baninfo'] ="$banlog";
Replace with:
PHP Code:
$this->block_data['baninfo']="Banned a total of: $banCount Times<br/><br/>$banlog";
Works great on mine... first user I tested had been banned 41 times! :up::up: