On 09/20/2012 12:31 PM, Ezequiel Scott wrote:
  Hello,
 Since XWiki support user accounts, enabling visitors to create an account
 and sign in to the site, Can you tell me if It's possible with a little bit
 of effort track the activity of logged users? This can include recording
 activities such as what pages were visited as well as what actions were
 performed. May be it is possible implementing a plugin with Velocity or
 extracting the data from database. Have any idea how to do it?
 Thanks!!
 
You can implement your own component [1] that listens [2] for action
events [3]. You could then see what's the current user [4] and the
current action [5] and do whatever you want with that information.
[1] 
http://platform.xwiki.org/xwiki/bin/DevGuide/WritingComponents
[2] 
http://extensions.xwiki.org/xwiki/bin/Extension/Observation+Module+Local
[3]
https://github.com/xwiki/xwiki-platform/blob/489f4f7c2d3dd6255f8f8ea32ffe8f…
[4]
https://github.com/xwiki/xwiki-platform/blob/ff8bc0ee9f22f5e7f4ee0bab6d9437…
[5]
https://github.com/xwiki/xwiki-platform/blob/79ec59265415fd89a8b251abe447e0…
--
Sergiu Dumitriu
http://purl.org/net/sergiu/