阅读:3348回复:0
管理员无法操作管理权限的解决方法
在后台我们是无法编辑管理员的管理权限,有时因为修改数据或其它原因造成错误修改到管理员的某些管理权限,导致管理员无法管理某些操作。
以下的数据升级是把所有的管理员的管理权限都给开启。 请使用后台的数据库升级或 phpMyAdmin 来升级以下的数据。 允许编辑帖子 UPDATE `cdb_admingroups` SET `alloweditpost` = '1' WHERE `admingid` =1 LIMIT 1;
[*]UPDATE `cdb_admingroups` SET `alloweditpost` = '1' WHERE `admingid` =1 LIMIT 1; 允许编辑投票 UPDATE `cdb_admingroups` SET `alloweditpoll` = '1' WHERE `admingid` =1 LIMIT 1;
[*]UPDATE `cdb_admingroups` SET `alloweditpoll` = '1' WHERE `admingid` =1 LIMIT 1; 允许置顶帖子(允许置顶 I/II/III) UPDATE `cdb_admingroups` SET `allowstickthread` = '3' WHERE `admingid` =1 LIMIT 1;
[*]UPDATE `cdb_admingroups` SET `allowstickthread` = '3' WHERE `admingid` =1 LIMIT 1; 允许审核帖子 UPDATE `cdb_admingroups` SET `allowmodpost` = '1' WHERE `admingid` =1 LIMIT 1;
[*]UPDATE `cdb_admingroups` SET `allowmodpost` = '1' WHERE `admingid` =1 LIMIT 1; 允许删除帖子 UPDATE `cdb_admingroups` SET `allowdelpost` = '1' WHERE `admingid` =1 LIMIT 1;
[*]UPDATE `cdb_admingroups` SET `allowdelpost` = '1' WHERE `admingid` =1 LIMIT 1; 允许批量删帖 UPDATE `cdb_admingroups` SET `allowmassprune` = '1' WHERE `admingid` =1 LIMIT 1;
[*]UPDATE `cdb_admingroups` SET `allowmassprune` = '1' WHERE `admingid` =1 LIMIT 1; 允许过滤词语 UPDATE `cdb_admingroups` SET `allowcensorword` = '1' WHERE `admingid` =1 LIMIT 1;
[*]UPDATE `cdb_admingroups` SET `allowcensorword` = '1' WHERE `admingid` =1 LIMIT 1; 允许查看 IP UPDATE `cdb_admingroups` SET `allowviewip` = '1' WHERE `admingid` =1 LIMIT 1;
[*]UPDATE `cdb_admingroups` SET `allowviewip` = '1' WHERE `admingid` =1 LIMIT 1; 允许禁止 IP UPDATE `cdb_admingroups` SET `allowbanip` = '1' WHERE `admingid` =1 LIMIT 1;
[*]UPDATE `cdb_admingroups` SET `allowbanip` = '1' WHERE `admingid` =1 LIMIT 1; 允许编辑用户 UPDATE `cdb_admingroups` SET `allowedituser` = '1' WHERE `admingid` =1 LIMIT 1;
[*]UPDATE `cdb_admingroups` SET `allowedituser` = '1' WHERE `admingid` =1 LIMIT 1; 允许禁止用户 UPDATE `cdb_admingroups` SET `allowbanuser` = '1' WHERE `admingid` =1 LIMIT 1;
[*]UPDATE `cdb_admingroups` SET `allowbanuser` = '1' WHERE `admingid` =1 LIMIT 1; 允许审核用户 UPDATE `cdb_admingroups` SET `allowmoduser` = '1' WHERE `admingid` =1 LIMIT 1;
[*]UPDATE `cdb_admingroups` SET `allowmoduser` = '1' WHERE `admingid` =1 LIMIT 1; 允许发布公告 UPDATE `cdb_admingroups` SET `allowpostannounce` = '1' WHERE `admingid` =1 LIMIT 1;
[*]UPDATE `cdb_admingroups` SET `allowpostannounce` = '1' WHERE `admingid` =1 LIMIT 1; 允许查看记录 UPDATE `cdb_admingroups` SET `allowviewlog` = '1' WHERE `admingid` =1 LIMIT 1;
[*]UPDATE `cdb_admingroups` SET `allowviewlog` = '1' WHERE `admingid` =1 LIMIT 1; 发帖不受限制 UPDATE `cdb_admingroups` SET `disablepostctrl` = '1' WHERE `admingid` =1 LIMIT 1;
[*]UPDATE `cdb_admingroups` SET `disablepostctrl` = '1' WHERE `admingid` =1 LIMIT 1; |
|