This is a bit of a tricky question because with the way of UBB's default (unhacked) design if you try to create independent table category cells usually the category headers will not align with the forum description headers.
If you left the the original coding intact you will need to add the cell widths in the
tags such as " | ". I believe Allen had already set the "width" codes into the | tags. You will find these tables after:
[code][/code]Just view the source of what Allen did and compare that with your public_forum_summary.p file.
The problem is that there is no connection between the individual categories to force them to line up (td's) so the width attributes are necessary. I also had problems in the past with the "lightbulbs" still causing issues (not complying with the width commands) and had better luck with putting the lightbulb code and the forum name/description code in a table of it's own and assigning the width to the that contains the new table.
I moved the lightbulbs to the right side and had it resove the problem too but not everyone wants the lightbulbs over there.
hmm... I added a width="4%" for the lightbulb column and it seemed to solve it, maybe the code is different in the newer versions Ellen, grab a copy of beyond compare and see how the file I posted compares to yours www.scootersoftware.com
Hehe...I moved the lightbulb to another location.
Thanks for the reply, I'll give it a try.
Unfortunately, I still haven't been able to get this to work. Is there anyone who was successful who would be willing to post their code? Thanks in advance!
I took an alternate method to solve the lightbulb issue. See if this makes sense. I took the that the lightbulbs are in and the | that the forum name is in and placed them in a table of their own so that the width of the now single | was more controllable.
[code][/code]I used this on a new fixed width board I'm building so you'll probably want to use percentages. I hope this helps. If you need more info and you think I can help come on over to Netwerkin in my sig and either myself or some of the Netwerkin members would be glad to help.
Sorry, I forgot to add that you'll need to change the colspan in a couple places since there'll be one less.
This is probably the wrong thread to ask this, but is there any chance that the concept of "separated categories" can be applied to "separated posts"--ala JC Templates--without having to do JC Templates? (hey, it's worth the question! )
TheX: Thank you so much for taking the time to post that! It was just what I needed. As you said, I have to change the colspan, but the rows are now lining up. It was really nice of you to do this.
quote:
Originally posted by ADWOFF: This is probably the wrong thread to ask this, but is there any chance that the concept of "separated categories" can be applied to "separated posts"--ala JC Templates--without having to do JC Templates? (hey, it's worth the question! )
It's really easy also, I was doing it before the JCTemplates. Let me find the code I used and get it documented. quote: [qb]Originally posted by Ellen: TheX: Thank you so much for taking the time to post that! It was just what I needed. As you said, I have to change the colspan, but the rows are now lining up. It was really nice of you to do this.[/qb] Absolutely my pleasure. The people here have given me more help than I'll ever be able to repay.
Hehe...The Category Separation (back in late 2001) is how X and I got to know each other.
Adwoff, this is the easy way to seperate the posts on 6.5, I think 6.4 should be nearly identical
[code][/code]
Thank you! I love coming here and asking for help.
thanks X if ok with you, I may post that in a seperate thread so people can find it
Unfortunately, while the columns lined up, it gave me a javascript error. Did anyone else have that?
quote: Originally posted by Ellen: Unfortunately, while the columns lined up, it gave me a javascript error. Did anyone else have that? That code is taken straight from my 6.5 test board, let me have another look at it when I get on that server later this afternoon.
I just got a user having a similiar problem to Ellens. quote: I'm sure you're innundated with issues (I hope not!) on the new board format but...
I am getting "Object Expected" errors all over the board, where I was successfully getting the graphics when you first made the changes.
Any clue?
Too many little red X's! ;-)
I'm using IE 6.0 This is after splitting the Categories and Topics pages. Thanks!
I have no idea how the errors are happening. I just did it to a clean 6.5 board and it works fine. I didn't apply Allen's code though but that shouldn't cause any problems either. I don't think the post seperation on the topic page is causing anything because there isn't any javascript involved, just in the bulbize area of the summary page.
Thanks X, Works fine for looks like 99% of the people on my 6.5 as well. Javascript and Java are two different animals correct? I had to d/l the Sun Java for my IE since the court order, and mine works fine. Grasping at straws though. I did do Allens hack, is yours significantly different besides the addition of more cells? I did both his and yours at the same time so got the finger pointing mixed up Looks like Ellen is talking about Allens as well. ALLEN! Help
I didn't post all of mine since I hack the page up more than you'd want to. I remove the bar at the top of the summary page with Forums--topics--posts etc and move it onto the category name line. It is odd that it causes errors since the javascript hasn't been modified, just wrapped inside another table. It would be nice if we could get LK to look at this since he is the guru guy with this stuff.
Allen's modification to separate the categories and TheX'x modification to insert a space between posts both worked perfectly.
However, with the category space modification, the tables for different categories did not line up exactly. When I used TheX's code to do this, the tables lined up better, but I got a javascript error.
My user updated his Windows with all the Criticals and Directx and the board started working fine, so more than likely it is just a glitch in JS and a unpatched 6.0 IE - Try updating Ellen see if it fixes yours as well.
quote: Add width="4%" to the bulb column, width="5%" to the total posts and total topics columns and width="30%" to the column where the last post info is kept. If unclear, ask again on 6.3 its easy to set the witdh from the last post column to 30%, but where is it on 6.4 ?! cant find it
should be the same Did you check out the file I uploaded on the first page?
ohhh stupid me, haven't seen this, sorry, now it looks fine
I got the catagories to line up nicely, they all have the same td width. HOWEVER, my table strip doesn't line up the 'Forum', 'Posts', 'Topics' etc up with the categories. Any idea what to change? I'm working with 6.3.0.1.
- [JoKer]
Most likely your Categories and Table strip have different width values which you'll need to define. If you're using $TBT and $TBB to separate your Categories then the Categories and Table Strip are independent. If you're using the to separate your Categories then you shouldn't run into alignment issues.
Is there a link to your board?
Ah, no worries mate, I got that fixed. Got another 'issue' now, though. I want a gap the same size as the gap under the table header: Under the table header and above the News Fader. Then, a normal sized gap between the News Fader and the first set of categories.
- [JoKer]
There are two ways you can do that. First add a under your Table Header and above your News Fader. Secondly, you can add a Table spacer in which you can adjust the height from the tag. Most people use a tag between the News Fader and first Category.
| | | | |