Staff Online only showing to moderators

Discussion in '[bd] Widget Framework' started by Pete Thomas, Jan 18, 2016.

Tags:
  1. Pete Thomas

    Pete Thomas New Member

    I just notice that the staff online widget is only showing to moderators. I have no expression or conditionals in there except $visitor['user_id'] > 0

    How do I make this show to everyone?

    Thanks.
     
  2. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    Did you test this with a moderator logged in and view as another user? If you remove the existing expression, does it work correctly?
     
    1. Pete Thomas

      Pete Thomas New Member

      Pete Thomas @xfrocks
      yes I tested wit a test user.

      It's a bit clearer now - the moderator logged in had privacy set to Not show online stats.

      In this case i would expect the Staff online widget to just show zero, but what happens is the widget itself doesn't show.

      Is that normal or a bug?
       
  3. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    That's expected. Where there is no staff to list, it will just disappear.
     
    1. Pete Thomas

      Pete Thomas New Member

      Pete Thomas @xfrocks OK but would be nice to have it display: "There are no staff online." Or maybe that is asking for trouble!
       
Loading...