Forums / Developer / User Stats
Sandra Parente
Monday 30 August 2004 8:42:28 am
I want to display on a company site some stats (like ez Community Stats) about users: number of visits, activity, etc.I found nothing in http://ez.no/ez_publish/documentation/reference/data_fetching/user.
There is a $userVisitArray in user.php, but I don't know how to fetch it in the template...
Thanks for any help.
Sandra Parente www.netbliss.it
Ole Morten Halvorsen
Tuesday 31 August 2004 12:16:32 am
Hi Sandra,
eZ publish does not support fetching or filtering on owner id. If you want this check out Paul Borgermans contribution: http://www.ez.no/community/contributions/template_plugins/user_statistics
The operator used on ez.no to fetch user statistics is available here: http://www.ez.no/community/contributions/template_plugins/user_statistics
Ole M.
Senior Software Engineer - Vision with Technology http://www.visionwt.com http://www.omh.cc http://www.twitter.com/omh eZ Certified Developer http://ez.no/certification/verify/358441 http://ez.no/certification/verify/272578
Tuesday 31 August 2004 3:23:34 am
Thank you very much, Ole!But where can I find Paul Bogermans' contribution? The links you submitted point both to your plug-in...
Paul Borgermans
Tuesday 31 August 2004 3:39:34 am
Hi Sandra
http://ez.no/community/contributions/hacks/more_attribute_filter_operators_and_fetch_by_owner_id
This is only tested on 3.4.1 (or later: pubsvn.ez.no/stable/3.4)
hth
-paul
eZ Publish, eZ Find, Solr expert consulting and training http://twitter.com/paulborgermans
Tuesday 31 August 2004 3:52:03 am
Sandra,
Sorry about that :) I see Paul has posten the correct link.
Good luck!