Fixed Expired warning points show as active coming from vB 3.8

beerForo

Well-known member
Affected version
2.1
As stated, also for reference.
PS. Could you provide a fix, perhaps a new task that can be run? Thanks!
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.1.8).

Change log:
Handle rebuilding the active warning points in the User rebuild job.
There may be a delay before changes are rolled out to the XenForo Community.
 
We've sort of killed two birds with one stone in this fix.

The User rebuild job (which runs for all users after import) now calculates the active warning points.

The underlying issue here was that we were setting the warning_points in XF to the same as vBulletin ipoints and then later on incrementing the warning_points again when we imported the individual warnings or infractions.

We now just recalculate it in the job based on what warnings are in the XF database.

You can also run that manually for all users after import by running the users rebuild in Tools > Rebuild caches.

Note: This is fixed in XF 2.1.8 rather than Importers.
 
Running the user cache rebuild fixes, thanks.

Expired, still had 1. Now:
"Warning points: 0 Total warnings: 1"
 
Last edited:
Back
Top Bottom