Implemented Rebuild user credit

Blackhat

Licensed
Licensed
User Upgrade Duration
User Upgrade Pro
Credit System
Advanced User Profile
Joined
Dec 7, 2019
Messages
163
Reaction score
25
I suggest adding a rebuild option for total user credit that stored in xf_user table. It will be useful in case you want to import any of the following tables after a clean install of the add-on. So it will just update xs_cs_user_credit column for all users based on stored data in the tables below instead of rebuilding credits for all events from scratch.
  • xf_xs_cs_event_credit
  • xf_xs_cs_modified_credit
  • xf_xs_cs_transaction
jM7RoBn.png
 
Last edited:
Back
Top Bottom