首页 > CMS建站 > Discuz > 正文

discuz x论坛XShow首页N格最新回复实现静态化的方法

2020-10-12 20:09:02
字体:
来源:转载
供稿:网友

找到XShow 首页N格所安装的路径

source/plugin/kk_xshow/template/

里面有两个文件需要修改,一个是xshow.htm 一个是xshow_tab.htm,用记事本打开这两个文件,查找forum.php?mod=redirect&tid=$thread['tid']&goto=lastpost#lastpost

替换为thread-$thread['tid']-1-1.html,这么简单就搞定

discuz 2x论坛首页论坛栏目最新回复实现静态化的方法,也就是上图所示的最新回帖的静态化方法,找到论坛模板路径template/default/forum/discuz.htm

同样利用记事本打开discuz.htm 查找forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost

替换为thread-$forum[lastpost][tid]-1-1.html

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表