MyBB Community Forums

Full Version: member.php "Awaiting Activation Error"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Sorry English.

When a member moves to "Awaiting Activation" group.

[Image: do.php?imgf=150732001161531.png]

This member is in the user control panel when "Recent Activation Email" is clicked.

[Image: do.php?imgf=150732001180942.png]



Will not be able to activate the member account

Because, mybb_awaitingactivation table, this user type value is null.


[Image: do.php?imgf=150732040931361.png]



member.php, line 1402:
$query = $db->simple_select("awaitingactivation", "*", "uid='".$user['uid']."' AND (type='r' OR type='e' OR type='b')");



to correct

member.php, line 1531:
$uid = $user['uid'];

this code after

if(!$user['type']) 
{
$user['type'] = "r";
}


I hope I made myself clear
Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/2866

Thanks for contributing to MyBB!

Regards,
The MyBB Group