Not Solved Error in Thread Viewer mod
#1
Not Solved
I became PHP error after mod activating Thread Viewer
Parse error: parse error, unexpected T_VARIABLE, expecting '}' in z:\home\ppp.ru\www\forums\showthread.php(824) : eval()'d code on line 1

Warning: Cannot modify header information - headers already sent by (output started at z:\home\ppp.ru\www\forums\showthread.php(824) : eval()'d code:1) in z:\home\ppp.ru\www\forums\inc\functions.php on line 78
Can somebody help?
Reply
#2
Not Solved
Can somebody help?

In showthread.php this place is

// Build thread moderation dropdown
		if(!empty($customthreadtools))
		{
			eval("\$customthreadtools = \"".$templates->get("showthread_moderationoptions_custom")."\";");
		}
		eval("\$moderationoptions = \"".$templates->get("showthread_moderationoptions")."\";");
	}
	$lang->newthread_in = sprintf($lang->newthread_in, $forum['name']);
	eval("\$showthread = \"".$templates->get("showthread")."\";");
	$plugins->run_hooks("showthread_end");
	output_page($showthread);
}

in inc/functions 78 line is:

header("Content-type: text/html; charset={$lang->settings['charset']}");

Mod Thread viewer is here
Reply
#3
Not Solved
Bump.
Reply
#4
Not Solved
Please don't bump threads before 24 hours have passed.
[Image: destroyerjf8.jpg]

Give us your feedback about MyBB in this thread and become listed on the MyBB website.
Reply
#5
Not Solved
http://mods.mybboard.net/forum/showthrea...49#pid4849

I've peplaced the code in Template - Showthread so:

Find:
{$similarthreads$viewer}

Replace with:

{$similarthreads} {$viewer}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)