留言板

User Activities Portlet customization

thumbnail
Mazhar Alam,修改在11 年前。

User Activities Portlet customization

Regular Member 帖子: 191 加入日期: 11-11-25 最近的帖子
Hi all,

I need to customize the activities portlet, I want to display the loggedin user activities not all user activities.
So how should I proceed to this..

Thanks
thumbnail
David H Nebinger,修改在11 年前。

RE: User Activities Portlet customization

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
You cannot do this in a consistent way.

Liferay can know about live sessions in the current instance using the live.users.enabled property, but this is in-memory only and will not work in a clustered environment.

So logged in users won't work too well.

Then there's lhe logged out users. You do not have to click 'logout' to exit, all you have to do is close the browser. Liferay will not know that the user is actually gone until the session times out.

So logged out users won't work too well, either.
thumbnail
Mazhar Alam,修改在11 年前。

RE: User Activities Portlet customization

Regular Member 帖子: 191 加入日期: 11-11-25 最近的帖子
Thanks David for your suggestion..