chris_blessing wrote: I'm getting a parse error with 2.0.8:
Parse error: parse error, unexpected '}' in D:\Websites\forums\includes\template.php(127) : eval()'d code on line 110
I checked it out a bit, but can't pinpoint the problem! I am guessing one of the {} vars isn't being parsed out properly or something. Any ideas? I'll continue to investigate.
JordyB wrote: This is the Parse error I get:
Parse error: parse error in /home/httpd/vhosts//httpdocs/viewtopic.php on line 667
Hope this helps if anyone wants to debug...
morpheus2matrix wrote:chris_blessing wrote:I'm getting a parse error with 2.0.8:
Parse error: parse error, unexpected '}' in D:\Websites\forums\includes\template.php(127) : eval()'d code on line 110
I checked it out a bit, but can't pinpoint the problem! I am guessing one of the {} vars isn't being parsed out properly or something. Any ideas? I'll continue to investigate.
Check your modifications in viewtopic_body.tpl
JordyB wrote: Only mod I have added is the quick reply...stock 2.0.8a viewtopic file, then veiwtopic with quickreply added in suggested spot.
Code: Select all
$quick_reply_img = ( $forum_topic_data['forum_status'] == FORUM_LOCKED || $forum_topic_data['topic_status'] == TOPIC_LOCKED ) ? $images['reply_locked'] : $images['quick_reply'];
Code: Select all
$quick_reply_alt = ( $forum_topic_data['forum_status'] == FORUM_LOCKED || $forum_topic_data['topic_status'] == TOPIC_LOCKED ) ? $lang['Topic_locked'] : $lang['Quick_Reply_To_Topic'];
Code: Select all
if ( $forum_topic_data['forum_status'] == FORUM_LOCKED || $forum_topic_data['topic_status'] == TOPIC_LOCKED )
{
$quick_reply_img = $images['reply_locked'];
} else {
$quick_reply_img = $images['quick_reply'];
}
// $quick_reply_img = ( $forum_topic_data['forum_status'] == FORUM_LOCKED || $forum_topic_data['topic_status'] == TOPIC_LOCKED ) ? $images['reply_locked'] : $images['quick_reply'];
Code: Select all
.
.