tutaj ci napisałem listę zmian jaką by trzeba wykonać, sprawdź czy wszystkie zostało zrobione
Kod:
#
#---[ OPEN ]---
#
posting.php
#
#---[ FIND ]---
#
$message = '[quote="' . $quote_username . '"]' . $message . '[/quote]';
#
#---[ REPLACE WITH ]---
#
$message = '[cytat="' . $quote_username . '"]' . $message . '[/cytat]';
#
#---[ OPEN ]---
#
includes/bbcode.php
#
#---[ FIND ]---
#
// [quote] and [/quote] for posting replies with quote, or just for quoting stuff.
$text = str_replace("[quote:$uid]", $bbcode_tpl['quote_open'], $text);
$text = str_replace("[/quote:$uid]", $bbcode_tpl['quote_close'], $text);
#
#---[ REPLACE WITH ]---
#
// [quote] and [/quote] for posting replies with quote, or just for quoting stuff.
//[cytat]
$text = str_replace("[cytat:$uid]", $bbcode_tpl['quote_open'], $text);
$text = str_replace("[/cytat:$uid]", $bbcode_tpl['quote_close'], $text);
#
#---[ FIND ]---
#
$text = preg_replace("/\[quote:$uid=\"(.*?)\"\]/si", $bbcode_tpl['quote_username_open'], $text);
#
#---[ REPLACE WITH ]---
#
$text = preg_replace("/\[cytat:$uid=\"(.*?)\"\]/si", $bbcode_tpl['quote_username_open'], $text);
#
#---[ FIND ]---
#
$text = bbencode_first_pass_pda($text, $uid, '[quote]', '[/quote]', '', false, '');
$text = bbencode_first_pass_pda($text, $uid, '/\[quote=\\\\"(.*?)\\\\"\]/is', '[/quote]', '', false, '', "[quote:$uid=\\\"\\1\\\"]");
#
#---[ REPLACE WITH ]---
#
$text = bbencode_first_pass_pda($text, $uid, '[cytat]', '[/cytat]', '', false, '');
$text = bbencode_first_pass_pda($text, $uid, '/\[cytat=\\\\"(.*?)\\\\"\]/is', '[/cytat]', '', false, '', "[cytat:$uid=\\\"\\1\\\"]");
#
#---[ FIND ]---
#
if( preg_match('#\[quote=\\\"#si', $possible_start, $match) && !preg_match('#\[quote=\\\"(.*?)\\\"\]#si', $possible_start) )
#
#---[ REPLACE WITH ]---
#
if( preg_match('#\[cytat=\\\"#si', $possible_start, $match) && !preg_match('#\[cytat=\\\"(.*?)\\\"\]#si', $possible_start) )
#
#---[ FIND ]---
#
if (strpos(substr($text, $curr_pos + 14, $close_pos - ($curr_pos + 14)), '[quote') === false)
#
#---[ REPLACE WITH ]---
#
if (strpos(substr($text, $curr_pos + 14, $close_pos - ($curr_pos + 14)), '[cytat') === false)
#
#---[ OPEN ]---
#
templates/xxx/posting_body.tpl
#
#---[ FIND ]---
#
'[quote]','[/quote]'
#
#---[ REPLACE WITH ]---
#
'[cytat]','[/cytat]'
#
#---[ FIND ]---
#
value="Quote"
#
#---[ REPLACE WITH ]---
#
value="Cytat"
Autor postu otrzymał pochwałę
AIFM [1%] - kiedyś powstanie