Difference: "Awaiting Activation" group and "Registered"
#1
Hi!

What is the difference between user who belongs to "Awaiting Activation" group and "Registered"? Only this group? Or maybe something else (except group change) happens during user's activation? Thus, if I change (via plugin/or directly in DB) manually user's group "Awaiting Activation" -> "Registered" everything will be fine.

Cheers!
Reply
#2
Take a look at awaitingactivation table. Or simply just at the activation process: https://github.com/mybb/mybb/blob/featur....php#L1294
Reply
#3
As far as I know when 'activating' a user it simply changes the usergroup value for the UID. If you wanted to write a plugin for this you would need to update the value in the usergroup column to the registered GID.
[Image: TExMo15.png]


Reply
#4
If you opened the link above, you'd see it's not enough and you may end up with some bugs (e.g. inability to change Email) if that's the only thing you do.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)