(2019-09-08, 03:08 PM)DJMOKHTAR Wrote: Thanks . But how can I match both?
I think it's easier if I edit the statistics. but how ?
You're welcome.
I'll try to explain but it might not be clear.
To not mix the user indices (uid) with each other, which are used in other tables (for other modules in MyBB or plugins, or even reference it from outside your forum), a unique ID should be used for user index, thus this "uid" will be auto increased when a new user is registered. The record in
mybb_users
table for an existing user will be deleted if you remove this user in MyBB's AdminCP. Then a new user will get a unique ID which is auto increased if new users register, and there will be such an unmatched situation.
Let's say you have bought some umbrellas on different days, a red umbrella on Apr. 6, a blue umbrella on Aug. 18 and a green umbrella on Sept. 30 and you numerically named them uniquely with just "first", "second", and "third". One day, you lost the blue one and you'll have only two umbrellas which are the "first" and the "third". So you really want to change the name of the green umbrella to "second" which is the name of the blue one?
Ah... what an absurd story..
Why do you need to maintain such a match?
BTW, you really shouldn't try to match the two values, otherwise your forum may be broken.
Could be wrong but worth a try.