22 พฤษภาคม 2555, 14:49:57
ยินดีต้อนรับผู้เยี่ยมชม
  • noavata
  • ยินดีต้อนรับคุณ, ผู้เยี่ยมชม กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน
    เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น
Page Rank

ทำเว็บไซต์ | แต่งบอร์ด | ออกแบบ | SMF | Joomla | Drupal | WordPress | JQuery | CMS | ECommerce | Tel. +668-08577477

ส่งหัวข้อนี้พิมพ์ หน้า: 1 
icon message ผู้เขียน หัวข้อ: เพิ่ม BBC wma, wmv, vdo, mthai  (อ่าน 1513 ครั้ง)
0 สมาชิก และ 1 ผู้เยี่ยมชม กำลังดูหัวข้อนี้
*
*


!Personal

Germany   ชาย ผู้เริ่มต้นกระทู้นี้ ออฟไลน์544566157 DexMore DexMore DexMore
เว็บไซต์
icon message
general เมื่อ: 22 มกราคม 2553, 14:45:15
  • ชื่อ: BBC WMV & VDO MThai tag
  • ผู้เขียน: --
  • นำเสนอโดย: DexMoreGroup
  • ประเภท: BBC
  • รอบรับ: SMF 1.1.xx, 2.0.xx
  • ปรับปรุงล่าสุด: 20 มิถุนายน 2553
  • ต้นฉบับ: --

รายละเอียด
      เพิ่ม BBC TAG ไว้สำหรับเล่นไฟล์ WMV, WMA, VDO MThai ในบอร์ด SMF

ตัวอย่าง


แก้ไขไฟล์:

file Sources/Subs.php

ค้นหา -->>
โค๊ด: [Select]
array(
'tag' => 'flash',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="$2" height="$3"><param name="movie" value="$1" /><param name="play" value="true" /><param name="loop" value="true" /><param name="quality" value="high" /><param name="AllowScriptAccess" value="never" /><embed src="$1" width="$2" height="$3" play="true" loop="true" quality="high" AllowScriptAccess="never" /><noembed><a href="$1" target="_blank">$1</a></noembed></object>' : '<embed type="application/x-shockwave-flash" src="$1" width="$2" height="$3" play="true" loop="true" quality="high" AllowScriptAccess="never" /><noembed><a href="$1" target="_blank">$1</a></noembed>'),
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),

เพิ่มไว้หลัง -->>
ขออภัย! ท่านไม่สามารถเข้าถึงข้อมูลส่วนนี้ได้ กรุณาอ่าน เงื่อนไขการใช้งาน DexMore.Com

file Themes/default/Post.template.php

ค้นหา -->>
โค๊ด: [Select]
'flash' => array('code' => 'flash', 'before' => '[flash=435,255]', 'after' => '[/flash]', 'description' => $txt[433]),

เพิ่มไว้หลัง -->>
โค๊ด: [Select]
'wmv' => array('code' => 'wma', 'before' => '[wma=400,400]', 'after' => '[/wma]', 'description' => $txt['wmv']),
'mthai' => array('code' => 'mthai', 'before' => '[mthai=370,330]', 'after' => '[/mthai]', 'description' => $txt['mthai']),

file Themes/default/languages/index.thai-utf8.php

เพิ่ม -->>
โค๊ด: [Select]
$txt['wmv'] = 'แทรก WMV';
$txt['mthai'] = 'แทรก VDO mthai';

ลิงค์หัวข้อ: http://dexmore.com/topic/109
Windows XP    Firefox 3.5.7   see ip บันทึกการเข้า
ดูรายการสิ่งของสำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  สำหรับติดหมุดกระทู้ของคุณ!  เพิ่มเวลาที่อยู่ในระบบอีก 12 ชั่วโมง  น้องหมี..เอาไว้กอดนอนแทนกิ๊ก  สำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  
ส่งหัวข้อนี้พิมพ์ หน้า: 1 
กระโดดไป:  

Creative Commons License

SMF Thai Translation Powered by SMF © 2006–2012, Simple Machines LLC

WordPress Google เข้าเยี่ยมชมหน้านี้ล่าสุดเมื่อ : 16 พฤษภาคม 2555, 18:59:23

jQuery Plugin Copyright © 2551-2555 Themes Design & Hosting by DexMoreGroup

Sitemap | Thai Simple Machines Forum support SMF Thai

Web Begining | SMF Modifications | SMF Thai Translation Web Begining

Drupal | WordPress | CMS Joomla | jQuery Plugin | Web Graphics CMS Joomla