去评论
dz插件网

Discuz!X3.5修复 后台部分设置项缺少对应安装数据的问题需要升级得数据库SQL语句

admin
2021/08/18 10:32:30
Discuz!X3.5修复 后台部分设置项缺少对应安装数据的问题需要升级得数据库SQL语句:

  1. INSERT INTO pre_common_setting VALUES ('accountguard','a:3:{s:12:"loginpwcheck";s:1:"0";s:14:"loginoutofdate";s:1:"0";s:17:"loginoutofdatenum";s:0:"";}');

  2. UPDATE `pre_common_setting` SET `svalue` = '1' WHERE `pre_common_setting`.`skey` = 'activitycredit';

  3. UPDATE `pre_common_setting` SET `svalue` = '0' WHERE `pre_common_setting`.`skey` = 'activityforumid';

  4. INSERT INTO pre_common_setting VALUES ('advexpiration','a:3:{s:5:"allow";b:0;s:3:"day";s:0:"";s:5:"users";s:0:"";}');

  5. INSERT INTO pre_common_setting VALUES ('albumcategoryrequired','0');
  6. INSERT INTO pre_common_setting VALUES ('albumcategorystat','0');

  7. INSERT INTO pre_common_setting VALUES ('allowpostcomment','a:2:{i:0;s:1:"1";i:1;s:1:"2";}');

  8. INSERT INTO pre_common_setting VALUES ('blogcategoryrequired','0');

  9. INSERT INTO pre_common_setting VALUES ('blogcategorystat','0');

  10. INSERT INTO pre_common_setting VALUES ('change_secmobile','0');

  11. INSERT INTO pre_common_setting VALUES ('collectionrecommend','a:3:{s:5:"ctids";N;s:13:"autorecommend";i:0;s:14:"adminrecommend";i:0;}');

  12. INSERT INTO pre_common_setting VALUES ('collectionrecommendnum','0');

  13. INSERT INTO pre_common_setting VALUES ('groupmod','0');

  14. INSERT INTO pre_common_setting VALUES ('group_description','');

  15. INSERT INTO pre_common_setting VALUES ('group_keywords','');

  16. INSERT INTO pre_common_setting VALUES ('group_recommend','a:0:{}');

  17. INSERT INTO pre_common_setting VALUES ('moduser_public','0');

  18. INSERT INTO pre_common_setting VALUES ('need_secmobile','0');

  19. INSERT INTO pre_common_setting VALUES ('portalarticleimgthumbclosed','0');

  20. INSERT INTO pre_common_setting VALUES ('profilegroupnew','');

  21. INSERT INTO pre_common_setting VALUES ('relatedlinkstatus','0');

  22. INSERT INTO pre_common_setting VALUES ('simplemode','0');

  23. INSERT INTO pre_common_setting VALUES ('thumbsource','0');