网站首页   进入论坛     官方下载     使用教程     免费用户     付费用户     Bug报告     购买授权     捐助我们  
论坛帖子内容              Thread Content
给DiY-Page3.5.4加入看帖增加浏览数
作者 wenshuang   查看 927   发表时间 2007/2/21 15:59  【论坛浏览】
1、找到hpmain/template/hpindex-default.tpl.htm.threadcontent.htm(其中的default根据您目前使用的模板而变)
在最后加入

  代码  [Copy]:

2、打开hpmain/module/dbcmd_dz5.php(其中的dz5根据您目前使用的论坛程序而变)
找到

  代码  [Copy]:
$this->tplc->set_var('contentfontsize',$contentfontsize);

在下面加入

  代码  [Copy]:
$this->tplc->set_var('tid',$tid);

3、将本帖附件中的addview.php上传到DIYPAGE根目录(与hpindex.php同一目录)

4、到后台删除所有缓存文件,再点“立即更新”

附件: 
addview.rar

2007/2/21 16:59, 470 B, 下载次数: 97

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