Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Trausti Thor Johannsson
Online friends across portals
October 19, 2009 3:52 PM
Answer

Trausti Thor Johannsson

Rank: New Member

Posts: 4

Join Date: October 19, 2009

Recent Posts

Hi All,

I am new to liferay, and i really like what I see. One thing that I think might be a bug. I have now created a few portal instances. All works like I want it to. Each portal is separate like it should be, except for the Online friends at the bottom of the screen. All portal users on all portals on the same server are online friends.

As I understand this, I should be able to have many different companies on the same server, with the same installation, all kept separate.

Am I misunderstanding ? How do I have separate portals on the same server ?

Best regards,


Trausti
Lisa Simpson
RE: Online friends across portals
October 23, 2009 9:23 AM
Answer

Lisa Simpson

Rank: Liferay Legend

Posts: 2034

Join Date: March 5, 2009

Recent Posts

Let's say you have 3 different web sites you're hosting on a single Liferay installation (I say installation because Liferay uses instance ot mean something else)

1) XYZ Corp
2) ABC Corp
3) JKL Corp

Make an org - XYZ and assign all the XYZ members to that org.

Make an org - ABC and assign all the ABC members to that org

Make an org - JKL and assign all the JKL members to that org.

They should stop seeting each other.
Trausti Thor Johannsson
RE: Online friends across portals
November 24, 2009 3:33 PM
Answer

Trausti Thor Johannsson

Rank: New Member

Posts: 4

Join Date: October 19, 2009

Recent Posts

Hi Lisa,

Sorry for the late reply. But I have really tested this. All users in all portals are now with their own Org. Still everyone sees everyone.

If anyone has any ideas....
Amos Fong
RE: Online friends across portals
November 24, 2009 4:32 PM
Answer

Amos Fong

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1844

Join Date: October 7, 2008

Recent Posts

Hi Trausti,

Redploy the chat portlet, but with a portlet-ext.properties with one of the following buddy strategies that you want.

buddy.list.strategy=all
#buddy.list.strategy=communities
#buddy.list.strategy=friends
#buddy.list.strategy=communities,friends
Trausti Thor Johannsson
RE: Online friends across portals
April 3, 2010 7:34 AM
Answer

Trausti Thor Johannsson

Rank: New Member

Posts: 4

Join Date: October 19, 2009

Recent Posts

Recently I installed a new liferay server totally clean. And by adding

buddy.list.strategy=communities

into the chat portlet config, everything now works as expected.

Thanks all
Senthil Chockalingam
RE: Online friends across portals
February 7, 2011 5:23 AM
Answer

Senthil Chockalingam

Rank: Junior Member

Posts: 58

Join Date: January 18, 2010

Recent Posts

Dear Friend,

In the Liferay 5.2.3 chat portlet, Online Friends limit is 20(users). If user is more then 20, they are not are not visible in the Online Count. Please refer the screenshot.

For this i changed the below code in portlet.porperties(\liferay-portal-5.2.3\tomcat-6.0.18\webapps\Chat\WEB-INF\src\)


buddy.list.maxbuddies=500



After this i have restarted the webserver, but there is no change.

So please help us on this.
Attachment

Attachments: Chat_OnlineList_Maximum_20users.PNG (16.3k)
Vikash Pareek
RE: Online friends across portals
January 30, 2013 1:18 AM
Answer

Vikash Pareek

Rank: New Member

Posts: 15

Join Date: December 10, 2012

Recent Posts

Hello to all,

I am using liferay 6.1.1 ce.
I have following hierarchy :
1.) default site named "XYZ".
2.) organizations "org_1".
3.) users "user_1" and "user_2".
4.) "user_1" is a member of site "XYZ" and organization "org_1".
5.) "user_2" is member of organization "org_1".
6.) user_1 and user_2 are not friend.
7.) I have checked both user_1 and user_2 are also member of site corresponding to "org_1".
I have add line "buddy.list.strategy=communities" in portlet.properties of chat portlet.

Problem is that both user_1 and user_2 not found each other in online friends.
But if user_1 and user_2 both are the member of default site "XYZ" then both visible online for each other in chat portlet.

Please Suggest what will i have to do for this ?