I suggest adding CLI support for rebuilding credits.
xf-rebuild:xensoluce-creditsystem-thread
xf-rebuild:xensoluce-creditsystem-post
xf-rebuild:xensoluce-creditsystem-reply
xf-rebuild:xensoluce-creditsystem-reaction
Actually you need to test it on a board with 150K posts at least. I did a clean install of XF and used Seeder add-on to fill up the board with posts. I've PM'd you with a backup.
First time I launched the rebuild I got memory limit error, fixed it by increasing the memory limit in php.ini to -1 (remove limits).
It currently keeps loading until eating up all available memory then the server gets down.
I suggest adding a checkbox option to disable permissions by default just like Unlimited option in node permissions.
The Minimum credit to view thread content permission prevents the user to see any thread content even own threads so I suggest changing it to be like View threads by others...
I would suggest adding support for XenForo alert system so users receive an alert once the event is triggered.
Alerts shouldn't be sent when rebuilding users credit. The hyperlink in alert should redirect the user to content id.
Thread event
You earned X credit for posting a new thread.
You...
No, it counts the reply even if the thread id exists in the exclusion list.
I mean if a thread, post or reply is already counted (count_state = 1), the count_state value should be changed to 0 if thread id added to the exclusion list.
The first phrase is a typo.
Overlay window Showing all items1 -> Showing all items
Modification of credits -> Credit changes
Modification of credits tab Value -> Credit
Modification of credits tab Who -> By
Canvas menu in admincp Credits -> Credit System
Credit calculation method variables...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.