News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Resimleri Sağ veya Sola Dayamak Yardim

Started by gecitli, January 08, 2010, 09:22:57 AM

Previous topic - Next topic

gecitli

arkadaslar Asagida verdigim kodlari 2.0 RC2 ye uygulaya bilirmiyiz

subs.php
array(
'tag' => 'sagresim',
'before' => '<img style="margin-left: 1ex;" border="0" src="',
'after' => '" align="right">',
'block_level' => true,
),
array(
'tag' => 'solresim',
'before' => '<img style="margin-right: 1ex;" border="0" src="',
'after' => '" align="left">',
'block_level' => true,
),


Post.template
'sagimg' => array('code' => 'video', 'before' => '[sagresim]', 'after' => '[/sagresim]', 'description' => sagresim),
                  'solimg' => array('code' => 'video', 'before' => '[solresim]', 'after' => '[/solresim]', 'description' => solresim),

http://www.webtiryaki.com
webmaster forumu
Free & Premium Responsive Themes for SMF.

gecitli

Arkadaslar konu güncel yardim edsenizde su sorunu haletsek

saygilar
http://www.webtiryaki.com
webmaster forumu
Free & Premium Responsive Themes for SMF.

Yağız...

Subs.php değişikliğini aynı şekilde yapabilirsiniz. Post.template.php yerine ./Sources/Subs-Editor.php dosyasında bulun:
'description' => $txt['image']
),

Sonrasına ekleyin:
array(
'image' => 'sagimg',
'code' => 'video',
'before' => '[sagresim]',
'after' => '[/sagresim]',
'description' => 'sagresim'
),
array(
'image' => 'solimg',
'code' => 'video',
'before' => '[solresim]',
'after' => '[/solresim]',
'description' => 'solresim'
),


gecitli

Ilgin icin Tesekurler yanliz olmadi soyle cikiyor
http://www.nurpenceresi.com/resimler/550.jpg" align="left">

Saygilar
http://www.webtiryaki.com
webmaster forumu
Free & Premium Responsive Themes for SMF.

Yağız...

Subs.php dosyasını şu şekilde değiştirin:
array(
'tag' => 'sagresim',
'type' => 'unparsed_content',
'content' => '<img src="$1" alt="" style="margin-left: 1ex;" border="0" align="right" />',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
'disabled_content' => '($1)',
),
array(
'tag' => 'solresim',
'type' => 'unparsed_content',
'content' => '<img src="$1" alt="" style="margin-right: 1ex;" border="0" align="left" />',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
'disabled_content' => '($1)',
),

gecitli

http://www.webtiryaki.com
webmaster forumu
Free & Premium Responsive Themes for SMF.

Advertisement: