Fórum

How to Send the first Friend Request in Social Networking Portlet

thumbnail
Mani kandan, modificado 12 Anos atrás.

How to Send the first Friend Request in Social Networking Portlet

Expert Postagens: 492 Data de Entrada: 15/09/10 Postagens Recentes
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, modificado 12 Anos atrás.

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

Liferay Legend Postagens: 1399 Data de Entrada: 17/09/10 Postagens Recentes
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, modificado 12 Anos atrás.

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

Expert Postagens: 492 Data de Entrada: 15/09/10 Postagens Recentes
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, modificado 9 Anos atrás.

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

Regular Member Postagens: 141 Data de Entrada: 03/03/12 Postagens Recentes
Hello Manikandan,

when i go thru the link you given, its asking for userid and password?
what is this?
thumbnail
Olaf Kock, modificado 9 Anos atrás.

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

Liferay Legend Postagens: 6403 Data de Entrada: 23/09/08 Postagens Recentes
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, modificado 9 Anos atrás.

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

Regular Member Postagens: 141 Data de Entrada: 03/03/12 Postagens Recentes
Hello Olaf,

You are right now server is not there, as browser is displaying 'Page not found' Message emoticon
thumbnail
Olaf Kock, modificado 9 Anos atrás.

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

Liferay Legend Postagens: 6403 Data de Entrada: 23/09/08 Postagens Recentes
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.