souliyo โพสต์ 2010-1-27 16:04:27

มาเพี่มปุ่มนำเข้า twitter For 7.1 7.2

แก้ไขล่าสุดโดย theerawut เมื่อ 2010-1-29 21:57

คืผมดัดเเปงมาจากกะทู้นี้อะครับเเต่ไม่เวิกสักเท่าไรhttp://www.discuzthai.com/viewthread.php?tid=10859&highlight=twitter
เลยดัดเเปงหนีดหน่อยมาดูกันเลีย
ตัวอย่าง


เปิดไฟล์ templates/skinที่ใช้/viewthread_node.htm
หลืบาง templates ไม่มีก่อเปีดที่ templates/default/viewthread_node.htm
เเล้วค้นหา
<!--{if !$post['first']}-->
                                                <a href="javascript:;" onclick="scrollTo(0,0);">TOP</a>
                  <!--{/if}-->เเล้วก่อเพี่มนี้ใส่ข้างล้างนะครับ<a href="http://twitter.com/home?status=$thread http://deklao.cz.cc/viewthread.php?tid=$nthread$tid" target="_blank" ><img src="http://yoursitename/images/twitter.png">Twitter</a>ตัวอย่างจะได้ยังงี้ครับ<!--{if !$post['first']}-->
                                                <a href="javascript:;" onclick="scrollTo(0,0);">TOP</a>
                  <!--{/if}-->
                  <a href="http://twitter.com/home?status=$thread http://deklao.cz.cc/viewthread.php?tid=$nthread$tid" target="_blank" ><img src="http://deklao.cz.cc/images/twitter.png">Twitter</a>หลืจะดาวโหลดไปเเก้ไขก่อได้ครับ
หากท่านใดดาวโหลดไปเเก้ไขก่อทำตามข้างล้างนี้อะครับ
ดาวโหลดเเล้วเเตกไฟลเเล้วเเล้วไปที่ templates/default/viewthread_node.htm
เปีดขิ้นมาค้นหาเเล้วเเก้ไขชื่เว็บของท่านครับผมทำเป็นสีเเดงไว้นะครับ<a href="http://twitter.com/home?status=$thread http://yoursitename/viewthread.php?tid=$nthread$tid" target="_blank" ><img src="http://yoursitename/images/twitter.png">Twitter</a>หลังจากนั้นก่ออับโหลดไปตามตำเเหน่ง
เเล้วทำกานUpdate Cache / Refresh
ก่อเป็นอันสำเลัด
ดาวโหลดที่นี้มีทัง 7.1 7.2



เป็นยังไงก่อขอ + เเล้วกัน

arezapper โพสต์ 2010-1-27 17:15:35

*0*
น่าสน
คนแรกด้วย
อิอิ

akito โพสต์ 2010-7-13 11:32:12

ขอบคุณมากครับ มีประโยชน์มากๆ เลย

rimbuang โพสต์ 2011-1-26 04:11:12

เนประโยชน์มากมายมหาศาลเลยครับ
หน้า: [1]
ดูในรูปแบบกติ: มาเพี่มปุ่มนำเข้า twitter For 7.1 7.2