zoukankan      html  css  js  c++  java
  • 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个汉子差不多了

    在这里插入图片描述
    然后就是这模版默认的 列表

    在这里插入图片描述

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

    	<td class="num">   
    										 
    									
    										 
    										 <a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" class="xi2">$thread[allreplies]</a><span class="fenge">&frasl;</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深似海,嘻嘻~ 开发者申请还没通过~

  • 相关阅读:
    Spark小课堂Week3 FirstSparkApp(RDD开发)
    Catalyst揭秘 Day5 optimizer解析
    Spark小课堂Week2 Hello Streaming
    Spark小课堂Week1 Hello Spark
    Catalyst揭秘 Day4 analyzer解析
    Catalyst揭秘 Day3 sqlParser解析
    Catalyst揭秘 Day2 Catalyst源码初探
    Catalyst揭秘 Day1 Catalyst本地解析
    java泛型
    java中数组以及集合
  • 原文地址:https://www.cnblogs.com/yangqiangche/p/12441288.html
Copyright © 2011-2022 走看看