+ Reply to Thread
Results 1 to 8 of 8

Thread: Creating a page listing user activity

  1. #1
    Join Date
    Jul 2007
    Posts
    31

    Default Creating a page listing user activity

    I'm trying to create a page listing contributors, by pages edited... to subtly recognize activity. WHat I want is a table of users, with number of pages edited sorted from high to low. Ideally would like to restict to say a fixed number (top 50) or by edit limits (momre than 10 edits in a period).

    I reviewd the 'Special' words but dont see one relevant.

    Along those same lines, can this be updated to reflect the special functions available in Hayes?

    Here is what I'm referencing, many don't seem to work.
    http://wiki.opengarden.org/index.php...hlight=special

  2. #2
    Join Date
    Jul 2006
    Location
    San Diego, CA
    Posts
    5,450

    Default

    The User Manual was written for Gooseberry. We still need to rewrite it for Hayes. Most of the information under http://wiki.opengarden.org/Deki_Wiki .

    As for the contributor listing, you could already create something like it using the MySql extension, but it does require some in-depth understaning of Deki Wiki. I'll see if I can add such a function before Hayes+ ships. If I understood you correctly, you'd like something that looks like this:
    * Bob (24 edits)
    * Alex (20 edits)
    * Christy (11 edits)
    * ...

    I don't understand what you mean by "edit limits". Could you give an example?
    Steve G. Bjorg - Chief Architect
    Did you check the MindTouch FAQ?
    Found a bug? Report it.
    Follow me on Twitter
    Find us on IRC: irc.freenode.net #mindtouch

  3. #3
    Join Date
    Jul 2007
    Posts
    31

    Default Sorry for delay in responding...

    By edit limits I meant limiting the number of users reported by the number of edits (assuming a *really* active group of users... Just a thought, not really necessary.

  4. #4
    Join Date
    Jul 2006
    Location
    San Diego, CA
    Posts
    5,450

    Default

    There is new function for this. You can invoke it as follows:
    {{ wiki.contributors() }}

    It takes two optional parameters. The first is the path to a page if you only want to list the contributors for a given page (if omitted, contributors are calculated across the entire site). The second is a limit on how many contributors to list.

    Example:
    {{ wiki.contributors(_, 5) }}
    Steve G. Bjorg - Chief Architect
    Did you check the MindTouch FAQ?
    Found a bug? Report it.
    Follow me on Twitter
    Find us on IRC: irc.freenode.net #mindtouch

  5. #5
    Join Date
    Jul 2007
    Posts
    31

    Default

    Perfect... that works

  6. #6
    Join Date
    Jan 2008
    Posts
    39

    Default

    Quote Originally Posted by SteveB View Post
    There is new function for this. You can invoke it as follows:
    {{ wiki.contributors() }}

    It takes two optional parameters. The first is the path to a page if you only want to list the contributors for a given page (if omitted, contributors are calculated across the entire site). The second is a limit on how many contributors to list.

    Example:
    {{ wiki.contributors(_, 5) }}
    is there a way to exclude a user from this list?

  7. #7
    Join Date
    Jul 2006
    Location
    San Diego, CA
    Posts
    5,450

    Default

    No, there is currently no way to exclude a user. What would be the use case for that? And how to prevent it being abused by someone?
    Steve G. Bjorg - Chief Architect
    Did you check the MindTouch FAQ?
    Found a bug? Report it.
    Follow me on Twitter
    Find us on IRC: irc.freenode.net #mindtouch

  8. #8

    Default

    currently inactive users are also shown in the list - how can we exclude inavctive users?

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts