文章内容              Thread Content
 首页  >> DiY-Page程序开发  >> 程序开发讨论
给DiY-Page3.5.4加入看帖增加浏览数
作者 wenshuang   查看 823   发表时间 2007/2/21 15:59  【论坛浏览】
1、找到hpmain/template/hpindex-default.tpl.htm.threadcontent.htm(其中的default根据您目前使用的模板而变)jhed
在最后加入jhed
jhed
  代码:
jhed
2、打开hpmain/module/dbcmd_dz5.php(其中的dz5根据您目前使用的论坛程序而变)jhed
找到jhed
jhed
  代码:
$this->tplc->set_var('contentfontsize',$contentfontsize);
jhed
在下面加入jhed
jhed
  代码:
$this->tplc->set_var('tid',$tid);
jhed
3、将本帖附件中的addview.php上传到DIYPAGE根目录(与hpindex.php同一目录)jhed
jhed
4、到后台删除所有缓存文件,再点“立即更新”jhed
jhed
附件: jhed
addview.rar
jhed
2007/2/21 16:59, 470 B, 下载次数: 88jhed

序号 评论者 共有评论 1   【论坛浏览】  【发表评论】 评论时间
1 acexeon 测试成功```````````
网站看签名
2007/2/21 17:00
 共有评论数 1  每页显示 10
页码 1/1  |<  <<   1   >>  >| 
Powered by DiY-Page 5.1.3 © 2005-2008