Developed in (and for) Elgg 1.7.6 environment.
I didn't test it properly, so I'll appreciate any comment about your experience using it.
Also, I want you to help me fill the ToDo list with good ideas ;-)
Features:
- Dashboard widget!
Fixes:
- It did suggest some befriended users.
ToDo:
- Profile Widget ?
- Hide person support
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
@Thuvalpakshi I didn't try it with elgg 1.7.8, I'll when I can...
In the mean time, someone else is having the same issue?
Cheers!
genial plugin
Gracias! =)
@ emdagon, your pluggin is really good. this was working beautifully in 1.7.7. after i upgraded to 1.7.8 it is throwing an error which i mentioned above. please do check.
Thank you very much
im using your plugin and all is working great except ive put the widget on my custom dashboard and the widget displays about 20 users "i may know" and that number keeps going up. any ideas?
<?php
?>
<div class="sidebarBox">
<div class="membersWrapper"><br />
<h3>People You May Know</h3>
<?php
gatekeeper();
$widget = $vars['entity'];
$friends = $widget->look_in_friends == 'no' ? 0 : 0;
$groups = $widget->look_in_groups == 'no' ? 0 : 0;
$num_display = $widget->num_display != null ? $widget->num_display : 0;
$people = people_from_the_neighborhood_get_people(get_loggedin_userid(), 1, $groups);
echo elgg_view('people_from_the_neighborhood/people', array('people' => $people)); ?>
<div class="clearfloat"></div>
<div class="widget_more_wrapper"><a href="<?php echo $vars['url']; ?>pg/pftn"><?php echo elgg_echo('pftn:see:more'); ?></a></div>
</div>
</div>
@emdagon hi, the problem that i showed before is happening when trying to fetch members of group, if you call this page Friends of my friends (pg/pftn/friends/) there is no problem. but if you try to call Members of my groups (/pg/pftn/groups/) then create the database exception error
problem solved by commenting out the line 114 problem was with sorting.
thank you very much for creating such a nice pluggin.
Limitation doesn t work. I set it to 5 but i have a loooooooong list... this must be a bug.
Any word on the setting limitations fix?
i would like to know it also, it is a bug...
I really sorry, but I'm quite busy these days.
I promise I'll make the time for fix that bug and some improvements.
Cheers!
Thanks Emdagon!!!
Added a link under each person to "Add as Friend".
@emdagon: feel free to include this is you like. In pftn/views/default/people_from_the_neighbourhood/people.php
Add the following code in the the following places:
Line 13:
Lines 24,31,38,45:
@Trajan nice addition! I'll add it in the next release =)
Thanks a lot!
@ trajan
or
@ emdagon
Can you just paste all of the people.php file (with the add as friend modifications already made) because I cant seem to follow your instructions (my fault).
I can do the language file add. Thanks
For those who can't quite get the above to work. Here is my entire people.php
thank you!
how could you add a picture net to "Add as Friend"
like
Add as Friend
@ Trajan
You are good! Thank you for all your help.
@ Trajan THANK YOU. Do you know how to solve widget people limitaton bug described before in this topic?
@martinez: I've not found the solution to that either. I am having the same issue and will try to do find the fix asap.
i can t use the plugin, because i have almost 30 people on my list and it slows down my page like hell.
did you find solution? sorry, i m beginer with php...
any solution to the widget people limitaton bug???
It's not possibile to use this plugin, because i have almost 100 people on my list. It is slow!
Any suggestion?