Users registered in the pre_ucenter_members table are not activated when they log on to the forum. How does discuz determine whether a user is activated? This user information is not found in the pre_common_member table at the beginning. After testing, I found that: if it is not set to direct activation, first... after registering a user in the pre_ucenter_members table, it is not activated when I log on to the forum.
How does discuz determine whether a user is activated?
This user information is not found in the pre_common_member table at the beginning.
After testing, I found that:
If it is not set to direct activation, the user information will be automatically added to pre_common_member during the first login,
If it is set to not directly activated, the user information will be added to pre_common_member after the user logs on for the first time and is manually activated.
However, I have never found a field in the data table to determine whether it has been activated.
I suspect it is determined by using the password field in the pre_common_member table?
Because after I manually add the information, it is not actually activated.
In addition, the encryption methods for the passwords in the pre_common_member and pre_ucenter_members tables are different. the encryption methods in the pre_ucenter_members table are easy to find online, but I have not found the encryption methods for the passwords in the pre_common_mem!
To sum up, there are two problems:
1. how does discuz determine whether an account has been activated? Is it determined by the password?
2. no matter what the answer to the previous question is, I want to know how the password in the pre_common_member table is encrypted?
Thank you.
Supplement:
I found that the password in the pre_common_member table does not affect logon and can be modified at will.
Therefore, the activation status can be determined by the password.
So what is used to determine whether a user has been activated?
Reply content:
Users registered in the pre_ucenter_members table are not activated when they log on to the forum.
How does discuz determine whether a user is activated?
This user information is not found in the pre_common_member table at the beginning.
After testing, I found that:
If it is not set to direct activation, the user information will be automatically added to pre_common_member during the first login,
If it is set to not directly activated, the user information will be added to pre_common_member after the user logs on for the first time and is manually activated.
However, I have never found a field in the data table to determine whether it has been activated.
I suspect it is determined by using the password field in the pre_common_member table?
Because after I manually add the information, it is not actually activated.
In addition, the encryption methods for the passwords in the pre_common_member and pre_ucenter_members tables are different. the encryption methods in the pre_ucenter_members table are easy to find online, but I have not found the encryption methods for the passwords in the pre_common_mem!
To sum up, there are two problems:
1. how does discuz determine whether an account has been activated? Is it determined by the password?
2. no matter what the answer to the previous question is, I want to know how the password in the pre_common_member table is encrypted?
Thank you.
Supplement:
I found that the password in the pre_common_member table does not affect logon and can be modified at will.
Therefore, the activation status can be determined by the password.
So what is used to determine whether a user has been activated?
$result['ucresult']['uid'];$user_t=uc_user_login($result["ucresult"]["username"], $result["ucresult"]["password"]);$user_inf = DB::fetch_first(“SELECT * FROM ”.DB::table(‘common_member’).” WHERE uid=”.$uid);