2011-08-12, 06:26 AM
If you suspend a members posts they don't know it's suspended and they don't know when it will be lifted. MyBB is already aware of this and hopefully will be fixed in 1.6.5.
But here is dirty fix.
Open ROOT/newreply.php
Find around line 106:
After it add this code.
Edit the message to serve your needs.
But here is dirty fix.
Open ROOT/newreply.php
Find around line 106:
if($forumpermissions['canview'] == 0 || $forumpermissions['canpostreplys'] == 0 || $mybb->user['suspendposting'] == 1)
{
After it add this code.
//Custom for Suspend time
if ($mybb->user['suspendposting'] == 1)
{
$susdate = my_date($mybb->settings['dateformat'], $mybb->user['suspensiontime']);
$sustime = my_date($mybb->settings['timeformat'], $mybb->user['suspensiontime']);
error("Your posting privileges are currently suspended until $susdate $sustime.", "Posting Suspended");
}
//Custom for Suspend time
Edit the message to serve your needs.