This widget needs to be disabled on the page if the user is suspended.
by using this
if (BOL_UserService::getInstance()->isSuspended($user->getId()))
so at the top of the init.php right after the header description (the first php code is this)
// added by dave
if ( !OW::getUser()->isAuthenticated() || !BOL_UserService::getInstance()->isApproved() )
{
return;
}
$user = BOL_UserService::getInstance()->findUserById(OW::getUser()->getId());
if (BOL_UserService::getInstance()->isSuspended($user->getId()))
{
return;
}
// end add