Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Stephanie Lemaire
Monitoring when forums are read or who is subscribed
31 de julio de 2013 11:24
Respuesta

Stephanie Lemaire

Ranking: New Member

Mensajes: 5

Fecha de incorporación: 19 de enero de 2012

Mensajes recientes

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
31 de julio de 2013 11:25
Respuesta

David H Nebinger

Community Moderator

Ranking: Liferay Legend

Mensajes: 11046

Fecha de incorporación: 1 de septiembre de 2006

Mensajes recientes

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
2 de agosto de 2013 8:54
Respuesta

Ken Sperow

Ranking: New Member

Mensajes: 10

Fecha de incorporación: 25 de abril de 2011

Mensajes recientes

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
2 de agosto de 2013 9:40
Respuesta

Ken Sperow

Ranking: New Member

Mensajes: 10

Fecha de incorporación: 25 de abril de 2011

Mensajes recientes

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
2 de agosto de 2013 10:33
Respuesta

David H Nebinger

Community Moderator

Ranking: Liferay Legend

Mensajes: 11046

Fecha de incorporación: 1 de septiembre de 2006

Mensajes recientes

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...