PDA

View Full Version : [Release] Forumhome Columns Allign


Mone'
06-14-2003, 04:57 AM
Author: Miko
Description: This will allow you to allign the forumhome columns (Forum, Posts, Threads, Last Post )
Requirments: "Spacing Between Categories" by SaintDog
Demo: see "b3.gif" attachment for a screenshot

update: added a note to fix problem with forum with different width.

Tony G
06-14-2003, 05:53 AM
Installed, so far working. Nice work Mone'! :D

Convergys
06-14-2003, 01:02 PM
I am having a small problem with this modification. I have edited all templates, and this is what I am getting... It is still out of alignment...



EDIT.. Nm.. I fixed it. I changed it from 80% and 20% to 70% and 30% and not it works.:)

EXCELLENT WORK!

Attrox
06-14-2003, 05:40 PM
Well that was easy enough. :) Nice work.

imported_J-J
06-16-2003, 07:00 PM
Author: Miko
Description: This will allow you to allign the forumhome columns (Forum, Posts, Threads, Last Post )
Requirments: "Spacing Between Categories" by SaintDog
Demo: see "b3.gif" attachment for a screenshot

In forumhome_forumbit_level1_nopost we have :

<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<a href="forumdisplay.php?$session[sessionurl]forumid=$forum[forumid]"><b>$forum[title]</b></a>
<span class="smallfont">
<if condition="$forum[description]"><br />$forum[description]</if>
<if condition="$forum[subforums]"><hr size="1" /><b>Sous-forums:</b> $forum[subforums]</if>
</span>
</td>
</tr>


None of what is in your text file
7. Look for:

<tr align="center">
<td class="thead"><span class="smallfont">&nbsp;</span></td>
<td class="thead" width="100%" align="left"><span class="smallfont"><b>Forum</b></span></td>
<td class="thead" width="75"><span class="smallfont"><b>Posts</b></span></td>
<td class="thead" width="75"><span class="smallfont"><b>Threads</b></span></td>
<td class="thead" width="150"><span class="smallfont"><b>Last Post</b></span></td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead"><span class="smallfont"><b>Moderator</b></span></td>
</if>
</tr>

ernestdefoe
06-16-2003, 07:27 PM
This didn't work for me. My alignment is still all out of whack.

Convergys
06-16-2003, 07:44 PM
ernest, you will probably need to change the percentages... That is what I had to do also..

(It's Triple H...)

Convergys
06-16-2003, 07:45 PM
J-J, do you have Saintdogs spaces between categories mod installed?

ernestdefoe
06-16-2003, 07:47 PM
Hey man I did. Just like you did, and it didn't work. Maybe I need to decrease the higher one more, and increase the lower one more.

Convergys
06-16-2003, 07:47 PM
pm me the url to your site.. let me have a look..

imported_J-J
06-16-2003, 07:48 PM
I'm sorry.

Got confused because I've install this hack spacer :
http://www.vbulletintemplates.com/mods/showthread.php?threadid=3862

Convergys
06-16-2003, 07:49 PM
I'm sorry.

Got confused because I've install this hack spacer :
http://www.vbulletintemplates.com/mods/showthread.php?threadid=3862
Did you alreayd install this mod?

http://www.vbulletintemplates.com/mods/showthread.php?threadid=3189

ernestdefoe
06-16-2003, 07:51 PM
Okay I got it. Just had to go 60% and 40%, but it works now.

Convergys
06-16-2003, 07:51 PM
Yeah. that is what I am at also for mine...

Mone'
06-17-2003, 09:37 AM
J-J did you install "Spacing Between Categories" by SaintDog first ?

Added a small note to the file to fix the problem of the column not alligning on everyones forum.

Mone'

imported_J-J
06-17-2003, 02:53 PM
This site manage to acheive nicely Cat. separation spacing with correct alignment.
http://www.sitepointforums.com/

Mone'
06-18-2003, 01:42 AM
sitepoint has the same problem there is no 100% fix for all resolution
playing with the 80% and 20% can help fixing it at different resolution.

imported_insanctus
06-27-2003, 06:26 AM
Everything worked good on it accept the last post is not aligned

Tony G
06-27-2003, 08:42 AM
Well, the whole point is to make that column align, because it's the topic length that makes them not align.

Do you have a screenshot?

shadow77
06-29-2003, 07:36 PM
Great hack! Everything is working fine! :cool:

Lain Iwakura
07-02-2003, 07:42 PM
not working for me...

i have:
</table>
</td>
</tr>
</table>
<br>
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center"><tr><td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">

<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<a href="forumdisplay.php?$session[sessionurl]forumid=$forum[forumid]"><b>$forum[title]</b></a>
<span class="smallfont">
<if condition="$forum[description]"><br />$forum[description]</if>
<if condition="$forum[subforums]"><hr size="1" /><b>Sub-forums:</b> $forum[subforums]</if>
</span>
</td>
</tr>


and there isnt a

<tr align="center">
<td class="thead"><span class="smallfont">&nbsp;</span></td>
<td class="thead" width="100%" align="left"><span class="smallfont"><b>Forum</b></span></td>
<td class="thead" width="75"><span class="smallfont"><b>Posts</b></span></td>
<td class="thead" width="75"><span class="smallfont"><b>Threads</b></span></td>
<td class="thead" width="150"><span class="smallfont"><b>Last Post</b></span></td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead"><span class="smallfont"><b>Moderator</b></span></td>
</if>
</tr>
to change...

flame
08-27-2003, 12:04 AM
I had the same problem as a few of the other ppl in this thread, everything was working fine except for my Forumhome template the alignment was way off, plus i didnt have the specified text as described above by angelus0.
Here are the modifications to fix the above problem

in the forumhome_forumbit_level1_nopost template find:
</span>
</td>
</tr>
Below this add:
]<tr align="center">
<td class="thead"><span class="smallfont">&nbsp;</span></td>
<td class="thead" width="60%" align="left"><span class="smallfont"><b>Forum</b></span></td>
<td class="thead" width="75"><span class="smallfont"><b>Posts</b></span></td>
<td class="thead" width="75"><span class="smallfont"><b>Threads</b></span></td>
<td class="thead" width="40%"><span class="smallfont"><b>Last Post</b></span></td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead"><span class="smallfont"><b>Moderator</b></span></td>
</if>
</tr>
Do the same for forumhome_forumbit_level2_nopost template.

