Hi All,
Thanks for the response.
Activity Stream seems to be a great candidate for my purpose, but It
doesn't log "view" events. However, I found it:
http://jira.xwiki.org/browse/XWIKI-6450
I explored xwiki database scheme and I founded two tables:
"xwikistatsvisit" and "activitystream_events". The first one, records
view
events, recording <user, ip, pages_viewed_counter, timestamp> but it
doesn't save WHAT page. The second, records events <user, event, page, url,
timestamp> but doesn't recognize VIEW as a event.
Have any idea about how to merge this info by querys (if is possible)? Is
possible append a column "page" or "url" to
"xwikistatsvisits", so that I
will see <user,  timestamp, PAGE> ?
Thanks!
2012/9/24 Sergiu Dumitriu <sergiu(a)xwiki.com>
  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<http:…
 [2] 
http://extensions.xwiki.org/**xwiki/bin/Extension/**
Observation+Module+Local<http://extensions.xwiki.org/xwiki/bin/Extension…
 [3] 
https://github.com/xwiki/**xwiki-platform/blob/**
 489f4f7c2d3dd6255f8f8ea32ffe8f**d98c9e5b57/xwiki-platform-**
 core/xwiki-platform-bridge/**src/main/java/org/xwiki/**bridge/event/**
ActionExecutedEvent.java<https://github.com/xwiki/xwiki-platform/blob/48…
 [4] 
https://github.com/xwiki/**xwiki-platform/blob/**
 ff8bc0ee9f22f5e7f4ee0bab6d9437**f53e0b3f1f/xwiki-platform-**
 core/xwiki-platform-bridge/**src/main/java/org/xwiki/**
bridge/DocumentAccessBridge.**java#L603<https://github.com/xwiki/xwiki-p…
 [5] 
https://github.com/xwiki/**xwiki-platform/blob/**
 79ec59265415fd89a8b251abe447e0**8b76de1f02/xwiki-platform-**
 core/xwiki-platform-bridge/**src/main/java/org/xwiki/**bridge/event/**
AbstractActionExecutionEvent.**java#L65<https://github.com/xwiki/xwiki-p…
 --
 Sergiu Dumitriu
 
http://purl.org/net/sergiu/
 ______________________________**_________________
 users mailing list
 users(a)xwiki.org
http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/m…
 
--
*Ezequiel Scott**
*
ezequielscott(a)gmail.com