Mike Edge
Well-known member
hmmm, I hope it gets added to member card and somewhere in the postbit too. Tucked away as a link, many won't ever find it nor use it due to the extra steps involved.
hmmm, I hope it gets added to member card and somewhere in the postbit too. Tucked away as a link, many won't ever find it nor use it due to the extra steps involved.
Coming from the same person who calls to action that the person is ignored in your eyes...it shouldn't be "encouraged".
As sod it, thats what the ignore feature is for, *adds Carlos*
Coming from the same person who calls to action that the person is ignored in your eyes...
Aha! This is why you haven't replied to me all day!Fortunately staff members can ignore members though![]()
Slavik, with respect, I disagree with your view completely.I disagree, I think as forums are designed to be a social tool, having an "ignore user" button easily palced detracts from the point of those forums in the start. If you realy want to ignore someone, you can go find it, but it shouldn't be "encouraged".
As they say, out of sight, out of mind.
XenForo_Model_UserIgnore:Is there a way to override this and allow staff members to ignore each other?
public function canIgnoreUser($userId, array $user, &$error = '')
{
$setError = (func_num_args() >= 3);
if ($user['is_moderator'] || $user['is_admin'])
{
if ($setError)
{
$error = new XenForo_Phrase('staff_members_may_not_be_ignored');
}
return false;
}
XenForo_Model_UserIgnore:
My guess is that if you remove the if ($user['is_moderator'] || $user['is_admin']) condition, it should allow staff to be ignored.Code:public function canIgnoreUser($userId, array $user, &$error = '') { $setError = (func_num_args() >= 3); if ($user['is_moderator'] || $user['is_admin']) { if ($setError) { $error = new XenForo_Phrase('staff_members_may_not_be_ignored'); } return false; }
Change it then.And allow others members to ignore staff to!
I have tried that!
// if visitor isn't member of usergroup 3 or 4 (mod or admin)
if(!XenForo_Visitor::getInstance()->isMemberOf(array('3','4'), true))){
// can't ignore staff.
$error = new XenForo_Phrase('staff_members_may_not_be_ignored');
}
Change it then.
PHP:// if visitor isn't member of usergroup 3 or 4 (mod or admin) if(!XenForo_Visitor::getInstance()->isMemberOf(array('3','4'), true))){ // can't ignore staff. $error = new XenForo_Phrase('staff_members_may_not_be_ignored'); }
Feel free to turn it into an add-onYep! Good one.
We use essential cookies to make this site work, and optional cookies to enhance your experience.