·设为首页收藏本站📧邮箱修改🎁免费下载专区💎积分✅卡密📒收藏夹👽聊天室
返回列表 发布新帖

[已处理] Discuz!新增 允许用户浏览个人资料页需要升级的数据库语句

288 0
发表于 2021-7-19 11:33:15 | 查看全部 阅读模式

马上注册,免费下载更多dz插件网资源。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
Discuz!新增 允许用户浏览个人资料页需要升级的数据库语句:
  1. ALTER TABLE `pre_common_usergroup_field` ADD `allowviewprofile` tinyint(1) unsigned NOT NULL DEFAULT '0' AFTER `allowviewprofile`;

  2. UPDATE `pre_common_usergroup_field` SET `allowviewprofile` = '1' WHERE `pre_common_usergroup_field`.`groupid` = 1;
  3. UPDATE `pre_common_usergroup_field` SET `allowviewprofile` = '1' WHERE `pre_common_usergroup_field`.`groupid` = 2;
  4. UPDATE `pre_common_usergroup_field` SET `allowviewprofile` = '1' WHERE `pre_common_usergroup_field`.`groupid` = 3;
  5. UPDATE `pre_common_usergroup_field` SET `allowviewprofile` = '0' WHERE `pre_common_usergroup_field`.`groupid` = 4;
  6. UPDATE `pre_common_usergroup_field` SET `allowviewprofile` = '0' WHERE `pre_common_usergroup_field`.`groupid` = 5;
  7. UPDATE `pre_common_usergroup_field` SET `allowviewprofile` = '0' WHERE `pre_common_usergroup_field`.`groupid` = 6;
  8. UPDATE `pre_common_usergroup_field` SET `allowviewprofile` = '0' WHERE `pre_common_usergroup_field`.`groupid` = 7;
  9. UPDATE `pre_common_usergroup_field` SET `allowviewprofile` = '0' WHERE `pre_common_usergroup_field`.`groupid` = 8;
  10. UPDATE `pre_common_usergroup_field` SET `allowviewprofile` = '0' WHERE `pre_common_usergroup_field`.`groupid` = 9;
  11. UPDATE `pre_common_usergroup_field` SET `allowviewprofile` = '1' WHERE `pre_common_usergroup_field`.`groupid` = 10;
  12. UPDATE `pre_common_usergroup_field` SET `allowviewprofile` = '1' WHERE `pre_common_usergroup_field`.`groupid` = 11;
  13. UPDATE `pre_common_usergroup_field` SET `allowviewprofile` = '1' WHERE `pre_common_usergroup_field`.`groupid` = 12;
  14. UPDATE `pre_common_usergroup_field` SET `allowviewprofile` = '1' WHERE `pre_common_usergroup_field`.`groupid` = 13;
  15. UPDATE `pre_common_usergroup_field` SET `allowviewprofile` = '1' WHERE `pre_common_usergroup_field`.`groupid` = 14;
  16. UPDATE `pre_common_usergroup_field` SET `allowviewprofile` = '1' WHERE `pre_common_usergroup_field`.`groupid` = 15;
  17. UPDATE `pre_common_usergroup_field` SET `allowviewprofile` = '1' WHERE `pre_common_usergroup_field`.`groupid` = 16;
  18. UPDATE `pre_common_usergroup_field` SET `allowviewprofile` = '1' WHERE `pre_common_usergroup_field`.`groupid` = 17;
  19. UPDATE `pre_common_usergroup_field` SET `allowviewprofile` = '1' WHERE `pre_common_usergroup_field`.`groupid` = 18;
  20. UPDATE `pre_common_usergroup_field` SET `allowviewprofile` = '1' WHERE `pre_common_usergroup_field`.`groupid` = 19;
复制代码


我要说一句 收起回复
一花一世界,一叶一追寻。一曲一场叹,一生为一人。

回复

 懒得打字嘛,点击右侧快捷回复【查看最新发布】   【应用商城享更多资源】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

图文热点
创宇盾启航版免费网站防御网站加速服务
投诉/建议联系

discuzaddons@vip.qq.com

未经授权禁止转载,复制和建立镜像,
如有违反,按照公告处理!!!
  • 联系QQ客服
  • 添加微信客服

联系DZ插件网微信客服|最近更新|Archiver|手机版|小黑屋|DZ插件网! ( 鄂ICP备20010621号-1 )|网站地图 知道创宇云防御

您的IP:18.191.192.109,GMT+8, 2024-11-21 20:04 , Processed in 0.317427 second(s), 82 queries , Gzip On, Redis On.

Powered by Discuz! X5.0 Licensed

© 2001-2024 Discuz! Team.

关灯 在本版发帖
扫一扫添加微信客服
QQ客服返回顶部
快速回复 返回顶部 返回列表