SMFHacks.com

Badge Awards => Support => Topic started by: atomicblue on August 24, 2012, 01:36:08 pm

Title: Rebadging doesn't account for deleted accounts?
Post by: atomicblue on August 24, 2012, 01:36:08 pm
I deleted some spam accounts and then rebadged members - now some of the really basic badges (like the level 1 badge) have apparently been earned by more members than are currently on my forum!

Is this perhaps a tweak that can be added to a later update - recounting existing badges and adjusting said figure for accounts which have since been deleted?

It would also be cool to see a tweak that could sort the master badge list by number of members per badge (so we could easily see which badges have been earned by the most/least members).
Title: Re: Rebadging doesn't account for deleted accounts?
Post by: SMFHacks on August 24, 2012, 10:50:33 pm
Fix bug for 1.0.13
!Deleting an account will now also delete the badge history for the deleted member
Title: Re: Rebadging doesn't account for deleted accounts?
Post by: atomicblue on August 29, 2012, 03:23:07 pm
Can you have another look at this bug?

I'm not sure if it's something to do with this add-on I've got on my forum:
http://www.simplemachines.org/community/index.php?topic=383900.0

The add-on allows one to mass-delete accounts if they've been inactive. I use it every couple of weeks. Anyway, I've installed the latest version of Badge Awards, and the bug is still there - when I delete accounts, it doesn't update the number of users that have any given badge.
Title: Re: Rebadging doesn't account for deleted accounts?
Post by: SMFHacks on August 29, 2012, 03:41:47 pm
Attach your Sources/Subs-Members.php