By James on Wednesday, 05 May 2021
Replies 1
Likes 0
Views 1K
Votes 0
Stackideas, please consider using this updated points file to give site admins the option to set daily points limits.

This should be placed here: root/administrator/components/com_easysocial/includes/points

This has not been tested with EasySocial 4.0+

In addition to this you have to add the following to the params field in the database for each point rule. This can take some time to do it manually so writing a sql statement to do it would be ideal:


{"daily_points_limit":{"title":"Daily Points Limit","desc":"Set total number of points user's under this profile can achieve in a day. Set this to <b>0</b> to not enforce any limit","default":0}}


Rename the attached file to: points.php

Thank you,
James
The code definitely needs to be updated.

It is no longer working with 4.0.1, and comparing the code there are some changes between the two files besides the obvious.

James
·
Wednesday, 05 May 2021 02:21
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post