Gönderen Konu: Google Modu  (Okunma sayısı 809 defa)

Çevrimdışı Hamza

  • Osc Kurucu
  • 1. SINIF ÜYE
  • ********
  • İleti: 161.842
  • Puan 13008
  • Cinsiyet: Bay
  • Dünyanın En Çok Mesaj Gönderen Üyesi :))
    • Profili Görüntüle
    • Hosting
Google Modu
« : 30 Haziran 2008, 01:58:24 »
source/Subs.php yi aç bul

Kod: [Seç]
array(
'tag' => 'green',
'before' => '<span style="color: green;">',
'after' => '</span>',
),

öncesine ekle

Kod: [Seç]
array(
'tag' => 'google_video',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => '<object width="$2" height="$3"><param name="movie" value="http://video.google.com/googleplayer.swf?docId=$1" ></param><embed src="http://video.google.com/googleplayer.swf?docId=$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>',
),

Post.template.php yi aç bul

Kod: [Seç]
'img' => array('code' => 'img', 'before' => '[img]', 'after' => '[/img]', 'description' => $txt[435]),
sonrasına ekle

Kod: [Seç]
'google_video' => array('code' => 'google_video', 'before' => '[google_video=425,350]', 'after' => '[/google_video]', 'description' => $txt['google_video']),
languages/Modifications.turkish.php yi aç bul

Kod: [Seç]
?>
öncesine ekle

Kod: [Seç]
$txt['google_video'] = 'Google Video';
ekteki resmide images/bbc dizine at

Ek Linki:http://www.smf.gen.tr/smf/index.php?action=dlattach;topic=167.0;attach=26