7.删除用户只能删除用户主题帖,不能删除回复帖的解决方法
打开members.inc.php,查找
Copy to clipboardCODE:
$db->query("DELETE FROM {$tablepre}posts WHERE tid IN ($tids)", 'UNBUFFERED');
改成
Copy to clipboardCODE:
$db->query("DELETE FROM {$tablepre}posts WHERE authorid IN ($uids)", 'UNBUFFERED');