ตอบกระทู้ 
 
คะแนนกระทู้:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
การแทรกวีดีโอจาก youtube.com ลงในข้อความ
Sun, 14 Sep 08, 08:47
Post: #10
RE: การแทรกวีดีโอจาก youtube.com ลงในข้อความ
ผมเอาในไฟล์ Install มาลงให้แล้วกันนะครับ เค้าบอกประมาณนี้ครับ

1 แก้โค้ดในไฟล์ functions.php (/inc/functions.php)
หาบรรทัดนี้ครับ [ "editor_title_close_tags", ]
หลังจากนั้นใส่โค้ด [ "editor_title_youtube", ]

2 แก้โค้ดในไฟล์ global.lang.php (/inc/languages/english/global.lang.php)
หาบรรทัดนี้ครับ [$l['editor_title_close_tags'] = "Close any open MyCode tags that you currently have open"; ]
หลังจากนั้นใส่โค้ด [$l['editor_title_youtube'] = "Add an in-line Youtube Video clip"; ]

3 แก้โค้ดในไฟล์ editor.js (/jscripts/editor.js)
หาบรรทัดนี้ครับ [ this.insertStandardButton(elements, "php", "images/codebuttons/php.gif", "php", "", this.options.lang.title_php); ]
หลังจากนั้นใส่โค้ด [ this.insertStandardButton(elements, "youtube", "images/codebuttons/youtube.gif", "youtube", "", this.options.lang.title_youtube); ]

4 upload ไฟล์ youtube.gif (ถ้าแตกไฟล์ TUBEV.rar มาจะมีให้แล้วนะครับ) เอาไปไว้ใน (/images/codebuttons/)

5 upload ไฟล์ youtube.php ไปไว้ใน (inc/plugins) อันนี้คุณทำไปแล้ว

6 active youtube plugin ใน Admin Controlpanel อันนี้คุณก็ทำไปแล้ว


ลองทำข้อ 1-4 ดูครับ น่าจะได้ปุ่ม มาใช้ง่ายๆครับ
ลองอ่านไฟล์ Installation.txt ดูครับ เผื่อผมพิมพ์ตกหล่น
ค้นหาข้อความทั้งหมดของสมาชิกท่านนี้
อ้างถึงข้อความนี้ในการตอบกระทู้
ตอบกระทู้ 


** ข้อแตกต่างระหว่างการตอบกระทู้โดยใช้กล่อง comment ของ Facebook กับกล่องตอบข้อความของทางเว็บ


ข้อความในกระทู้นี้
RE: การแทรกวีดีโอจาก youtube.com ลงในข้อความ - domino - Sun, 14 Sep 08 08:47

ไปยังหัวข้อ:


ผู้ที่กำลังดูกระทู้นี้: 1 ผู้เยี่ยมชม