Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[插件] 最新四格调用(最新话题/最新回复/热门话题/精华文章)+美化+作者[FOR 4.1]

[复制链接]
泡海椒 发表于 2006-3-14 15:24:55 | 显示全部楼层
占个位ing。。。。。
回复

使用道具 举报

醉心剑客 发表于 2006-3-15 23:10:27 | 显示全部楼层
能不能实现点击最新回复直接跳转到帖子的最后面啊?我记得以前的首页四格是这样的
回复

使用道具 举报

lizx 发表于 2006-3-16 21:25:43 | 显示全部楼层
比较喜欢这种格式,看着整齐舒服,楼上说的最新回复直接跳转,这个很方便,不知道楼主能不能提供一下呢。
强烈支持~  

看着就是舒服~ 帅气 ;P
回复

使用道具 举报

lizx 发表于 2006-3-16 23:24:54 | 显示全部楼层
问一个问题, 设置帖子作者名字长度那调整啊?  4个汉字的名字就会串到第2行显示,一行只能显示3个字。
回复

使用道具 举报

 楼主| 3q 发表于 2006-3-18 15:34:48 | 显示全部楼层
原帖由 醉心剑客 于 2006-3-15 23:10 发表
能不能实现点击最新回复直接跳转到帖子的最后面啊?我记得以前的首页四格是这样的



只要将最后一段代码中的:
  1. <td class="altbg1">
  2. <!--{loop $new_reply_threadlist $rthread}-->
  3. <table border=0 width='100%' cellspacing=2><tr><td height=12 width='78%'><FONT face=Wingdings>z</FONT>
  4. <a href="viewthread.php?tid=$rthread[tid]" $rthread['highlight'] title="最新回复 {LF}所在论坛: $rthread[forumname]{LF}主题标题: $rthread[subject]{LF}主题作者: $rthread[author]{LF}发表时间: $rthread[date]{LF}浏览次数: $rthread[views] 次{LF}回复次数: $rthread[replies] 次{LF}最后回复: $rthread[lastreplytime]{LF}{lang lastpost}: $rthread[lastposter]">$rthread[view_subject]</a></td><td> <a href="viewpro.php?username=$rthread[lastposter]" class="smalltxt">$rthread[view_lastposter]</a></td></tr></table>
  5. <!--{/loop}-->
  6. </td>
复制代码


改为:

  1. <td class="altbg1">
  2. <!--{loop $new_reply_threadlist $rthread}-->
  3. <table border=0 width='100%' cellspacing=2><tr><td height=12 width='78%'><FONT face=Wingdings>z</FONT>
  4. <a href="viewthread.php?tid=$rthread[tid]&goto=lastpost#lastpost" $rthread['highlight'] title="最新回复 {LF}所在论坛: $rthread[forumname]{LF}主题标题: $rthread[subject]{LF}主题作者: $rthread[author]{LF}发表时间: $rthread[date]{LF}浏览次数: $rthread[views] 次{LF}回复次数: $rthread[replies] 次{LF}最后回复: $rthread[lastreplytime]{LF}{lang lastpost}: $rthread[lastposter]">$rthread[view_subject]</a></td><td> <a href="viewpro.php?username=$rthread[lastposter]" class="smalltxt">$rthread[view_lastposter]</a></td></tr></table>
  5. <!--{/loop}-->
  6. </td>
复制代码
回复

使用道具 举报

kk77 发表于 2006-3-18 15:44:56 | 显示全部楼层
支持下!
回复

使用道具 举报

netscope 发表于 2006-3-18 19:19:28 | 显示全部楼层
纯支持
回复

使用道具 举报

996688 发表于 2006-3-19 00:06:41 | 显示全部楼层
. 修改 index.htm:

查找:


CODE:[Copy to clipboard]<!--{loop $forumlist $key $forum}-->
        <!--{if $forum['type'] == 'group' && $forumlist[($key + 1)]['type'] == 'forum'}-->
在上面添加:


CODE:[Copy to clipboard]

index.htm 这个文件在那里?

在那里????????????????
回复

使用道具 举报

龙种子 发表于 2006-3-19 03:49:29 | 显示全部楼层
模板文件里面啊。
回复

使用道具 举报

liwepo 发表于 2006-3-19 21:28:34 | 显示全部楼层
我以前装过三条的怎么改呢??????
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-5-6 20:27 , Processed in 0.100177 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表