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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

我的首页版块里的主题和用户名显示

[复制链接]
baetgicfg 发表于 2008-9-14 13:51:37 | 显示全部楼层 |阅读模式
我显示的主题和用户名不全啊,
有没有什么办法改长点,
作者也是,只显示两个字,后面的名字出不来。
我用的是三番的风格。有高手吗,有的说下
<h2><a href="forumdisplay.php?fid=$forum[fid]" title="<!--{if $forum[description]}-->简介:{LF}<p>$forum[description]</p><!--{/if}-->">$forum[name]</a>           
          <a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost" title="发布时间: $forum[lastpost][dateline]{LF}完整标题: $forum[lastpost][subject]" >&#187;<font color="#1266CE">{echo cutstr($forum[lastpost][subject], 12)}</font></a></h2>  

谁知道怎么改,说下,万分感谢

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
 楼主| baetgicfg 发表于 2008-9-15 22:27:23 | 显示全部楼层
<td class="lastpost">
<div style="margin-left:5px;">主题:
<!--{if $forum['lastpost']['author']}-->
<a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost" $nthread['highlight'] title="发布时间: $forum[lastpost][dateline]{LF}完整标题: $forum[lastpost][subject]" ><font color="#1266CE">{echo cutstr($forum[lastpost][subject], 12)}</font></a><!--{else}-->从未<!--{/if}--></div>
<div class="lastposter" style="height:50px;line-height:normal;margin-top:0px;">
<div style="margin-left:5px;">
<!--{if $forum['lastpost']['author']}--> $forum['lastpost']['author']
<!--{else}-->{lang anonymous}<!--{/if}--></div>
                </div>
          <div class="time" style="line-height:18px;float:left">   &#187;  $forum[lastpost][dateline]<a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost"><img border="0" src="{IMGDIR}/lastpost.gif" /></a></div>
</div>
</td>
</tr>
  </tbody>
     <!--{/loop}-->
              <!--{else}-->
                   <!--{loop $cat['forums'] $forumid}-->
                <!--{eval $forum=$forumlist[$forumid];}-->
             <!--{if $forum['orderid'] && ($forum['orderid'] % $cat['forumcolumns'] == 0)}-->
          <!--{if $forum['orderid'] < $cat['forumscount']}-->
             <tr>
            <!--{/if}-->      
              <!--{/if}-->
              <th width="$cat[forumcolwidth]"{$forum[folder]}>
        <!--Area logo-->        
            <!--{if $forum['icon']}-->
          $forum[icon]
          <!--{/if}-->                     
          <div style="float:left;">
          <!--Area Content-->
<h2><a href="forumdisplay.php?fid=$forum[fid]" title="<!--{if $forum[description]}-->简介:{LF}<p>$forum[description]</p><!--{/if}-->">$forum[name]</a>           
          <a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost" title="发布时间: $forum[lastpost][dateline]{LF}完整标题: $forum[lastpost][subject]" >&#187;<font color="#1266CE">{echo cutstr($forum[lastpost][subject], 12)}</font></a></h2>  
  <!--{if $forum['subforums']}-->
<div id="zb" class="zbmenu" onmouseover="showMenu(this.id)"><h2>{lang forum_subforums}</h2></a></div>
<ul class="popupmenu_popup headermenu_popup" id="zb_menu" style="display: none">
<p>{lang forum_subforums}:<br />$forum['subforums']</p>
</ul>
<!--{/if}-->
          <div class="lastposter" style="vertical-align:middle;float:left">
<!--{if $forum['lastpost']['author']}--> $forum['lastpost']['author']
<!--{else}-->{lang anonymous}<!--{/if}-->
                </div>
          <div class="time" style="line-height:18px;float:left">&#187;    $forum[lastpost][dateline]<a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost"><img border="0" src="{IMGDIR}/lastpost.gif" /></a></div>
<div class="miniarea" style="clear:both;"><img src="{IMGDIR}/topic.gif"alt="主题贴数" /> $forum[threads] <img src="{IMGDIR}/post.gif"alt="发贴总数" /> $forum[posts]<img src="{IMGDIR}/today.gif"alt="今日发贴数" /><b><font color="#FF0066">$forum[todayposts]</font></b></div><!--{/loop}-->$cat['endrows']<!--{/if}-->
        </td></tr></tbody></table>
    </div>
    <!--{/if}-->
   <!--{/loop}-->

这个是全代码,有高手知道吧,把作者名字比如上面的石头,加长点,因为我现在论坛,只显示两个字,他名字本来有三个字的 有高手吗
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-14 20:54 , Processed in 0.300137 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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