- ชื่อ: VDO Clipm@ss BBC
- ผู้เขียน: civil1779
- นำเสนอโดย: DexMoreGroup
- ประเภท: BBC
- รองรับ: SMF 1.1.xx, 2.0.xx
- ปรับปรุงล่าสุด: 20 มิถุนายน 2553
รายละเอียด วิธีการแสดงคลิปวีดีโอจากเว็บ Clipm@ss
แก้ไขไฟล์:file Sources/Subs.php
ค้นหา -->>
array(
'tag' => 'hr',
'type' => 'closed',
'content' => '<hr style="clear: both;" />',
'block_level' => true,
),
เพิ่มไว้หลัง -->>
// Develop by www.cpeclub.com
array(
'tag' => 'clipmass',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => '<object width="$2" height="$3"><param name="vkey" value="http://www.clipmass.com/player/cm88.swf?config=http://www.clipmass.com/watch/vconfig_embed.php?vkey=$1" ></param><embed src="http://www.clipmass.com/player/cm88.swf?config=http://www.clipmass.com/watch/vconfig_embed.php?vkey=$1" type="application/x-shockwave-flash" width="$2" height="$3"></embed></object>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
// Powered by www.civilclub.net
file Post.template.php
ค้นหา -->>
'flash' => array('code' => 'flash', 'before' => '[flash=200,200]', 'after' => '[/flash]', 'description' => $txt[433]),
เพิ่มไว้หลัง -->>
'clipmass' => array('code' => 'clipmass', 'before' => '[center][clipmass=425,355]\'+prompt(\'\', \'ใส่ ID ของไฟล์ VDO\')+\'', 'after' => '[/clipmass][/center]', 'description' =>'แสดงคลิป VDO ClipMass'),
นำภาพ clipmass.gif

หรือภาพอื่นๆ แต่ต้องตั้งชื่อเป็น clipmass.gif ไว้ที่ Themes/default (หรือธีมที่ใช้งาน) /images/bbc/clipmass.gif เป็นอันเสร็จสิ้นกระบวนความครับ
วิธีการใช้งานก็คล้ายๆกับ การแสดงคลิปจาก Youtube ครับ เช่นต้องการแสดงคลิปนี้
http://www.clipmass.com/movie/ปลาดุกยักษ์_ทุบสถิติโลกที่แม่น้ำแม่กลอง---35155628147670
ก็เอามาเฉพาะ 35155628147670 มาใส่ครับ
ลิงค์หัวข้อ:
http://dexmore.com/topic/359