And to remove «Delete user» option from comments (and only keep «Delete comment»), here's what I did:
In ow_system_plugins\base\components\comments_list.php
Remove (or comment out):
if ( $isBaseModerator && $value->getUserId() != OW::getUser()->getId() )
{
$modAction = new BASE_ContextAction();
$modAction->setLabel($language->text('base', 'contex_action_user_delete_label'));
$modAction->setKey('cdel');
$modAction->setParentKey($parentAction->getKey());
$delId = 'udel-' . $value->getId();
$modAction->setId($delId);
$actionArray['users'][$delId] = $value->getUserId();
$cAction->addAction($modAction);
}
Hope this helps!
- where can i find myoxwall.com/my-profile page file so i can edit this user name on profile page and
- where can i delete or hide " delete " button on profile page?