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

As Designed Invisible Members are counted as total online members

Discussion in 'Resolved Bug Reports' started by batpool52!, Nov 18, 2014.

  1. batpool52!

    batpool52! Well-Known Member

    Visible number of members is not matching the total number of members online here. For example invisible_members_being_counted_0.png it is showing there are 58 members online but the visible members is only invisible_members_being_counted.png 48, where other 10 members are invisible / hidden here.

    My fix: Provide a option in ACP that if the admin wants to count the invisible members or not.
    Code fix: Inside "library\XenForo\Model\Session.php" around line 57, find:
    Code:
    $conditions['getInvisible'] = true; // filtered out if needed, but included in count
    replace with:
    Code:
    $conditions['getInvisible'] = false; // filtered out if needed, but included in count
     
  2. Mike

    Mike XenForo Developer Staff Member

    This is intentional -- you can see it mentioned in the comment on that line. They're online; invisibility really just hides specifics of this.
     
    batpool52! likes this.

Share This Page