Pedro Prez's plugins:
People you might know
(Edit your project's description!)
IMPORTANT: To make this module work, you need the 'friends of friends' mod, otherwise if you don't have it activated, it won't
The way it works is pretty basic so the idea here is to improve it on the way, gradually developing this.
People you might know, you can get it from mutual friends, and they will be displayed sorted by the amount of matches found.

Comments
@antfmradio:
might try and tell us?
What based users are coming in People You might know?
Based on my education, Email id?
Working for me on 1.2. Great addition! Thanks.
@Viral Sonawala
For now, it just has the logic, previously mentioned above.
@Viral Sonawala
but then it might be implemented by location, education, etc
but later it may be implemented....
What is the change from the last version and is it compitable with 1.5 ?
Thanks in advance.
@Anas
The change respect to version 1.0 is a correction of a view
and work fine in 1.5 ;)
Thanks Pedro for the great efforts.
My Regards
I have just install it, but it doesn work. It is needed any kind of configuration? At the moment I just have 8 users, and I hace tested doing user A friend of user B and user B friend of user C. And I was expecting that user A have a suggestion to be friend the C user, but nothing is shown in people who you might know.
PS: I have already working fine the friend to friend module.
Some help? Thank u!
---------------------------
Acabo de instalar el modulo, pero no me sugiere ningún amigo,no se si será necesaria alguna configuración. Lo que he hecho es hacer al usuario A amigo del B y al B del C. No debería sugerirle al usuario A el C como amigo? o el algoritmo es más complicado?
PD: El módulo friend to friend lo tengo instalado y fuincionando correctamente, de hecho ese módulo si que me dice que el usuario C es amigo de mis amigos.
Alguien sabe queestoy haciendo mal? Gracias!
@Trasgos, perhaps this image helps you to understand the logic
Hi can anyone help me when i click on the following : Friends (Toolbar and Profile)
Friends of (Profile)
Friends of Friends (Profile)
People you might know (Profile)
I get the following error " Failed to load new ElggUser from GUID:11"
Sorry forgot to add that it works fine with my admin account only!
I've installed it and worked fine, but it still showing me my actual friends as people I might know...
I think it's related to what Pedro said, it needs some improvements, but still a great plugin and seems to work with 1.5!
Thanks!
Great, I like it!! thanks Pedro
Great mod, any plans on making it a widget so it can be used on other pages like the members dashboard?
Hi Pedro I was testing this on elgg 1.1 and got this error
Fatal error: Call to undefined function get_loggedin_userid() in /home/content/d/e/n/dentoris/html/clone2/mod/friends_of_friends/start.php on line 37
The concept sound great
Regards
Carlos
@santofimio
you can change that line for this
if($page_owner->getGUID()==$_SESSION['user']->getGUID())
good luck
Thank you Pedro I`ll give it a shot
Carlos
HI,
I am totaly blank about your plugin. Shall i ask this.. what you mean by 'friendsoffriends'??????/
suppose A is admin . A has two friends B and C . B and C has a mutual friend called D . ok? Whn i login as A, and click on 'friends' , i can view B and C . When i click on 'friends of' i can see D . Then actually what is 'friendsoffriends'? Pls help me my bozz
the friendsoffriends is D because D is friend of B and C, and B and C are your friends
give a look into the picture I posted.
cheers
Dear Pedro,
I have added A B C D and gave relationsip as you suggest. But when i click on 'friendsoffriends' link it goes to dashboard. But i can see 'people you might knnow' picture as D in left side bar. Whats my mistake.?. please help me
Also i found a bug in following page
........../mod/people_you_might_know/views/default/people_you_might_know/owner_block.php
Bug is - When we click on 'See All' it goes to 404 error page-
Org code is
$body .= "<a href='{$vars['url']}/pg/peopleyoumightknow/' >" . elgg_echo("peopleyoumightknow:seeall") . "</a>";
Replace it into
$body .= "<a href='{$vars['url']}pg/peopleyoumightknow/' >" . elgg_echo("peopleyoumightknow:seeall") . "</a>";
am i correct?
Cheers
@Kettyking I can confirm this error and the fix works. Thanx!elgg v1.5
@Pedro great work! very useful plugin. any progress on the problem with current friends appearing in people you might know? Some of my friends appear both places.
@pedro.. any plans on updating this to work properly with elgg1.6.1
@pedro
Indeed, any plans for 1.6.1, this is a very worthy plugin and no longer seems compatible with the latest version of elgg, any ideas on a release?
Regards.
Echo the last two comments about update for 1.6.1
It'd be really nice to have!