Foren

How to Send the first Friend Request in Social Networking Portlet

thumbnail
Mani kandan, geändert vor 12 Jahren.

How to Send the first Friend Request in Social Networking Portlet

Expert Beiträge: 492 Beitrittsdatum: 15.09.10 Neueste Beiträge
Hi all,

I have two users userA and userB, userA wants to send the friend request to userB, how it possible in social networking portlets.
I know userA should go to userB's public page that is userA need to go for but logically "http://localhost:8080/web/userB/home" URL, but logically it is not good.
How to send the friend request to userB without giving the URL?
thumbnail
James Falkner, geändert vor 12 Jahren.

RE: How to Send the first Friend Request in Social Networking Portlet

Liferay Legend Beiträge: 1399 Beitrittsdatum: 17.09.10 Neueste Beiträge
Mani kandan:
Hi all,

I have two users userA and userB, userA wants to send the friend request to userB, how it possible in social networking portlets.
I know userA should go to userB's public page that is userA need to go for but logically "http://localhost:8080/web/userB/home" URL, but logically it is not good.
How to send the friend request to userB without giving the URL?



Check out Neel's blog. It is for a portlet that was developedfor 5.2.x but has since been (easily) modified to run for Liferay 6 (read the blog comments for details).
thumbnail
Mani kandan, geändert vor 12 Jahren.

RE: How to Send the first Friend Request in Social Networking Portlet

Expert Beiträge: 492 Beitrittsdatum: 15.09.10 Neueste Beiträge
Thanks James now its working fine,

I took the source code from the trunk - http://svn.liferay.com/repos/public/plugins/incubation/portlets/search-and-invite-friends-portlet
But in this source code the portlet class is missing then I have added the Summary portlet class from social networking now its working fine me.
thumbnail
Akash Jaisawal, geändert vor 9 Jahren.

RE: How to Send the first Friend Request in Social Networking Portlet

Regular Member Beiträge: 141 Beitrittsdatum: 03.03.12 Neueste Beiträge
Hello Manikandan,

when i go thru the link you given, its asking for userid and password?
what is this?
thumbnail
Olaf Kock, geändert vor 9 Jahren.

RE: How to Send the first Friend Request in Social Networking Portlet

Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
The ancient svn username is "guest", with an empty password. I didn't know that that server is still around. The sourcecode also needs some love for the current version (without looking at it)
thumbnail
Akash Jaisawal, geändert vor 9 Jahren.

RE: How to Send the first Friend Request in Social Networking Portlet

Regular Member Beiträge: 141 Beitrittsdatum: 03.03.12 Neueste Beiträge
Hello Olaf,

You are right now server is not there, as browser is displaying 'Page not found' Message emoticon
thumbnail
Olaf Kock, geändert vor 9 Jahren.

RE: How to Send the first Friend Request in Social Networking Portlet

Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
well, partly. It seems that just the "incubation" is not there any more: I still get some content on http://svn.liferay.com/repos/public/plugins, so it might be worth browsing around in the various branches. However, as there's not even a 6.2 branch, it looks like this has long been lost attention, you'll find the more current Liferay code on https://github.com/liferay - but you'll have to check if this "incubation" portlet has made it there. Be sure to check the branches, as any code that's hidden there is easily missed.