MyBB Community Forums

Full Version: Such Counts Is Bad
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
So at the botom of the Main index i see "We currently have 69,787 members registered. " . While when i hover on a new registered member like-> "theoneamongyou", its says his member number "81141" . Why this major distance in count ?
member number is an increasing number which isn't affected by deleted members - and we have many of them here.
Hmm, surely these numbers are highly inacurate, even if they are based on deleted members. Its in the best interest of all members who love mybb to show the accurate amount of total members who ever joined here regardless if they were deleted or not.
They are spammers, why do you want those in the total count?
(2014-02-19, 05:15 PM)Pirata Nervo Wrote: [ -> ]They are spammers, why do you want those in the total count?

I dont want them in the count anymore than you do. Its not right to give out such false stats. Its better to code a way so the count of those deleted members is not affected by the overall total count of members with the deleted included. Basically when deleting those spammers their member counts should be deleted aswell, so they wont effect the total member count and output the correct list of registered members.
Quote:Basically when deleting those spammers their member counts should be deleted aswell, so they wont effect the total member count and output the correct list of registered members.

That's exactly how it's done. We can't recover the uids which have been deleted if that's what you mean.
(2014-02-19, 05:40 PM)Nathan Malcolm Wrote: [ -> ]That's exactly how it's done. We can't recover the uids which have been deleted if that's what you mean.

I mean for example " We currently have 69,790 members registered.
Please welcome our newest member, Girls4girls " . When someone hovers over the username "Girls4Girls" it shows they are member number "81144" in the url . It should be showing member number "69790" .
And that's what Nathan told you. That's the user id and MyBB can't reset them every time an user is deleted, because the uid is referred in too many places into the database structure. Also, it's not controlled directly by MyBB itself, it's value auto increments itself in the db.

Also, that member is actually #81144, it's just that other guys before him have been deleted in the past, but the number is statistically speaking correct.
Just to make sure, imagine the following scenario: You have 3 Users on you board:
#1, Admin
#2, Spammer
#3, User
Now you have a total count of 3 members with the uid's (the id in the database which is used to identify a user). Afterwards you delete the Spammer. Your total count is now 2 (and the 2 is the displayed number), but the User has still the uid 3.
(2014-02-19, 05:51 PM)Shade Wrote: [ -> ]And that's what Nathan told you. That's the user id and MyBB can't reset them every time an user is deleted, because the uid is referred in too many places into the database structure. Also, it's not controlled directly by MyBB itself, it's value auto increments itself in the db.

Also, that member is actually #81144, it's just that other guys before him have been deleted in the past, but the number is statistically speaking correct.

So why not use the #81144 so it shows for example " We currently have 81,144 members registered.
Please welcome our newest member, Girls4girls " . When someone hovers over the username "Girls4Girls" it will still show the correct number of members who ever registered as "81144" in the url . Including the ones that were deleted, technically they registered too.
Pages: 1 2 3