1

Topic: Spacing On Front Page

Could someone please tell me where it is in any of the PUNBB files where i can have a space in between categorys on the front page.

Example:
Now:
Cat
Room
Room
Cat
Room
Room
Room
Cat
Room

But i want it:
Cat
Room
Room

Cat
Room
Room
Room

Cat
Room

Please help smile

---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------
---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------

Re: Spacing On Front Page

Open up index.php and go to row 72. Replace:

    <tr>
        <td class="puncon3" colspan="6"><?php print pun_htmlspecialchars($cur_forum['cat_name']) ?></td>
    </tr>

with

</table>

<table class="punplain" cellspacing="1" cellpadding="4"><tr><td> </td></tr></table>

<table class="punmain" cellspacing="1" cellpadding="4">
    <tr>
        <td class="puncon3" colspan="6"><?php print pun_htmlspecialchars($cur_forum['cat_name']) ?></td>
    </tr>
"Programming is like sex: one mistake and you have to support it for the rest of your life."

3

Re: Spacing On Front Page

Its gone messed up...

http://www.jasonbucher.com/dale/forums/

---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------
---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------

Re: Spacing On Front Page

It doesn't look "messed up" to me. You haven't done the changes i posted above though.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

5

Re: Spacing On Front Page

I did the changes and it didnt work.. so i put it back to normal.

---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------
---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------

6 (edited by Frank H 2003-11-22 14:30)

Re: Spacing On Front Page

he probably mean that it got messed up because the cellwidths become different in different categorys ...

    <tr>
        <td class="puncon1" colspan="6"> </td>
    </tr>
    <tr>
        <td class="puncon3" colspan="6"><?php print pun_htmlspecialchars($cur_forum['cat_name']) ?></td>
    </tr>

Not as messed up, but still borders though ...

7

Re: Spacing On Front Page

Frank H, yours keeps the tables together...

Kennel, yours is on at the moment, check it out.. now could it be because the room hasn't got any posts in it?

Also the moderator column aint working...

---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------
---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------

Re: Spacing On Front Page

All the columns are there. It's just that since every category is a new table, the browser doesn't know how wide the different columns should be. When they are all in the same table, it can just align columns with the ones in the row above it.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

9

Re: Spacing On Front Page

Oh.. so if a post was in any forum in 1 catogry it will align them all in that category.

---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------
---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------

Re: Spacing On Front Page

I see you've got it under control now.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

11

Re: Spacing On Front Page

Yeah, i've put it all back normal until all rooms are used smile

---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------
---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------