- Author
- Contact
Michael JasonSmith <mpj17@onlinegroups.net>
- Date
2016-02-24
- Organization
- Copyright
This document is licensed under a Creative Commons Attribution-Share Alike 4.0 International License by OnlineGroups.net.
The gs.group.member.list
product provides some simple lists of group members on the members page and a query that can be used by other products.
The Members page (members.html
in the Group context) lists the members of the group. It is a simple list: only the profile photo, name, and membership status is listed.
The Members Directory1 provides a more complete and complex page, that allows members to be sorted based on different fields.
The viewlet manager groupserver.MembersList
organises the viewlets into tabs. The manager provides the gs.group.member.list.interfaces.IMemberList
interface. In addition there is a viewlet manager for organising the JavaScript (if needed), which provides the gs.group.member.list.interfaces.IMemberListJavaScript
interface.
There are three viewlets
- Recently active:
The list of members who have posted recently.
- Most active:
The list of members that have posted the most frequently.
- All members:
Actually three lists:
- The administrators
- The normal members, and
- The invited members (which is only shown in private and secret groups).
The gs.group.member.list.MembersQuery
class provides two methods.
posting_authors(siteId, groupId, limit=5)
:Returns a list of distinct user-identifiers that represents the people that most recently posted to the group. Someone listed by this method may not be a group member, as people can leave the group.
top_posting_authors(siteId, groupId, limit=5)
:Returns a list of distinct user-identifiers that represents the people in the group that post the most.
- Translations: https://www.transifex.com/projects/p/gs-group-member-list/
- Code repository: https://github.com/groupserver/gs.group.member.list
- Questions and comments to http://groupserver.org/groups/development
- Report bugs at https://redmine.iopen.net/projects/groupserver
See
gs.group.member.directory
<https://github.com/groupserver/gs.group.member.directory>↩