22 - ListContributors Module
nav_first.pngFirst: design:1
1 - Rate Module
Edited: 29 Apr 2012 00:01 by: GoVegan
Comments: 21
Tags:
nav_prev.pngPrevious: design:20
20 - Drive-by Sign-in & Registration
Edited: 11 Nov 2009 16:09 by: Steven Heynderickx
Comments: 9
Tags:
Last: design:32
32 - Parenthood Module
Edited: 11 Nov 2009 21:47 by: Steven Heynderickx
Comments: 7
Tags:
nav_last.png
Next: design:23
23 - Private Categories
Edited: 11 Nov 2009 16:14 by: Steven Heynderickx
Comments: 19
Tags:
nav_next.png

22 - ListContributors Module
Created on 07 Oct 2009 02:13
By James Kanjo

rating: +3+x
This is the Redirect module that redirects the browser directly to the "http://projects.wikidot.com/thread:129" page.

We need a way to list all of the users who have contributed to the site, but only list them once. This would help us to know who is collaborating in what categories.

I propose the ListUsers module to do this. It will have the same attributes as the ListPages module, in addition to a users selector and an anonymous selector. This is different from the ListPages module, because that will list all users ONCE who fit the criteria.

Selection

  • All ListPages selections (category, tags, range, etc, etc.)
  • Select by users: users="users"
  • Include anonymous

Users selector:

  • "." means the current user
  • "created" (default) means users who created a page
  • "edited" means users who edited a page
  • "contributed" means users who created OR edited a page

Anonymous selector:

  • "true" means results will include pages created/edited by an anonymous user
  • "false" (default) means results will not include pages created/edited by an anonymous user

Example

For a “Currently Active Users” module, you would use the following code:

[[module ListUsers category="*" date="last 1 hour" users="contributed" separate="false" appendLine="Sorry! No users have been active over the past hour.[!----]"]]
**Currently active users:**[!----]
[[*user %%name%%]][!--
[[/module]]

Comments: 3

Add a New Comment