ขอคำแนะนำเรื่อง mod - Embed BBCode ของ SMF หน่อยค่ะ+1

เริ่มโดย thananit, 03 มกราคม 2015, 11:54:43

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

thananit

ใช้ smf 2.0.9 ต้องการให้ในกระทู้สามารถลงพวกคลิปวีดีโอ ที่เป็น <iframe>.....ได้ น่ะค่ะ เป็น embed คลิปหนังทั่วไป ไม่ใช่เฉพาะ youtube
จึงทดลองลง mod ตัวนี้ Embed BBCode (ลงแบบออโต้)  ไปตั้งค่ากระทู้ให้ใช้ html ได้
พอลงเสร็จ ทดลองใช้ <iframe>...... ในกระทู้ โดยเปิดปิด tag ด้วย [html]<iframe>...........</iframe>[/html]
แต่พอกด preview ดู จอวีดีโอไม่แสดงค่ะ แสดงเป็นพื้นที่ว่างๆ ไม่มีอะไรเลย ค่ะ
รบกวนขอคำแนะนำหน่อยค่ะ ว่าต้องแก้ไขอย่างไร หรือ ต้องลง mod แบบ manual หรือป่าวคะ
:wanwan044:

gd,lN

[html]code[/html]
ตามนี้ครับ

[direct=https://www.facebook.com/RukCom.in.th]เช่า Hosting ที่ไหนดี[/direct] [direct=https://goo.gl/XQp91t]Host ไทย[/direct][direct=https://goo.gl/Sushsj]ruk-com[/direct][direct=https://goo.gl/Hu3NsY]Hostatom[/direct][direct=https://twitter.com/siamlottery]บริการ ตรวจหวย[/direct]

thananit

อ้างถึงจาก: gd,lN ใน 03 มกราคม 2015, 12:20:21
[html]code[/html]
ตามนี้ครับ
ตามที่แจ้งไป ได้ใช้ code ตามนี้แล้ว ไม่แสดงน่ะค่ะ

SWOY

[direct=http://www.thaiseoboard.com/index.php/topic,331748.0.html]! ขายแล้ว SMF Lnw v.3 สคริปเว็บบอร์ดระบบจัดการครบครันราคาถูก[/direct]

รับติดตั้ง [direct=http://www.webcreation.in.th]ปรับแต่ง smf[/direct] ดูผลงานได้ตามลิงค์เลย
บริการรับทำเว็บบอร์ด SMF ปรับแต่งบอร์ด SMF

thananit

ขอบคุณทุกๆคำแนะนำนะคะ สรุปแก้ปัญหาได้แล้ว ต้องลง mod แบบ manual เท่านั้นน่ะค่ะ สำหรับ V.2.0.9 ใช้งานได้เรียบร้อยค่ะ อุตส่าหาืพยายามหาทางไม่ต้อง manual เหอะๆ
:P

thananit

ขอคำแนะนำจากกูรู SMF อีกครั้งนะคะ
สรุปใช้ได้เฉพาะ embed จาก youtube น่ะค่ะ ลอง embed จากเว็บอื่นๆมาใช้งานไม่ได้เลยค่ะ ไม่แสดงหน้าจอ
ขึ้นเป็น code เฉยๆ งง ไม่รู้จะแก้ยังไงเลยอ่ะค่ะ ตัวอย่าง embed ที่ไม่ทำงานค่ะ
[embed=425,349]<iframe src="http://video.postjung.com/iframe.php?id=5405" frameborder="0" scrolling="no" width="480" height="388" allowfullscreen="true"></iframe>[/embed]
:-X

gd,lN

อ้างถึงจาก: gd,lN ใน 04 มกราคม 2015, 22:33:49
ไม่ได้อีกก็ไม่รู้แล้วนะครับ
ทำตามนี้ครับ
ไปที่ไฟล์ Sources/Subs-Post.php
ค้นหา $htmlfunc = create_function('$m', 'return \'[html]\' . strtr(un_htmlspecialchars("$m[1]"), array("\n" => \'\', \'  \' => \'  \', \'[\' => \'[\', \']\' => \']\')) . \'[/html]\';');
แทนที่ด้วย
$htmlfunc = create_function('$m', 'return \'[html]\' . strtr(un_htmlspecialchars("$m[1]"), array("\n" => \'\', \'  \' => \'  \', \'[\' => \'[\', \']\' => \']\')) . \'[/html]\';');
น่าจะได้ครับ

[direct=https://www.facebook.com/RukCom.in.th]เช่า Hosting ที่ไหนดี[/direct] [direct=https://goo.gl/XQp91t]Host ไทย[/direct][direct=https://goo.gl/Sushsj]ruk-com[/direct][direct=https://goo.gl/Hu3NsY]Hostatom[/direct][direct=https://twitter.com/siamlottery]บริการ ตรวจหวย[/direct]

thananit


gd,lN

อ้างถึงจาก: thananit ใน 04 มกราคม 2015, 22:49:16
ขอบคุณมากๆค่ะ+1 ไปเรียบร้อย
:wanwan017:
ผลเป็นอย่างไร มาอัพเดทหน่อยนะครับ

[direct=https://www.facebook.com/RukCom.in.th]เช่า Hosting ที่ไหนดี[/direct] [direct=https://goo.gl/XQp91t]Host ไทย[/direct][direct=https://goo.gl/Sushsj]ruk-com[/direct][direct=https://goo.gl/Hu3NsY]Hostatom[/direct][direct=https://twitter.com/siamlottery]บริการ ตรวจหวย[/direct]

thananit

อ้างถึงจาก: gd,lN ใน 05 มกราคม 2015, 00:34:51
อ้างถึงจาก: thananit ใน 04 มกราคม 2015, 22:49:16
ขอบคุณมากๆค่ะ+1 ไปเรียบร้อย
:wanwan017:
ผลเป็นอย่างไร มาอัพเดทหน่อยนะครับ

โค๊ดที่ท่านแนะนำใช้งานได้แล้วค่ะ ขอบคุณมากๆเลยค่ะ
:wanwan017: