Foros de discusión

How to Send the first Friend Request in Social Networking Portlet

thumbnail
Mani kandan, modificado hace 12 años.

How to Send the first Friend Request in Social Networking Portlet

Expert Mensajes: 492 Fecha de incorporación: 15/09/10 Mensajes recientes
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 hace 12 años.

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

Liferay Legend Mensajes: 1399 Fecha de incorporación: 17/09/10 Mensajes recientes
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 hace 12 años.

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

Expert Mensajes: 492 Fecha de incorporación: 15/09/10 Mensajes recientes
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 hace 9 años.

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

Regular Member Mensajes: 141 Fecha de incorporación: 3/03/12 Mensajes recientes
Hello Manikandan,

when i go thru the link you given, its asking for userid and password?
what is this?
thumbnail
Olaf Kock, modificado hace 9 años.

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

Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recientes
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 hace 9 años.

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

Regular Member Mensajes: 141 Fecha de incorporación: 3/03/12 Mensajes recientes
Hello Olaf,

You are right now server is not there, as browser is displaying 'Page not found' Message emoticon
thumbnail
Olaf Kock, modificado hace 9 años.

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

Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recientes
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.