DZ6.0中评分理由加长

1、修改misc.php(论坛根目录下)查找:
$sqlreason = cutstr(dhtmlspecialchars($sqlreason), 40);把其中的40改为240
将上面代码中的数字20改为你要限制的字符数,比如240。2、修改原有论坛数据库字段对评分理由字长的限制将下面代码中的数字20改为你要限制的字符数,比如240

然后在论坛后台->数据库升级:

ALTER TABLE cdb_ratelog CHANGE reason reason CHAR( 20 ) NOT NULL

ALTER TABLE cdb_ratelog CHANGE reason reason CHAR( 240 ) CHARACTER SET gbk COLLATE gbk_chinese_ci NOT NULL

Leave a Reply

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