discuz论坛今日昨日发帖数0,正确处理方法分享!
<br /><br /><img title="01.jpg" id="aimg_1246" aid="1246" src1="static/image/common/none.gif" zoom="https://www.dismall.com/data/attachment/forum/201907/13/003502rbwybf3l26cl7959.jpg" src="https://www.dismall.com/data/attachment/forum/201907/13/003502rbwybf3l26cl7959.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br /><br />Discuz.net 时,最多人问如何删除红框内容?<br /><br />0帖不好看?<br /><br />但是,今日昨日发帖2数字,长期0帖对站长而言,有站点要不要改革或关闭作用;理应保留让站长看才好呢!<br /><br />解决办法:<br /><br />打开<br /><br />template/default/forum/discuz.htm<br /><br />查找40行<br /><br /><ol><li>{lang index_today}: <em>$todayposts</em><span class="pipe">|</span>{lang index_yesterday}: <em>$postdata</em><span class="pipe">|</span></ol><br /><br />替换为:<br /><br /><ol><li><!--{if in_array($_G, array(1, 2,3))}-->{lang index_today}: <em>$todayposts</em><span class="pipe">|</span>{lang index_yesterday}: <em>$postdata</em><span class="pipe">|</span><!--{/if}--></ol><br /><br />array(1,2,3) 是管理员、超级版主、版主不受限的用户组 id都看得到;如果只有管理员可见,只填1即可。<br /><br />修改好后,更新缓存。<br />今日<em>, </em>昨日<em>, </em>发帖<em>, </em>站长<em>, </em>discuz 楼主分享的都是干货,这个也可以用上 <img title="360截图20190721180927394.jpg" id="aimg_1654" aid="1654" src1="static/image/common/none.gif" zoom="https://www.dismall.com/data/attachment/forum/201907/21/180703bwvpvsfvwsvgwszr.jpg" src="https://www.dismall.com/data/attachment/forum/201907/21/180703bwvpvsfvwsvgwszr.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br /><br />你好,请问这个怎么解决,每天都是显示很多 实际只有几个帖子<br /> <br /><br />更新帖子统计<br /><br />还有问题<br /><br />安装问题求助 版块 开新帖问 挺好的 现在论坛就是还在热情坚持 有些数据不看也罢
頁:
[1]