discuz如何修改主题列表页增加最后发表用户调用

首页有点问题,我觉得摘要实在太长了,我调整了一下



<!--{if is_array($group['lastpost'])}-->
<a href="forum.php?mod=redirect&tid=$group[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($group[lastpost][subject], 30)}--></a> <cite>$group[lastpost][dateline] <!--{if $group['lastpost']['author']}--><a href="home.php?mod=space&username={$group[lastpost][encode_author]}">{$group[lastpost][author]}</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
<!--{else}-->

  



[subject], 30) 这里 我改成了12。 6个汉子差不多了


![在这里插入图片描述](https://img-blog.csdnimg.cn/20200208171601197.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2R1amlhbmdkdTEyMw==,size_16,color_FFFFFF,t_70)
然后就是这模版默认的 列表


![在这里插入图片描述](https://img-blog.csdnimg.cn/20200208171644516.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2R1amlhbmdkdTEyMw==,size_16,color_FFFFFF,t_70)

这是添加后的 用了我最爱的原谅色~~~~ good boy~

<td class="num"> 



<a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" class="xi2">$thread[allreplies]</a><span class="fenge">⁄</span><span><!--{if $thread['isgroup'] != 1}-->$thread[views]<!--{else}-->{$groupnames[$thread[tid]][views]}<!--{/if}--></span></td>
<td class="byy">
<em style=" font-size:14px;">
<!--{if $thread['lastposter']}--><a style="
color: #038816;
" href="{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}--> </br>
</em>
<em style=" font-size:14px;">






<span{if $thread['istoday']} class="xi1"{/if}>$thread[dateline]</span></em>
</td>

  


这是添加的代码 供参考~


最近加入DZ大军了,感觉DZ还是很有前途啦,最近用了很多市面流行DZ的模板和插件,发现bug一个比一个多,只有购买了作者的才没有bug或者极少,就算有也有作者解决,另外就是现在DZ以前的应用中心已经换成dismall的了。

话说此去一入DZ深似海,嘻嘻~ 开发者申请还没通过~

代码下载地址https://bbs.youyacao.com/thread-230-1-1.html

原文地址:https://www.cnblogs.com/yangqiangche/p/12284278.html