[Elgg 1.8-1.12 & 2.X - 4.X: Userpoints group widget] v1.9.1

Release Notes

  • Verified that it works on Elgg 1.9 - 1.12 and Elgg 2.0 (therefore should also work on any future Elgg 2.X versions),
  • composer.json added.
  • 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.

  • @nafnaf did you manage to build such a plugin? That sounds like a good idea


  • Category: Widgets
  • License: GNU General Public License (GPL) version 2
  • Updated: 2023-9-17
  • Downloads: 3355
  • Recommendations: 10

Other Projects

View iionly's plugins