红联Linux门户
Linux帮助

JFinalbbs v2.1版本更新

发布时间:2016-02-18 09:44:45来源:红联作者:baihuo
2016年2月17日 V2.1更新内容

增加私信

增加标签

pc,手机合并(页面自适应,手机查看的,可以点击体验:http://jfinalbbs.com/

界面美化,使用了bootstrap-material-design

编辑器升级2.0

其他页面布局优化

系统配置写入数据库

数据库更新

jfbbs_label 增加几个字段,对照doc/最新SQL.sql里的jfbbs_label表的建表语句增加上就好

jfbbs_notification 表结构及数据发生变化,执行下面sql脚本来更新

注意,执行下面MySQL脚本之前先备份数据库[code]ALTER TABLE `jfbbs_notification` ADD `action` VARCHAR(255) NULL DEFAULT NULL COMMENT '通知动作' AFTER `in_time`;
ALTER TABLE `jfbbs_notification` ADD `source` VARCHAR(32) NULL DEFAULT NULL COMMENT '通知来源' AFTER `action`;
ALTER TABLE `jfbbs_notification` CHANGE `tid` `target_id` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '目标id';
update jfbbs_notification set source = 'topic';
update jfbbs_notification set source = 'message' where message = '给你发了一条私信';
update jfbbs_notification set action = message;
update jfbbs_notification n set n.message = (select t.title from jfbbs_topic t where t.id = n.target_id) where n.source = 'topic';
update jfbbs_notification set target_id = concat(target_id, '#', rid) where rid is not null;
delete from jfbbs_notification where message = '';
ALTER TABLE `jfbbs_notification` DROP `rid`;[/code]软件详情:http://jfinalbbs.com/

下载地址:http://git.oschina.net/20110516/jfinalbbs

来自:开源中国社区
文章评论

共有 0 条评论