Forums

Home » Liferay Social Office

Combination View Flat View Tree View
Threads [ Previous | Next ]
Denis Semenov
Dockbar notifications
October 24, 2012 8:23 AM
Answer

Denis Semenov

Rank: New Member

Posts: 2

Join Date: October 23, 2012

Recent Posts

Hi,

I am quite newbie with SO (but not with Liferay). I downloaded Liferay 6.1.1-ce-ga2 with tomcat bundle and installed SO from market place.
Everything is working more or less Ok except one thing: User's Dockbar Notification. I read that the user should recive notification in dockbar when other users microblogs or comments something (of cause user is following to these users). But dockbar is absolutly clean. There is not sign of notification there. Did I miss something?

Thanks, Denis
Marcel Vlems
RE: Dockbar notifications
April 5, 2013 2:03 AM
Answer

Marcel Vlems

Rank: New Member

Posts: 4

Join Date: February 22, 2013

Recent Posts

I have the same problem. Ay solution for this?
Marcel Vlems
RE: Dockbar notifications
April 5, 2013 2:29 AM
Answer

Marcel Vlems

Rank: New Member

Posts: 4

Join Date: February 22, 2013

Recent Posts

I already found out what the problems is, the user has to be part of the role 'Social Office user'. The notification number will appear in the dockbar.
dave ch
RE: Dockbar notifications
April 5, 2013 2:40 AM
Answer

dave ch

Rank: Regular Member

Posts: 164

Join Date: February 6, 2012

Recent Posts

the user has to be part of the role 'Social Office user'. The notification number will appear in the dockbar.


Hi Marcel,

Could you please expand the above. What do you mean when you said "part of the role Social Office user" and is this is only in case of liferay default theme or this notification will also appear in case of custom theme also? What will appear if one has customized the dockbar?

Thanks,
Dave
dave ch
RE: Dockbar notifications
April 5, 2013 4:55 AM
Answer

dave ch

Rank: Regular Member

Posts: 164

Join Date: February 6, 2012

Recent Posts

Okay, I got it. Thats true user have to be a part of "Social Office User" Role to get Notifications in the dockbar. But i am not getting any increase in number in the dockbar.
Let say i have two users, they both have Social Office User" Role, they both are connected as i can chat using SO chat protlet. But when an user is commenting on the other user post the other user must supposed to get notification(s), but in my case i am not getting any notification. The dockbar notification number remains 0.

Is i am still missing something? Do i need to configure any thing to get the notifications ?
Any idea?

Thanks,
dave
Mandy Lee
RE: Dockbar notifications
April 5, 2013 8:58 AM
Answer

Mandy Lee

LIFERAY STAFF

Rank: New Member

Posts: 12

Join Date: June 22, 2010

Recent Posts

You have to give your user the Social Office user role in order for them to be able to use Social Office (which is indicated by the updated dockbar with the Dashboard button and Notifications count.)

Let say i have two users, they both have Social Office User" Role, they both are connected as i can chat using SO chat protlet. But when an user is commenting on the other user post the other user must supposed to get notification(s), but in my case i am not getting any notification.


Chat conversations won't show up as a notification in the dockbar - if this was the case, you could potentially have a lot of notifications that would clutter other important messages. Our user guide says this about what kind of notifications you are able to receive:

The Notifications button displays how many unread notifications you have. You’ll be notified upon receiving a private message, an invitation to join a site, a social connection request, or an event reminder.
Pranay Sanam
RE: Dockbar notifications
February 12, 2014 9:06 PM
Answer

Pranay Sanam

Rank: Junior Member

Posts: 32

Join Date: August 14, 2012

Recent Posts

HI Mandy,

How can I add Blogs and message board comments to the notifications?

I mean If anybody comments on my blog post or the Post that I made in message boards, I should get that in the Dockbar notification area??

P.S. I am aware that email notifications feature is there for my requirement but I need these notifications to appear in Dockbar notification area.
Jonathan Lee
RE: Dockbar notifications
February 24, 2014 5:45 PM
Answer

Jonathan Lee

LIFERAY STAFF

Rank: New Member

Posts: 12

Join Date: September 16, 2010

Recent Posts

Hi,

For now, you will have to create your own implementation (These will be implemented in future portal version, possibly 7.0). To enable notification for other portal assest, you have to do three things,

1. Implement the code to send notification will an comment is created.
2. Add Notification handler to display the notification correctly,
3. Add User notification xml to define the type of notification.

You may look at the code in microblogs portlet on how to implement this.

https://github.com/liferay/liferay-plugins/tree/master/portlets/microblogs-portlet

Files of interest are :
1. MicroblogsEntryLocalServiceImpl.java (method : sendNotification())
2. MicroblogsUserNotificationHandler.java
3. microblogs-user-definitions-xml
4. liferay-portlet.xml

I will be making a documentation for this very soon.