RE: Enable measuring user activities via GUI

Jan Tošovský, modified 1 Year ago. Liferay Master Posts: 576 Join Date: 7/22/10 Recent Posts

LR has very robust support for measuring user activities, but it is disabled by default. The activities counters are only created if socialactivitysetting table contains the corresponding "enabled" row for the given asset type (classnameid). This entry can only be added by calling the service or directly in the DB:

INSERT INTO socialactivitysetting (activitysettingid, groupid, companyid, classnameid, activitytype, name, value, mvccversion, ctcollectionid) VALUES (<FIXME>, <FIXME>, <FIXME>, <FIXME>, 0, 'enabled', 'true', 0, 0);

If LR is used as a collaboration platform for sharing knowledge, it is handy to track user activities (creating content, commenting or voting on it), which can then be used for gamification in the form of a leaderboard (via a custom module) or recognizing those active by dedicated badges shown beside their names (via customization).

Not having a GUI for enabling activities makes a barrier to adopting this great functionality for those not aware of it. 

 

thumbnail
Jamie Sammons, modified 1 Year ago. Expert Posts: 367 Join Date: 9/5/14 Recent Posts

Feature Request Created: https://liferay.atlassian.net/browse/LPD-28271