-
Suggestion
-
Resolution: Fixed
-
None
I have done some work on the userlister macro plugin that I want to contribute back to you. The source code for the changes is in the attached .zip file. Here is a summary of the changes:
1). The "online" parameter was not working at all. This was due to a couple of problems:
UserListener.handleEvent was calling UserList.userLoggedIn() on both the LoginEvent and the LogoutEvent (UserList.userLoggedOut() was never getting called), so once someone logged in they would always be listed as logged in.
UserList.matchEligibleUsers was not working as intended. Elements were being removed from the same list that was being iterated through, yielding unpredictable results in the resulting list.
2). I wanted to be able to see visually all users' logged in state. I enhanced userlister to show one of two icons beside the user name, depending on whether they are logged in or not.
Let me know if you have any questions or if I forgot to send you something.
Scott Frederick
Airline Products Development
Sabre Airline Solutions
682-605-4666
- is related to
-
CONFSERVER-3322 Userlister online and offline status broken
-
- Closed
-