1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Ignore link on moderators' profiles is visible if the option "Show user as staff" is unchecked

Discussion in 'Resolved Bug Reports' started by markku, Jan 28, 2015.

  1. markku

    markku Well-Known Member

    -A regular member views the profile of a moderator who has "Show user as staff" enabled -> Ignore link is hidden
    -A regular member views the profile of a moderator who has "Show user as staff" disabled -> Ignore link is visible, and when a member clicks on it, it changes to "Unignore", causing the member to think that they've successfully ignored the user (hidden moderator), but on page refresh it's gone back to "Ignore"

    Is this as designed? It's confusing to members when hidden staff members' can seemingly be ignored, but the ignore setting doesn't stick.

    I can understand how it might also be confusing if there was no Ignore link for such a hidden moderator, so am not exactly sure how to best work around it...
  2. Amaury

    Amaury Well-Known Member


    It should also be noted that even though they're not ignored, as their content is visible, they still appear under account/ignored.
  3. Jeremy

    Jeremy Well-Known Member

  4. markku

    markku Well-Known Member

  5. markku

    markku Well-Known Member

    I can confirm this too. Just tested.

    XF 1.4.4.
  6. Jeremy

    Jeremy Well-Known Member

    I'm on my phone, I cannot verify.
  7. Amaury

    Amaury Well-Known Member

  8. Brogan

    Brogan XenForo Moderator Staff Member

    The thread is currently open in the bugs forum and will be addressed in due course.

    There is no need to bump it nor tag staff members.
    Liam W and Amaury like this.
  9. Mike

    Mike XenForo Developer Staff Member

    Fixed now, thanks. You can (partially) apply this by changing the following in library/Model/UserIgnore.php:
    AND user.is_admin = 0 AND user.is_moderator = 0
    AND user.is_staff = 0
    Amaury and markku like this.

Share This Page