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.
Hello, iionly.
Don't work function userpoints_delete($user_guid, $guid) if administrator, or group's owner deletes content/object that was created by another user.
For an awarded user it's works when he deletes own content/object.
But it don't work in situation when a site/group administrator deletes that content/object.
How to fix it?
Thanks.
@maxvin If I understand you correctly, the problem is only occuring if group content is deleted by another user (i.e. the group owner). It should only occur if the group owner isn't a site admin.
Modifying the code of userpoints_delete() as follows should fix the issue (bold lines are new):
I'll include the fix in the next release of the Userpoints plugin.
Show it also transaction list for a user? Not admin but everybody see.Thank.
@inca "Transactions" in the sense of "actions a user got userpoints for"? If you mean this, the answer is yes but only for admins in the admin area of the Elgg site. A user will only get a system message (if this plugin option is enabled) when getting / losing points but a user won't see for what other users got points for. There's only a toppoints list with the Top 10 users (by total number of points).
Thank.
@iionly Thank you very much!