View Full Version : slight code change - I tried but my forum went KABOOM
aceofspades
04-07-2007, 01:36 PM
Im trying to achieve this:
http://img208.imageshack.us/img208/8061/vbhelp2ri3.jpg
I need the extra bar on the top. I have been trying to get this work all morning, ive found out that i probably need to be looking at the forumbit_level1_nopost template and i thought it would just be a case of adding this at the top:
<td class="tcat"><td>
but alas that screwed everything up. Could anyone please tell me what i am doing wrong?
Any help would be greatly appreciated!
James
CyberAlien
04-07-2007, 03:33 PM
Its in forumhome template, not forumhome_forumbit_* templates.
aceofspades
04-07-2007, 04:06 PM
In which case, what code should i be adding? I tried this:
<td class="tcat"><td>
So it read:
<!-- main -->
<td class="tcat"><td>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
$forumbits
And nothing changed.
James
CyberAlien
04-07-2007, 04:11 PM
Before $forumbits add something like this:<tr>
<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
</td>
</tr>
and remove that code you added before <table>
aceofspades
04-07-2007, 04:40 PM
Right, my forumhome looks like this now (a little selection of it):
$header
$navbar
<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
</td>
</tr>
$forumbits
But it gives me this:
http://img232.imageshack.us/img232/8160/vborgnn6.gif
Can i make the bar as tall as the bar below it, at the moment its only about 2 pixels high.
Thanks for your help on this.
James
CyberAlien
04-07-2007, 04:41 PM
That's because its empty. Put something in it - whatever you wanted to put there. If you don't want to put anything then put
aceofspades
04-07-2007, 04:55 PM
Oh...right...lol.
Thank you, working perfectly now.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.