Log in

View Full Version : Forum Home Enhancements - Seperate Categories (without plugin & product)


Allan
03-30-2009, 10:00 PM
Seperate Categories (without plugin & product)
______________________



Description: Seperate the categories on forumhome

Installation:
In the "forumhome_forumbit_level1_nopost" template, find (first on the top):
<tbody>

Add above:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<br />

In the same template, find:
<if condition="!$show['collapsable_forums']">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">

Add after:
<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175">$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>

In the "forumhome" template, find et delete: <thead> <tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175">$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>

Kolbi
03-31-2009, 03:42 PM
Only worked in 1 of 5 categories?
I´m using 3.8.1pl1, do you think that´s the reason?

Jasem
04-01-2009, 03:17 AM
Nice work, thank you!

Installed

Magnumutz
04-02-2009, 07:47 AM
Only worked in 1 of 5 categories?
I?m using 3.8.1pl1, do you think that?s the reason?
Same here, just 1 category.

Allan
04-02-2009, 12:46 PM
Updated.

Kolbi
04-02-2009, 06:17 PM
What has changed? :)

Allan
04-02-2009, 07:17 PM
<br /> deplaced :p

check second quote.

Kolbi
04-03-2009, 04:52 PM
Working now :)
But there is a bug!
Now i can?t minimize the categories anymore!

ftaunlimited
04-22-2009, 03:59 PM
Works perfectly thank you, with one exception....... The last post column's are all different sizes so the forum is not uniform anymore.

jolinary
04-24-2009, 07:50 PM
Works perfectly thank you, with one exception....... The last post column's are all different sizes so the forum is not uniform anymore.

Hi,

It's normal change this template"forumhome_lastpostby"

search this code: <div class="smallfont" align="$stylevar[left]">

And replace for this: <div class="smallfont" align="$stylevar[left]" style="width:200px;">

change the valeur in red, for your width :)

Sorry i am not english.

ftaunlimited
05-10-2009, 02:30 PM
Hi,

It's normal change this template"forumhome_lastpostby"

search this code: <div class="smallfont" align="$stylevar[left]">

And replace for this: <div class="smallfont" align="$stylevar[left]" style="width:200px;">

change the valeur in red, for your width :)

Sorry i am not english.




Worked perfectly, thanks so much:D

Silver Knight
05-19-2009, 10:58 PM
Is this optional like, can you select it in the forum management part of acp?

Been Told
01-10-2010, 01:08 PM
This doesn't seem to work properly on Chrome and Safari. It leaves a thin line above the first category.
See the attached image.

Been Told
01-12-2010, 06:39 PM
Any word on this? Does nobody experience this issue?

final kaoss
01-14-2010, 10:58 PM
If your going to post an image don't blur the text...

Been Told
01-22-2010, 12:22 PM
Why? I'm working on something for a client that I don't want to let out of the bag. It's their choice when to announce something and not for me to blurt out.

Karm4
03-24-2010, 07:59 AM
Does anyone know if theres a way to only seperate some categories?

killa seven
06-25-2010, 12:39 AM
Is there a way to put a footer on every forum after it is seperated? You know what i mean? Have the category strip, then the header....then the forum subjects then a footer to end it off? Kinda close the box. IMO this would make this cleaner. i really enjoyed this, and it worked wonderfully for me, thank you.

vat0r
06-25-2010, 01:15 PM
This doesn't seem to work properly on Chrome and Safari. It leaves a thin line above the first category.
See the attached image.

Same issue here. Any way to resolve this?

EDIT: This hack works correctly. (https://vborg.vbsupport.ru/showthread.php?t=200782)

Clydesdale
05-10-2011, 02:56 AM
Worked like a charm and simple enough for a novice like me!

Thanks for all of your efforts!!!

SPARKS MAN
10-12-2011, 03:29 PM
thankx but after modification is applied i get an 62 error on http://validator.w3.org/
without it i get zero error

i don't no why this happen?

Project Boredom
09-29-2012, 05:34 PM
To fix the safari/chrome problem:

In the first add, you should do this instead:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" style="border-bottom:15px; width="100%" align="center">