While I am no php guru I have a feeling, in my case, the issue is related to having the "Postnotices to groups" mod (http://www.phpbb.com/community/viewtopi ... 35&start=0) installed.primehalo wrote:Nope, still have no ideas about that.
Code: Select all
// Transform special BBCode characters into human-readable characters
$transform = array('<' => '<', '>' => '>', '[' => '[', ']' => ']', '.' => '.', ':' => ':');
$text = str_replace(array_keys($transform), array_values($transform), $text);
Code: Select all
// Transform special BBCode characters into human-readable characters
$transform = array('<' => '<', '>' => '>', '[' => '[', ']' => ']', '.' => '.', ':' => ':');
$text = str_replace(array_keys($transform), array_values($transform), $text);
Code: Select all
// Transform special HTML codes into human-readable characters
$transform1 = array('<br />' => '\r\n<', '<strong>' => '', '</strong>' => '');
$text = str_replace(array_keys($transform1), array_values($transform1), $text);
Code: Select all
$replace = '[spoiler](' . $user->lang['NA'] . ')[/spoiler]';
Code: Select all
$replace = '[spoiler](n/a)[/spoiler]';
Here is what I do know;primehalo wrote:I have never been able to replicate it, and I have been over the code many times and have not been able to find any flaws with it, thus making it nearly impossible for me to find and fix the problem. What I need is more information; what does everyone's boards have in common that is causing this issue? Or even if someone who knows PHP could just add debug statements that output to a log file in order to discover when in the code that the variable is becoming blanked out.