Forum

Accueil » Liferay Social Office

Vue combinée Vue Plate Arborescence
Sujets [ Précédent | Suivant ]
toggle
Denis Semenov
Dockbar notifications
24 octobre 2012 08:23
Réponse

Denis Semenov

Rang: New Member

Publications: 2

Date d'inscription: 23 octobre 2012

Publications Récentes

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
5 avril 2013 02:03
Réponse

Marcel Vlems

Rang: New Member

Publications: 4

Date d'inscription: 22 février 2013

Publications Récentes

I have the same problem. Ay solution for this?
Marcel Vlems
RE: Dockbar notifications
5 avril 2013 02:29
Réponse

Marcel Vlems

Rang: New Member

Publications: 4

Date d'inscription: 22 février 2013

Publications Récentes

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
5 avril 2013 02:40
Réponse

dave ch

Rang: Regular Member

Publications: 164

Date d'inscription: 6 février 2012

Publications Récentes

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
5 avril 2013 04:55
Réponse

dave ch

Rang: Regular Member

Publications: 164

Date d'inscription: 6 février 2012

Publications Récentes

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
5 avril 2013 08:58
Réponse

Mandy Lee

Rang: New Member

Publications: 12

Date d'inscription: 22 juin 2010

Publications Récentes

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
12 février 2014 21:06
Réponse

Pranay Sanam

Rang: Junior Member

Publications: 32

Date d'inscription: 14 août 2012

Publications Récentes

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
24 février 2014 17:45
Réponse

Jonathan Lee

LIFERAY STAFF

Rang: New Member

Publications: 14

Date d'inscription: 16 septembre 2010

Publications Récentes

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.