Forums / Developer / Top users according to Number of edits/posts

Top users according to Number of edits/posts

Author Message

liu spider

Sunday 06 March 2005 6:49:44 pm

I am implementing something similar to the stat page in eZ:
http://www.ez.no/community/forum/stat

However, I can not figure out a straightforward way to achieve the list of Most active users according to Number of edits/posts.

Could anyone enlighten me?

Or do I need to write some php code to retrieve this kind of info from database? or do I have to write an extension to achieve it?

(I search on eZ and the pubsvn for extensions, with no luck)

thanks.

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Ɓukasz Serwatka

Sunday 06 March 2005 10:01:16 pm

Hi,

You can use "object_count_by_user_id" to fetch number of objects of a specific class created by a user.
http://ez.no/ez_publish/documentation/reference/data_fetching/content/object_count_by_user_id

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

liu spider

Monday 07 March 2005 5:37:52 am

thanks, I also noticed that on the documentation.

However, how can I figure out who are the top users? And how can I retrieve the modification number of a given user?

Thanks a lot.

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

kevin wei

Wednesday 04 January 2006 9:04:37 pm

how to sort these user when get the count?

Per-Espen Kindblad

Thursday 05 January 2006 1:58:13 am

Hi!

The eZ team has developed this: http://ez.no/community/forum/statistics with use of custom tag. Maybe they can add this custom tag to the contribution?

Best regards

kevin wei

Thursday 05 January 2006 2:36:33 am

it is a very useful feature, to list top 10 by the number of its child , wish someone can provide this code,thx!