免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
返回列表 發帖

[版型教學] 贴内发言美化 [推荐版] For SCLUB

2.png
2013-4-26 19:20


打开:viewthread_node.htm文件
第一步,查找
  1. <div class="postmessage <!--{if $post['first']}-->firstpost<!--{/if}-->">
複製代碼
下面加:
本帖隱藏的內容需要回復才可以瀏覽


第二步,继续查找,并删除
  1. <!--{if $post['first']}-->
  2. <div id="threadtitle">
  3. <!--{if $thread['readperm']}--><em>{lang readperm_thread} $thread[readperm]</em><!--{/if}-->
  4. <h1>$thread[subject]</h1>
  5. <!--{if $thread[tags] || $relatedkeywords}-->
  6. <div class="threadtags">
  7. <!--{if $thread['tags']}-->$thread[tags]<!--{/if}-->
  8. <!--{if $relatedkeywords}--><span class="postkeywords">$relatedkeywords</span><!--{/if}-->
  9. </div>
  10. <!--{/if}-->
  11. </div>
  12. <!--{elseif $post['subject']}-->
  13. <h2>$post[subject]</h2>
  14. <!--{/if}-->
複製代碼
第三步,继续查找
  1. <table cellspacing="0" cellpadding="0"><tr><td class="t_msgfont" id="postmessage_$post[pid]">$post[message]</td></tr></table>
複製代碼
替换为:
  1. <h1 class="ititle">$thread[subject]</h1>
  2. ... <!--{if $thread['special'] != 3 || $thread['price'] >= 0 || $thread['dateline'] + 1 != $post['dbdateline'] || $post['first']}-->{lang poston} $post[dateline] <!--{/if}--> ... $thread[views] 次点击 </span></span><br /><br />

  3. <div id="message1" class="t_msgfont">
  4. $post[message]
  5. </div>
  6. </span>
複製代碼
第四步,继续找
  1. <!--{else}-->
  2.         <div id="post_rate_div_$post[pid]"></div>
  3. <!--{/if}-->
  4. <!--{/if}-->
  5. <!--{if $post['first']}-->
複製代碼
在上面加:

本帖隱藏的內容需要回復才可以瀏覽


演示地址:http://kc.feiclub.net/discuz
3

評分人數

沙发,回帖学习。

TOP

看看什么效果。

TOP

谢谢分享

TOP

收藏先囉
   請各位多多支持,謝謝ww

TOP

谢谢分享!
欢迎来我Q群玩耍,群号159218504,群号没有错哦

TOP

支持B大的代码!
章鱼之家代码站
 
 
 
 
 

TOP

效果很不错的样子啊,谢谢分享。

TOP

好东西!!!!

TOP

好文章!!!!

TOP

返回列表