仿X系列----首页板块显示最后回复帖子标题
如图:未修改的
[attach]500[/attach]
已修改的
[attach]501[/attach]
修改方法:打开discuz模版找到[code] <p>{lang forum_lastpost}:
<!--{if is_array($forum['lastpost'])}-->
<a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost" title="{echo cutstr($forum[lastpost][subject], 30)} {lang forum_lastpost_by} {if $forum['lastpost']['author']}$forum['lastpost']['authorusername']{else}{lang anonymous}{/if} ">$forum[lastpost][dateline]</a>
<!--{else}-->
{lang never}
<!--{/if}-->
</p>[/code]修改为:
**** Hidden Message *****
即可。 谢谢分享!正好需要
另外可不可以在出个教程帖教我怎样去掉1楼打印,字体大小,倒序看帖的,如图
[attach]502[/attach] 你先把向左移动的代码去掉,然后找[code].forumcontrol td {
padding: 10px;
}[/code]改成[code].forumcontrol td {
padding: 10px 0;
}[/code]就行了 [quote]他[她]看完这篇文章说:[img]http://icode.258club.com/attachments/month_1808/1808271111457003474607a108.gif[/img]赞[/quote] [quote]他[她]看完这篇文章说:[img]http://icode.258club.com/attachments/month_1808/1808271111457003474607a108.gif[/img]赞[/quote] 我脸有多黑,触发不了 发帖机遇 不知道我能不能用上这个效果,之前给了一段只显示版规的代码,同时隐藏了主题贴数 非常感谢楼主的无私分享 谢谢无界的分享{:5_281:} 楼主发帖辛苦了,谢谢楼主的分享! 谢谢分享 [quote]看帖回帖那是一定要的:[img]http://icode.258club.com/images/smilies/007/05.gif[/img]精彩至极,文章写的真棒,对我非常有帮助[/quote] 感谢分享 [quote]看帖回帖那是一定要的:[img]http://icode.258club.com/images/smilies/007/06.gif[/img]哇!你真有才![/quote]
页:
[1]