ok.. it has something to do with this code here:
- Code: Select all
##-----[ FIND ]---------------------------------------------# There are two instances of similar code, only edit the second one(is under the bbencode_first_pass function).# Line 437 // [quote] and [/quote] for posting replies with quote, or just for quoting stuff. $text = bbencode_first_pass_pda($text, $uid, '[quote]', '[/quote]', '', false, ''); $text = bbencode_first_pass_pda($text, $uid, '/[quote=(".*?")]/is', '[/quote]', '', false, '', "[quote]"); // [quote] and [/quote] for posting replies with quote, or just for quoting stuff with an pre-defined post entry $text = bbencode_first_pass_pda($text, $uid, '/[quote=p=("[0-9]+")]/is', '[/quote]', '', false, '', "[quote]"); $text = bbencode_first_pass_pda($text, $uid, '/[quote=("[^"]*?");p=("[0-9]+")]/is', '[/quote]', '', false, '', "[quote]"); ##-----[ REPLACE WITH ]---------------------------------------------# // [quote] and [/quote] for posting replies with quote, or just for quoting stuff. $text = bbencode_first_pass_pda($text, $uid, '[quote]', '[/quote]', '', false, ''); // [quote] and [/quote] for posting replies with quote, or just for quoting stuff with an pre-defined post entry $text = bbencode_first_pass_pda($text, $uid, '/[quote=p=\\"([0-9]+)\\"]/is', '[/quote]', '', false, '', "[quote]"); $text = bbencode_first_pass_pda($text, $uid, '/[quote=\\"(.*?)\\";p=\\"([0-9]+)\\"]/is', '[/quote]', '', false, '', "[quote]"); $text = bbencode_first_pass_pda($text, $uid, '/[quote=\\"(.*?)\\"]/is', '[/quote]', '', false, '', "[quote]");
that's from the 19 update info.
I put it here] function bbencode_first_pass($text, $uid){ // pad it with a space so we can distinguish between FALSE and matching the 1st char (index 0). // This is important; bbencode_quote(), bbencode_list(), and bbencode_code() all depend on it. $text = " " . $text; // [code] and [/code] for posting code (HTML, PHP, C etc etc) in your posts. $text = bbencode_first_pass_pda($text, $uid, '[code]', '[/code]', '', true, ''); // PHP MOD //
- Code: Select all
<div><ol><li> and </li></ol></div>
for posting PHP code in your posts. $text = bbencode_first_pass_pda($text, $uid, '
- Code: Select all
<div><ol><li><span>', '</span></li></ol></div>
', '', true, ''); //
and
for posting replies with quote, or just for quoting stuff. $text = bbencode_first_pass_pda($text, $uid, '
', '
', '', false, ''); $text = bbencode_first_pass_pda($text, $uid, '/[quote=(".*?")]/is', '[/quote]', '', false, '', "
"); //
and
for posting replies with quote, or just for quoting stuff with an pre-defined post entry $text = bbencode_first_pass_pda($text, $uid, '/[quote=p=("[0-9]+")]/is', '
', '', false, '', "
"); $text = bbencode_first_pass_pda($text, $uid, '/[quote=("[^"]*?");p=("[0-9]+")]/is', '
', '', false, '', "[quote]"); [/code]
am I placing this in the right area? There was another place with similar code:
- Code: Select all
$text = bbencode_second_pass_php($text, $uid, $bbcode_tpl); // [quote] and [/quote] for posting replies with quote, or just for quoting stuff. $text = str_replace("[quote]", $bbcode_tpl['quote_open'], $text); $text = str_replace("[/quote]", $bbcode_tpl['quote_close'], $text);
But it specifically stated not to place it there, right?
Is there something wrong with the code?