admin 发表于 2021-4-27 10:24:45

DZ X3.5优化支持论坛门户日志标题长度支持255字符单独补丁


优化 支持论坛、门户、日志标题长度自定义,放宽标题最长 80 个字节的限制到 255 字单独补丁:


第一步:
后台——站长——数据库——升级:
ALTER TABLE `pre_forum_collection` CHANGE `lastsubject` `lastsubject` VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '';
ALTER TABLE `pre_forum_forumrecommend` CHANGE `subject` `subject` CHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `pre_forum_post` CHANGE `subject` `subject` VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `pre_forum_rsscache` CHANGE `subject` `subject` CHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `pre_forum_thread` CHANGE `subject` `subject` CHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `pre_home_blog` CHANGE `subject` `subject` CHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '';
ALTER TABLE `pre_portal_rsscache` CHANGE `subject` `subject` CHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '';
INSERT INTO pre_common_setting VALUES ('maxsubjectsize','80');
INSERT INTO pre_common_setting VALUES ('minsubjectsize','1');


第二步:【仅支持X3.5最新版】
覆盖单独补丁:


页: [1]
查看完整版本: DZ X3.5优化支持论坛门户日志标题长度支持255字符单独补丁

创宇盾启航版免费网站防御网站加速服务