aşağıdaki dosyadakileri images klasorunde alinti adlı bir klasor oluşturup içine atın
sources klasorunde Subs.php yi açıyoruz
bu kodu bul
Kod:
Kod:
Kod:
sources klasorunde Subs.php yi açıyoruz
bu kodu bul
Kod:
- Kod:
// Parse bulletin board code in a string, as well as smileys optionally.
function parse_bbc($message, $smileys = true, $cache_id = '')
{
global $txt, $scripturl, $context, $modSettings, $user_info;
bununla değiştir
Kod:
// Parse bulletin board code in a string, as well as smileys optionally.
function parse_bbc($message, $smileys = true, $cache_id = '')
{
global $settings, $txt, $scripturl, $context, $modSettings, $user_info;
Kod:
- Kod:
array(
'tag' => 'quote',
'parameters' => array(
'author' => array('match' => '([^<>]{1,192}?)'),
'link' => array('match' => '(?:board=\d+;)?((?:topic|threadid)=[\dmsg#\./]{1,40}(?:;start=[\dmsg#\./]{1,40})?|action=profile;u=\d+)'),
'date' => array('match' => '(\d+)', 'validate' => 'timeformat'),
),
'before' => '<div class="quoteheader"><a href="' . $scripturl . '?{link}">' . $txt['smf239'] . ': {author} ' . $txt[176] . ' {date}</a></div><div class="quote">',
'after' => '</div>',
'block_level' => true,
),
Kod:
- Kod:
array(
'tag' => 'quote',
'parameters' => array(
'author' => array('match' => '([^<>]{1,192}?)'),
'link' => array('match' => '(?:board=\d+;)?((?:topic|threadid)=[\dmsg#\./]{1,40}(?:;start=[\dmsg#\./]{1,40})?|action=profile;u=\d+)'),
'date' => array('match' => '(\d+)', 'validate' => 'timeformat'),
),
'before' => '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="13"><img src="' . $settings['images_url'] . '/alinti/solu.gif" width="13" height="22" /></td><td width="13"><img src="' . $settings['images_url'] . '/alinti/solust.gif" width="13" height="22" /></td><td background="' . $settings['images_url'] . '/alinti/ortaust.gif" width="4%" align="left"><font style="font-size: 8pt">Alıntı:</font></td><td width="13"><img src="' . $settings['images_url'] . '/alinti/sagust.gif" /></td><td width="13"><img src="' . $settings['images_url'] . '/alinti/solust.gif" width="13" height="22" /></td><td background="' . $settings['images_url'] . '/alinti/ortaust.gif" align="left"><font style="font-size: 8pt"><a href="' . $scripturl . '?{link}"><b>{author}</b></a> tarafından gönderildi.</font></td><td width="13"><img src="' . $settings['images_url'] . '/alinti/sagust.gif" /></td><td background="' . $settings['images_url'] . '/alinti/ustduz.gif" width="50%"></td><td width="13"><img src="' . $settings['images_url'] . '/alinti/sagu.gif" width="13" height="22" /></td><tr><td width="13" background="' . $settings['images_url'] . '/alinti/sol.gif"></td><td bgcolor="#FFFFFF" colspan="7">',
'after' => '</td><td width="13" background="' . $settings['images_url'] . '/alinti/sag.gif"></td></tr><tr><td width="13"><img src="' . $settings['images_url'] . '/alinti/sola.gif" width="13" height="22" /></td><td background="' . $settings['images_url'] . '/alinti/altduz.gif" colspan="7"></td><td width="13"><img src="' . $settings['images_url'] . '/alinti/saga.gif" width="13" height="22" /></td></tr></table>
',
'block_level' => true,
),