SleekSkins
29 Sep 2006, 23:57
This modification will separate the forum tables on your forumhome, a screenshot is attached.
To fully understand this modification, basic HTML knowledge is required. You can download the complete XML file (http://www.vbulletin.org/forum/attachment.php?attachmentid=55021) from the right if you would like to install this right away (upload the XML file in the Styles & Templates section of your Admin CP).
Notice: This modification will not work properly if you use subcategories (category with parent category) or stand-alone forums (forum with no parent category, on forumhome). Subforums will work fine, ofcourse.
Modified templates
FORUMHOME
forumhome_forumbit_level1_nopost
Forum Home Overview
Open the 'Forum Home Templates > FORUMHOME' template, we only need to edit the area between the <!-- main --> tags. Here's the default code:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Everything between the <!-- main --> tags is one table. We are going to separate this into multiple tables.
The above code contains:
The guest welcome header.
The 'forum, last post, threads, post' area.
The category and forums rows ($forumbits).
The 'mark forums read' and 'view forum leaders' links.
Forum Home Changes
What has to be changed:
Guest welcome header should have it's own table.
Delete the 'forum, last post, threads, post' area.
Bottom links need their own div
Forum Home Result
Here's the final code:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
==========
Forum Bit Overview
Now, open the 'Forum Home Templates > forumhome_forumbit_level1_nopost' template. This is the default code:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
As you may have noticed, this code is a table row. Because we got rid of the table surrounding this table row (in the FORUMHOME template), we should now make this code into a complete table.
Forum Bit Changes
What has to be changed:
Add table open tag
The 'forum, last post, threads, post' area should be pasted before the forum rows.
Add table close tag
Add br tag at the end to create a space between the tables.
Forum Bit Result
This is the final code:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
That's it, these two template modifications are enough to get the desired effect of separated forum rows.
Are you using this modification? Press INSTALL (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=127875).
Bas ten Feld
www.sleekskins.com
To fully understand this modification, basic HTML knowledge is required. You can download the complete XML file (http://www.vbulletin.org/forum/attachment.php?attachmentid=55021) from the right if you would like to install this right away (upload the XML file in the Styles & Templates section of your Admin CP).
Notice: This modification will not work properly if you use subcategories (category with parent category) or stand-alone forums (forum with no parent category, on forumhome). Subforums will work fine, ofcourse.
Modified templates
FORUMHOME
forumhome_forumbit_level1_nopost
Forum Home Overview
Open the 'Forum Home Templates > FORUMHOME' template, we only need to edit the area between the <!-- main --> tags. Here's the default code:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Everything between the <!-- main --> tags is one table. We are going to separate this into multiple tables.
The above code contains:
The guest welcome header.
The 'forum, last post, threads, post' area.
The category and forums rows ($forumbits).
The 'mark forums read' and 'view forum leaders' links.
Forum Home Changes
What has to be changed:
Guest welcome header should have it's own table.
Delete the 'forum, last post, threads, post' area.
Bottom links need their own div
Forum Home Result
Here's the final code:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
==========
Forum Bit Overview
Now, open the 'Forum Home Templates > forumhome_forumbit_level1_nopost' template. This is the default code:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
As you may have noticed, this code is a table row. Because we got rid of the table surrounding this table row (in the FORUMHOME template), we should now make this code into a complete table.
Forum Bit Changes
What has to be changed:
Add table open tag
The 'forum, last post, threads, post' area should be pasted before the forum rows.
Add table close tag
Add br tag at the end to create a space between the tables.
Forum Bit Result
This is the final code:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
That's it, these two template modifications are enough to get the desired effect of separated forum rows.
Are you using this modification? Press INSTALL (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=127875).
Bas ten Feld
www.sleekskins.com