阅读心情_GBK FOR DZ7.0

阅读心情_GBK FOR DZ7.0

Discuz!插件发布

插件名称 阅读心情
适用版本 Discuz!7.0
语言编码 GBK 
插件作者 不详
版权所属 原作者
支持网站 表达人生-论坛 - bbs.bdrs.com.cn
插件简介 增加会员阅帖乐趣。
演示地址:http://bbs.bdrs.com.cn/thread-32543-1-1.html

咱就不设其它什么乱七八糟了。希望能帮到一些朋友。更希望更多的大侠们共享更多好插件出来。



1、把 upload 文件夹中的文件上传到您论坛的根目录。

2、数据库升级:(进入“论坛后台 -- 系统工具 -- 数据库升级 ” 执行下面语句)
  1. CREATE TABLE `cdb_wpolls` (
  2.   `tid` int(10) NOT NULL default '0',
  3.   `1` int(10) NOT NULL default '0',
  4.   `2` int(10) NOT NULL default '0',
  5.   `3` int(10) NOT NULL default '0',
  6.   `4` int(10) NOT NULL default '0',
  7.   `5` int(10) NOT NULL default '0',
  8.   `6` int(10) NOT NULL default '0',
  9.   `7` int(10) NOT NULL default '0',
  10.   `8` int(10) NOT NULL default '0',
  11.   PRIMARY KEY  (`tid`)
  12. ) TYPE=MyISAM;
复制代码
3、模版修改:viewthread_node.htm

        查找
  1. <!--{if $post['signature'] && ($bannedmessages & 4 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1)))}-->
复制代码
在其上面加入
  1. <!--{if $post['number']==1}--><div><script language="javascript" src="poll.php?tid=$tid&action=js"></script></div><!--{/if}-->
复制代码
4、提示一下,反向操作很简单,只要把 viewthread_node.htm 中加入的部分取消即可。

你可能感兴趣的:(for)