มาเพี่มปุ่มนำเข้า 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
เป็นยังไงก่อขอ + เเล้วกัน *0*
น่าสน
คนแรกด้วย
อิอิ ขอบคุณมากครับ มีประโยชน์มากๆ เลย เนประโยชน์มากมายมหาศาลเลยครับ
หน้า:
[1]