discuz

推荐列表 站点导航

当前位置:首页 > 建站教程 > discuz >

Discuz论坛页如何去掉最后发表

来源:网络整理  作者:网络  发布时间:2020-12-12 11:51
修改文件(此修改方式为默认模板) template/default/forum/forumdisplay_list.htm 查找 td class=by{lang lastpost}/td 约45行 修改为(不...

修改文件(此修改方式为默认模板)

<td class="by"></td>
<td class="by">{lang lastpost}</td>
约45行

<cite><!--{if $thread['lastposter']}-->
<em><a href=http://www.ym97.com/discuz/"{if $thread[digest] != -2 && !$thread[ordertype]}forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost$highlight#lastpost{else}forum.php?mod=viewthread&tid=$thread[tid]{if !$thread[ordertype]}&page={echo max(1, $thread[pages]);}{/if}{/if}">$thread[lastpost]</a></em>

搜索
查找

以下内容全部删除
保存,后台更新缓存。
template/default/forum/forumdisplay_list.htm

<cite><!--{if $thread['lastposter']}--><a href=http://www.ym97.com/discuz/"{if $thread[digest] != -2}home.php?mod=space&username=$thread[lastposterenc]{else}forum.php?mod=viewthread&tid=$thread[tid]&page={echo max(1, $thread[pages]);}{/if}" c="1">$thread[lastposter]</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>

修改为(不要全删,删除变量就行,不然会错位)

相关热词: discuz

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供用于网络技术学习参考,学习中请遵循相关法律法规!

本文地址: https://www.juheyunku.com/jz/discuz/2913.shtml

Copyright © www.juheyunku.com      关于 | 合作 | 声明 | 联系 | 更新 | 地图 | Tags

Discuz论坛页如何去掉最后发表

2020-12-12 编辑:网络

修改文件(此修改方式为默认模板)

<td class="by"></td>
<td class="by">{lang lastpost}</td>
约45行

<cite><!--{if $thread['lastposter']}-->
<em><a href=http://www.ym97.com/discuz/"{if $thread[digest] != -2 && !$thread[ordertype]}forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost$highlight#lastpost{else}forum.php?mod=viewthread&tid=$thread[tid]{if !$thread[ordertype]}&page={echo max(1, $thread[pages]);}{/if}{/if}">$thread[lastpost]</a></em>

搜索
查找

以下内容全部删除
保存,后台更新缓存。
template/default/forum/forumdisplay_list.htm

<cite><!--{if $thread['lastposter']}--><a href=http://www.ym97.com/discuz/"{if $thread[digest] != -2}home.php?mod=space&username=$thread[lastposterenc]{else}forum.php?mod=viewthread&tid=$thread[tid]&page={echo max(1, $thread[pages]);}{/if}" c="1">$thread[lastposter]</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>

修改为(不要全删,删除变量就行,不然会错位)

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供学习参考!
本文地址为 https://www.juheyunku.com/jz/discuz/2913.shtml

相关文章

风云图片

推荐阅读

返回discuz频道首页