View iionly's plugins
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.
Hi and congrats for all the great plugins you have contributed.
I've seen the description and it says "This plugin does NOT list the members based on userpoints they gained for actions within the corresponding group but lists them based on their total number of userpoints."
Is there a way to change/reconfigure this? I mean is there a way for the widget to list members based on userpoints they gained for actions within the group the widget is active? It would make sense to group admins if it could list users based on the userpoints earned for activity within the specific group.
@Jok Iopas
Showing the points the user gained in each group separately is possible but not without some additional code to save the total number of userpoints per group. Right now the userpoints plugin only maintains a single metadata value that contains the total number of points a user gained on a site. This metadata value is necessary for displaying the number of userpoints in widgets and on the profile pages without the need to calculate the number each time it needs to be displayed (such a calculation would simply cause too much load on the server). In a similar way the userpoints per group could be handled by maintaining additional metadata values for each user for each group the user is a member of. Of course, some more work would be necessary for implementing it to be able to re-calculate the values in case you start to use the userpoints group widget plugin only at a later time when the users already have gained points in groups and you also need to handle the joining / leaving of groups.
So, it's surely possible to implement a separate handling of userpoints per group. But I simply hadn't had any time to work on it so far - and most likely I won't have time to work on it in near future either.
@iionly
OK thanks for this info.
@nafnaf did you manage to build such a plugin? That sounds like a good idea