ceyLin
25 November 2008, 10:51
Subs.php Dosyasında bunu bulun
array(
'tag' => 'green',
'before' => '<span style="color: green;">',
'after' => '</span>',
),
Sonrasına sunu ekle :
array(
'tag' => 'youtube',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => '<object width="$2" height="$3"><param name="movie" value="http://www.youtube.com/v/$1" ></param><embed src="http://www.youtube.com/v/$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\';
$pattern = \'/http:\/\/.+v=(.+)(&.+)*/i\';
if (preg_match($pattern, $data[0], $matches))
$data[0] = $matches[1];'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
Post.template.php sunu bul
'flash' => array('code' => 'flash', 'before' => '', 'after' => '', 'description' => $txt[433]),
Öncesine sunu ekle :
'youtube' => array('code' => 'youtube', 'before' => '', 'after' => '', 'description' => $txt['youtube']),
Modifications.turkish.php Bunu bul :
?>
Öncesine ekle :
$txt['youtube'] = 'YouTube';
Son oLarak youtube logosu bulun ve onu temanız=> images=>bbc klasörüne Atın..
array(
'tag' => 'green',
'before' => '<span style="color: green;">',
'after' => '</span>',
),
Sonrasına sunu ekle :
array(
'tag' => 'youtube',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => '<object width="$2" height="$3"><param name="movie" value="http://www.youtube.com/v/$1" ></param><embed src="http://www.youtube.com/v/$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\';
$pattern = \'/http:\/\/.+v=(.+)(&.+)*/i\';
if (preg_match($pattern, $data[0], $matches))
$data[0] = $matches[1];'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
Post.template.php sunu bul
'flash' => array('code' => 'flash', 'before' => '', 'after' => '', 'description' => $txt[433]),
Öncesine sunu ekle :
'youtube' => array('code' => 'youtube', 'before' => '', 'after' => '', 'description' => $txt['youtube']),
Modifications.turkish.php Bunu bul :
?>
Öncesine ekle :
$txt['youtube'] = 'YouTube';
Son oLarak youtube logosu bulun ve onu temanız=> images=>bbc klasörüne Atın..