Special_kak โพสต์ 2009-7-21 14:44:03

ปุ่มเพิ่มเข้า Twitter, Digg.com ทำให้มันแสดงโพสแรกโพสเดียว

แก้ไขล่าสุด Special_kak เมื่อ 2009-7-21 14:50

http://www.discuzthai.com/thread-10859-1-1.html

http://www.i7forums.com/attachments/month_0907/0907211427ad949938e18c8c0f.gif

ทั้ง 2 ตัวเป็น social Bookmark ชื่อดังใครไม่รู้จัก ก็เชิญให้รู้จักครับ
http://twitter.com/i7forums
http://digg.com/

ไฟล์ viewthread_node.htm อยู่ใน public_html/templates/default/viewthread_node.htm
หา{lang guest} <em id="authorposton$post">{lang poston} $post</em>
                                <!--{/if}-->วางโค้ดนี้ด้านล่าง <!--{if $post['first']}--> แสดงเฉพาะโพสแรก

สำหรับเปิด url rewrite<!--{if $post['first']}-->
                                                 | <a href="http://digg.com/submit?phase=2&url=http://www.xxxxxxxxxxxxxxx.com/read-htm-tid-$tid.html&title=$thread" target="_blank"><img align="absmiddle" src="images/common/digg.png" /></a><a href="http://twitter.com/home?status=$thread - http://www.xxxxxxxxxxxxxxx.com/thread-$tid-1-1.html" title="เพิ่มเข้า Twitter"  target="_blank"><img src="images/common/twitter.png" border="0" align="absmiddle" alt="เพิ่มเข้า Twitter"></a><!--{/if}-->สำหรับไม่ได้เปิด url rewrite<!--{if $post['first']}-->
                                               | <a href="http://digg.com/submit?phase=2&url=http://www.xxxxxxxxxxxxxxx.com/viewthread.php?tid=$thread&title=$thread" target="_blank"><img align="absmiddle" src="images/common/digg.png" /></a><a href="http://twitter.com/home?status=$thread - http://www.xxxxxxxxxxxxxxx.com/viewthread.php?tid=$thread" title="เพิ่มเข้า Twitter"target="_blank"><img src="images/common/twitter.png" border="0" align="absmiddle" alt="เพิ่มเข้า Twitter"></a><!--{/if}-->http://www.i7forums.com/images/common/digg.png
http://www.i7forums.com/images/common/twitter.png

ตัวอย่าง
http://www.i7forums.com/thread-127-1-1.html

buachompoox โพสต์ 2009-7-25 02:16:55

ขอบคุณครับ :)
หน้า: [1]
ดูในรูปแบบกติ: ปุ่มเพิ่มเข้า Twitter, Digg.com ทำให้มันแสดงโพสแรกโพสเดียว