SQL语句开启Discuz论坛media

为Discuz论坛各版快开启media代码的SQL语句:

UPDATE `cdb_forums` SET `allowmediacode` = '1'

为Discuz论坛各版块关闭media代码的SQL语句:

UPDATE `cdb_forums` SET `allowmediacode` = '0'

如何执行SQL语句:

首先登录discuz后台, 然好到 工具 > 数据库 > 升级
输入SQL语句然后提交。如图:

执行SQL语句

Leave a Reply

Your email address will not be published. Required fields are marked *