Support for this particular thread has been dropped by me. I have created a new thread which you can find here
HowTo: Separate the 'Categories' from each other ?
-- Add a white line (space) by breaking the table --
* Template Hack for vBulletin 2.2.x *
After owning vBulletin for almost a week now, and having done a few tweaks to my board on http://www.creations.nl/ I had a lot of E-mail from users who tried to do the same. Not only by E-mail, but also through a lot of Private Messages and posts from other users I think it is handy for future reference to have a single thread covering this much requested template hack.
-----------------------------------------------------------------------------------
Original 'hack?' by FireFly from vBulletin.org which threw me into the right direction. (Thank you very much!)
But instead of <td>-tag I used the <table>-tag to break the stuff up, so we don't get those nasty lines on the side of the categories.
And this one is a design-fix, so the 'Currently Active Users'-board isn't sticky to the last category:
For example of how it looks: www.creations.nl
Tested with vB 2.2.1 - 2.2.5 (works like a charm)
=============================================
here is the fix for the extra line that shows up at the top
What does this do?
On some boards, an extra line shows up, and we spoof this, by giving the background colour the same colour as the page background colour, so it will no longer show up (even though it is actually there!)
here is the code:
forumhome template
Notice the bgcolor="#colour.." change this to the background color of your board, mine is white, so i set it to white.
Hope this helps some users getting rid of that damn annoying extra line.
==============================================
Fix for getting your board aligned properly
-----------------------------------------------------------------------------------
Find in the template forumhome_forumbit_level1_nopost this code:
and replace that with this code:
Then,
Find in the template forumhome_forumbit_level2_nopost this code:
and replace that with this code:
Done! This should fix most disalignments (at least it did on my localhost test board)
----------------------------------------------------------------------------------
just fixing his {xx} thing :-), FF. (xiphoid: and thank you for it)
[update]
Just added the 'find this and put in front..'-part
[update 2]
Just added the 'fix for the upper extra line showing up'part
[update 3]
Just added the 'fix for dis-alignment' part
HowTo: Separate the 'Categories' from each other ?
-- Add a white line (space) by breaking the table --
* Template Hack for vBulletin 2.2.x *
After owning vBulletin for almost a week now, and having done a few tweaks to my board on http://www.creations.nl/ I had a lot of E-mail from users who tried to do the same. Not only by E-mail, but also through a lot of Private Messages and posts from other users I think it is handy for future reference to have a single thread covering this much requested template hack.
-----------------------------------------------------------------------------------
Original 'hack?' by FireFly from vBulletin.org which threw me into the right direction. (Thank you very much!)
But instead of <td>-tag I used the <table>-tag to break the stuff up, so we don't get those nasty lines on the side of the categories.
- Goto the Admin Control Panel
- Goto the Templates > Modify-section (click on expand)
- Search for:
Forum Home Page Templates (click on expand) - forumhome_forumbit_level1_nopost (click on edit (or edit original))
- Original Template:
Code:<tr id="cat"> <td bgcolor="{[i][/i]categorybackcolor}" colspan="6"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="{[i][/i]categoryfontcolor}"><b>$forum[title]</b></normalfont></a> <br><smallfont color="{[i][/i]categoryfontcolor}">$forum[description]</smallfont></td> </tr>
Code:</table> </td></tr></table><br> <table cellpadding="{[i][/i]tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{[i][/i]tablebordercolor}" {[i][/i]tableouterextra} width="{[i][/i]contenttablewidth}" align="center"><tr><td> <table cellpadding="4" cellspacing="{[i][/i]tableinnerborderwidth}" border="0" {[i][/i]tableinnerextra} width="100%">
And this one is a design-fix, so the 'Currently Active Users'-board isn't sticky to the last category:
- Goto the Admin Control Panel
- Goto the Templates > Modify-section (click on expand)
- Search for:
Forum Home Page Templates (click on expand) - forumhome (click on edit (or edit original))
- Just after $forumbits add:
Code:</table> </td></tr></table><br> <table cellpadding="{[i][/i]tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{[i][/i]tablebordercolor}" {[i][/i]tableouterextra} width="{[i][/i]contenttablewidth}" align="center"><tr><td> <table cellpadding="4" cellspacing="{[i][/i]tableinnerborderwidth}" border="0" {[i][/i]tableinnerextra} width="100%">
For example of how it looks: www.creations.nl
Tested with vB 2.2.1 - 2.2.5 (works like a charm)
=============================================
here is the fix for the extra line that shows up at the top
What does this do?
On some boards, an extra line shows up, and we spoof this, by giving the background colour the same colour as the page background colour, so it will no longer show up (even though it is actually there!)
here is the code:
forumhome template
Code:
<!-- main --> <table cellpadding="{tableo[i][/i]uterborderwidth}" cellspacing="0" border="0" [size=2][b]bgcolor="#FFFFFF"[/b][/size] {t[i][/i]ableouterextra} width="{contentt[i][/i]ablewidth}" align="center">
Hope this helps some users getting rid of that damn annoying extra line.
==============================================
Fix for getting your board aligned properly
-----------------------------------------------------------------------------------
Find in the template forumhome_forumbit_level1_nopost this code:
Code:
<td bgcolor="{[i][/i]tableheadbgcolor}" nowrap><smallfont color="{[i][/i]tableheadtextcolor}"><b>Last Post</b></smallfont></td>
Code:
<td bgcolor="{[i][/i]tableheadbgcolor}" width="175" nowrap><smallfont color="{[i][/i]tableheadtextcolor}"><b>Last Post</b></smallfont></td>
Find in the template forumhome_forumbit_level2_nopost this code:
Code:
<td bgcolor="{[i][/i]tableheadbgcolor}"><smallfont color="{[i][/i]tableheadtextcolor}"><b>Last Post</b></smallfont></td>
Code:
<td bgcolor="{[i][/i]tableheadbgcolor}" width="175"><smallfont color="{[i][/i]tableheadtextcolor}"><b>Last Post</b></smallfont></td>
----------------------------------------------------------------------------------
just fixing his {xx} thing :-), FF. (xiphoid: and thank you for it)
[update]
Just added the 'find this and put in front..'-part
[update 2]
Just added the 'fix for the upper extra line showing up'part
[update 3]
Just added the 'fix for dis-alignment' part
Comment