Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Stephanie Lemaire
Monitoring when forums are read or who is subscribed
July 31, 2013 11:24 AM
Answer

Stephanie Lemaire

Rank: New Member

Posts: 5

Join Date: January 19, 2012

Recent Posts

Is there a way to monitor when a forum is read, or at least tell you who has read it?
Is there a way to tell who is subscribed to a forum?
David H Nebinger
RE: Monitoring when forums are read or who is subscribed
July 31, 2013 11:25 AM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 11115

Join Date: September 1, 2006

Recent Posts

Yes, Liferay does this already. When you're logged in, you'll notice unread threads as bold but read are normal.

Liferay itself gets the list of subscribers so it can send out emails, so that's available also.
Ken Sperow
RE: Monitoring when forums are read or who is subscribed
August 2, 2013 8:54 AM
Answer

Ken Sperow

Rank: New Member

Posts: 10

Join Date: April 25, 2011

Recent Posts

We are running into this issue too. I don't see an obvious way within the forums in Liferay 6.1GA2 CE to see who is subscribed to the forum threads and categories. Am I missing something? There is a nice feature that shows your subscriptions via "My Subscriptions" but nothing that shows all the users subscribed to a forum thread or category.

Thanks for any insight.
Ken
Meteorology Development Lab
National Weather Service/NOAA
Ken Sperow
RE: Monitoring when forums are read or who is subscribed
August 2, 2013 9:40 AM
Answer

Ken Sperow

Rank: New Member

Posts: 10

Join Date: April 25, 2011

Recent Posts

I discovered that Liferay does have a tool available via the Marketplace:

http://www.liferay.com/marketplace/-/mp/application/26286774

Take a look at the "Message Boards Subscription Manager CE".

Perhaps this will help others.

Ken
David H Nebinger
RE: Monitoring when forums are read or who is subscribed
August 2, 2013 10:33 AM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 11115

Join Date: September 1, 2006

Recent Posts

It's done through the subscription service.

You can get user subscriptions through SubscriptionLocalServiceUtil.getUserSubscriptions(userId, className) where className would be MBCategory.class.getName() for categories or MBThread.class.getName() for threads.

You can also access all subscriptions using SubscriptionLocalServiceUtil.getSubscriptions(companyId, className, classPK) where className is similar to above, classPK would be either the category id or thread id...