MyBB Community Forums

Full Version: parse error with template conditionals plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So I am using the template conditionals plugin to redo the look of boards on a forum and I've done it before, but I'm getting this error below. I'm not sure if itsthe php I'm using or what?

" Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home3/victusrp/public_html/punchcats/inc/functions_forumlist.php(446) : eval()'d code on line 2"

have you recently edited any forumbit (category) related template ?
you have to check any condition code / php code you have modified.
I did edit forumbit_depth1_cat but only to remove the titles like Forum, Threads, Posts, and Last Post columns
can you post 5 lines from the beginning of that template ..
This is all forumbit_depth1_cat

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead{$expthead}" colspan="5">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><div class="smalltext">{$forum['description']}</div></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">

{$sub_forums}
</tbody>
</table>
<br />
looks like some other forumbit template was modified or a plugin modifying forumbit is affecting.

if direct help required,
you may PM me temporary access to your forum admin panel to check it
I will send you details now! thank you!