Log in

View Full Version : Empty forum appearing (again)


Sp32
11-29-2008, 08:53 PM
Hi, sorry to be such a pain lately but I was fiddling about with mods and now I got this happening to me:

https://vborg.vbsupport.ru/external/2008/11/9.jpg

Please can someone explain how to fix in the simplest form possible because I am not that good with complicated expressions etc

Thanks!


EDIT: I think it might be to do with 'FORUMHOME' but I reverted it and all it did was add the grey bit 'FORUM LAST POST' etc

Lynne
11-29-2008, 09:19 PM
It looks to me like your style separates the forum categories and then you reverted a template and that screwed things up. Try reinstalling your style.

Sp32
11-29-2008, 09:41 PM
ahhh I can't do that because I have added navbars and removed navbars and changed loads of things :(

smooth-c
11-30-2008, 01:09 AM
Seems the only way. You could copy all of the text from the navbar template and paste it into notepad and then once you have re-installed the style, paste it back?

Sp32
11-30-2008, 02:01 AM
hmm I will try that now... :erm:

--------------- Added 1228018264 at 1228018264 ---------------

bah... still no luck :(

Dismounted
11-30-2008, 02:34 AM
In your FORUMHOME template, make sure the forum headers HTML has been removed.

Sp32
11-30-2008, 02:42 AM
I do not know what the forum headers are

I think I found the right part:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
$headinclude
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar

Is it because of something in that?

Dismounted
11-30-2008, 03:00 AM
No - that is not the section. You are looking for the bit with the table for the forum title/last post/etc. in it.

Sp32
11-30-2008, 03:13 AM
is it this bit:

<thead>
<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>

ZomgStuff
11-30-2008, 03:17 AM
I know certain vbulletin skin designers use an odd system where you're supposed to add the forumid of your 1st forum into a conditional statement in "forumhome_forumbit_level1_nopost".

I'd check the instructions that came with your style and see if there is anything like that.

Sp32
11-30-2008, 03:26 AM
nothing about that in the instruction file

I pm'd you the designers name

ZomgStuff
11-30-2008, 03:31 AM
Can you post your forumhome_forumbit_level1_nopost template?

Dismounted
11-30-2008, 03:40 AM
is it this bit:

<thead>
<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
Yes - that bit.

Sp32
11-30-2008, 07:34 AM
Can you post your forumhome_forumbit_level1_nopost template?

<if condition="$forum[forumid] == 1">
<else />
</table>
<!-- bottom table setup -->
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="70" align="left" valign="top"><img src="$stylevar[imgdir_misc]/botleft.gif" alt="" height="17"/></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/botcenter.gif)"><img src="$stylevar[imgdir_misc]/botcenter.gif" alt="" width="100%" height="17" border="0"/></td>
<td width="70" align="right" valign="top"><img src="$stylevar[imgdir_misc]/botright.gif" alt="" height="17"/></td>
</tr>
</table>
<!-- End bottom table setup -->

<br />



</if>
<!-- top category table setup -->
<table style="background-image:url($stylevar[imgdir_misc]/cat_level1_bg.gif)" border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="24" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_level1_left.gif" alt="" width="24" height="13"/></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_level1_bg.gif)"><img src="$stylevar[imgdir_misc]/cat_level1_bg.gif" alt="" width="1" height="13"/></td>
<td width="214" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_level1_right.gif" alt="" width="214" height="13"/></td>
</tr>
</table>

<table width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_level2_bg.gif)" border="0" cellpadding="0" cellspacing="0">

<tr>
<td width="24" height="34" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_level2_left.gif" alt="" width="24" height="34"/></td>
<td width="100%" class="tcat" style="background-image:url($stylevar[imgdir_misc]/cat_level2_bg.gif)" valign="middle">

<if condition="$childforumbits">
<div align="left"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a></if>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><b>$forum[title]</b></a></div>
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>


</td>
<td width="24" height="34" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_level2_right.gif" alt="" width="214" height="34"/></td>
</tr>
</table>
<!-- End top category table setup -->

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
<td class="thead" width="5%">&nbsp;</td>
<td class="thead" width="50%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="30%">$vbphrase[last_post]</td>
<td class="thead" width="5%">$vbphrase[threads]</td>
<td class="thead" width="5%">$vbphrase[posts]</td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead" width="5%">$vbphrase[moderator]</td>
</if>
</tr>
$childforumbits
</tbody>
</if>

@ Dismounted what HTML is there to take out?

Dismounted
11-30-2008, 10:14 AM
@ Dismounted what HTML is there to take out?
The whole section you quoted.

Sp32
11-30-2008, 04:29 PM
Thanks, it worked you're so awesome! :D:D:D:D:D