sources/subs.php
array(
'tag' => 'green',
'before' => '<span style="color: green;">',
'after' => '</span>',
),
array(
'tag' => 'videoyahoo',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => '<embed src="http://us.i1.yimg.com/cosmos.bcst.yahoo.com/player/media/swf/FLVVideoSolo.swf" flashVars="id=$1&emailUrl=http%3A%2F%2Fvideo.yahoo.com%2Futil%2Fmail%3Fei%3DUTF-8%26vid%3D952678%26fr%3D%26cache%3D1&imUrl=http%25253A%25252F%25252Fvideo.yahoo.com%25252Fvideo%25252Fplay%25253Fei%25253DUTF-8%252526vid%25253D952678%252526cache%25253D1&imTitle=The%252BTypewriter&searchUrl=http://video.yahoo.com/search/video?p=&profileUrl=http://video.yahoo.com/video/profile?yid=&creatorValue=$1" width="425" height="350" type="application/x-shockwave-flash" wmode="transparent"></embed>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
display.template.php ou post.template.php do teu tema
'ftp' => array('code' => 'ftp', 'before' => '[ftp=', 'after' => ']', 'after' => '[/ftp]', 'description' => $txt[434]),
array(),
'videoyahoo' => array('code' => 'videoyahoo', 'before' => '[videoyahoo=425,350]', 'after' => '[/videoyahoo]', 'description' => videoyahoo),
Mais informações ou duvidas colocar neste quadro