阅读心情_GBK FOR DZ7.0
演示地址:http://bbs.bdrs.com.cn/thread-32543-1-1.html
咱就不设其它什么乱七八糟了。希望能帮到一些朋友。更希望更多的大侠们共享更多好插件出来。
1、把 upload 文件夹中的文件上传到您论坛的根目录。
2、数据库升级:(进入“论坛后台 -- 系统工具 -- 数据库升级 ” 执行下面语句)
- CREATE TABLE `cdb_wpolls` (
- `tid` int(10) NOT NULL default '0',
- `1` int(10) NOT NULL default '0',
- `2` int(10) NOT NULL default '0',
- `3` int(10) NOT NULL default '0',
- `4` int(10) NOT NULL default '0',
- `5` int(10) NOT NULL default '0',
- `6` int(10) NOT NULL default '0',
- `7` int(10) NOT NULL default '0',
- `8` int(10) NOT NULL default '0',
- PRIMARY KEY (`tid`)
- ) TYPE=MyISAM;
复制代码
3、模版修改:viewthread_node.htm
查找
- <!--{if $post['signature'] && ($bannedmessages & 4 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1)))}-->
复制代码
在其上面加入
- <!--{if $post['number']==1}--><div><script language="javascript" src="poll.php?tid=$tid&action=js"></script></div><!--{/if}-->
复制代码
4、提示一下,反向操作很简单,只要把 viewthread_node.htm 中加入的部分取消即可。
|
转载于:https://www.cnblogs.com/maxthon/archive/2009/05/21/1486669.html