Open the FORUMHOME template and Remove:
<tr align="center">
<td class="thead"><span class="smallfont">&nbsp;</span></td>
<td class="thead" width="100%" align="left"><span class="smallfont"><b>Forum</b></span></td>
<td class="thead" width="75"><span class="smallfont"><b>Posts</b></span></td>
<td class="thead" width="75"><span class="smallfont"><b>Threads</b></span></td>
<td class="thead" width="150"><span class="smallfont"><b>Last Post</b></span></td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead"><span class="smallfont"><b>Moderator</b></span></td>
</if>
</tr>

Follow the rest of Miko's instructions from Step 10 onwards.

This will give you the forum|threads|posts|last post under Each seperated Forum Title

Hope this Helpsa angelus and J-J

Flame

Mathieu
09-05-2003, 07:18 AM
Thanks for this fix i'll install it

imported_Neptun
09-10-2003, 06:46 AM
i have installed all the templates but it does not work .. there are no effects - it looks like befor i do anything ...

Please help me

I have installed vB 3.0.0 Beta 6

Rebel2k2
09-20-2003, 12:30 AM
Follow what flame said above there. Make sure you have Saintdog's hack installed already also. I changed my percentages to:

<tr align="center">
<td class="thead"><span class="smallfont">&nbsp;</span></td>
<td class="thead" width="55%" align="left"><span class="smallfont"><b>Forum</b></span></td>
<td class="thead" width="5%"><span class="smallfont"><b>Posts</b></span></td>
<td class="thead" width="5%"><span class="smallfont"><b>Threads</b></span></td>
<td class="thead" width="35%"><span class="smallfont"><b>Last Post</b></span></td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead"><span class="smallfont"><b>Moderator</b></span></td>
</if>
</tr>

I installed it on my site, it works great. A little jumbled in 800x600, but meh... ;)

http://www.clangrounds.com

vincenta
09-24-2003, 09:39 PM
thx a lot , i'll give it a try

Platinum [JSI]
10-02-2003, 04:16 PM
Im trying to use this fix and the code that it says to change inforumhome_forumbit_level1_nopost isnt there, all i have in there is the following :

</table>
</td>
</tr>
</table>
<br>
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center"><tr><td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><b>$forum[title]</b></a>
<span class="smallfont">
<if condition="$forum[description]"><br />$forum[description]</if>
<if condition="$forum[subforums]"><hr size="1" /><b>Sub-forums:</b> $forum[subforums]</if>
</span>
</td>
</tr>

Tony G
10-02-2003, 11:59 PM
Have you installed SaintDog's Category Seperation mod?

Platinum [JSI]
10-03-2003, 11:34 AM
Have you installed SaintDog's Category Seperation mod?
Yea, the top part of that code is his hack

Tony G
10-03-2003, 12:05 PM
Have you also installed the mod which places Forum | Topics | Posts | Last Post table bar below the category bar? Because if you have, there should be that code inside forumhome_forumbit_level1_nopost.

Platinum [JSI]
10-03-2003, 12:24 PM
no i wasnt aware that was needed, where can i get that hack?

Viper_4
10-15-2003, 05:55 PM
hmm I got it to work except the top part that says Forum,posts, etc... The rest of the forum aligned well I believe, but that part is messed up. You can view it here:

http://216.7.163.13/forums/index.php?

let me know what I might have missed, thanks

imported_iKwak
10-17-2003, 07:39 AM
Using beta 7 and have installed the category hack by SaintDog.
www.calpolyforum.com

The first two category is aligned but not the third one.
What should I edit to get the third onea aligned with the other two?

imported_iKwak
10-23-2003, 02:39 AM
Bump. To the top.