Discuz x3.4用户组到期后不自动切换解决方案
修改文件:source/include/spacecp/spacecp_usergroup.php找到代码
$groupexpirynew = $groupterms['ext'][$groupid];
替换为
$groupexpirynew = $groupterms['ext'][$extgroupidsnew];
然后找到代码
$expirylist[$group['groupid']]['grouptitle'] = in_array($group['groupid'], $expgrouparray) ? ''.$group['grouptitle'].'' : $group['grouptitle']; } }
在它的下面加上如下代码:
页:
[1]