I have one category that contains more categories (sub-categories), and I'm trying to remove the "Forum, Last Post, Threads, Posts" row.
I've tried editing the plugins to eclude that category, but it doesn't seem to work. :\
Here's what I did:
PHP Code:
$vbulletin->templatecache['FORUMHOME'] = preg_replace('/(<!-- main -->\s*?<table class=\\\"tborder\\\" cellpadding=\\\"\$stylevar\[cellpadding\]\\\" cellspacing=\\\"\$stylevar\[cellspacing\]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\s*?<thead>)/', '\\1', $vbulletin->templatecache['FORUMHOME']);
$vbulletin->templatecache['FORUMHOME'] = preg_replace('/<tr align=\\\"center\\\">\s*?<td class=\\\"thead\\\"> <\/td>\s*?<td class=\\\"thead\\\" width=\\\"100%\\\" align=\\\"\$stylevar\[left\]\\\">\$vbphrase\[forum\]<\/td>\s*?<td class=\\\"thead\\\">\$vbphrase\[last_post\]<\/td>\s*?<td class=\\\"thead\\\">\$vbphrase\[threads\]<\/td>\s*?<td class=\\\"thead\\\">\$vbphrase\[posts\]<\/td>\s*?"\\.\(\(\$GLOBALS\[\'vbulletin\'\]->options\[\'showmoderatorcolumn\'\]\) \? \("\s*?<td class=\\\"thead\\\">\$vbphrase\[moderator\]<\/td>\s*?"\) : \(""\)\)\\."\s*?<\/tr>\s*?<\/thead>\s*?\$forumbits/', '$forumbits', $vbulletin->templatecache['FORUMHOME']);
$vbulletin->templatecache['forumhome_forumbit_level1_nopost'] = preg_replace('/("\\.\(\(\!\$show\[\'collapsable_forums\'\]\) \? \(\"\s*?<tbody>\s*?\"\) \: \(\"\"\)\)\\.\"\s*?<tr>)/', '<tr>', $vbulletin->templatecache['forumhome_forumbit_level1_nopost']);
$vbulletin->templatecache['forumhome_forumbit_level1_nopost'] = preg_replace(
'/("\\.\(\(\!\$show\[\'collapsable_forums\'\]\) \? \(\"\s*?<tbody id=\\\"collapseobj_forumbit_\$forumid\\\" style=\\\"\{\$collapseobj_forumid\}\\\">\s*?\"\) \: \(\"\"\)\)\\."\s*?\$childforumbits\s*?"\\.\(\(\!\$show\[\'collapsable_forums\'\]\) \? \(\"\s*?<\/tbody>\s*?\"\) \: \(\"\"\)\)\\.")/',
'</thead>
<tbody id=\"collapseobj_forumbit_$forumid\" style=\"{$collapseobj_forumid}\">
<if condition=\"$forum[forumid] != 57\">
<tr align=\"center\">
<td class=\"thead\" width=\"{$vbulletin->options[\'catmod_statusicon_width\']}\"> </td>
<td class=\"thead\" width=\"{$vbulletin->options[\'catmod_forum_width\']}\" align=\"$stylevar[left]\">$vbphrase[forum]</td>
<td class=\"thead\" width=\"{$vbulletin->options[\'catmod_lastpostinfo_width\']}\">$vbphrase[last_post]</td>
<td class=\"thead\" width=\"{$vbulletin->options[\'catmod_threadcount_width\']}\">$vbphrase[threads]</td>
<td class=\"thead\" width=\"{$vbulletin->options[\'catmod_replycount_width\']}\">$vbphrase[posts]</td>
".(($GLOBALS[\'vbulletin\']->options[\'showmoderatorcolumn\']) ? ("
<td class=\"thead\" width=\"{$vbulletin->options[\'catmod_moderators_width\']}\">$vbphrase[moderator]</td>
") : (""))."
</tr>
</if>
$childforumbits
</tbody>', $vbulletin->templatecache['forumhome_forumbit_level1_nopost']);
I added an IF CONDITION in the last section.
Any ideas?