Firefox PHP

Tree lines like Phorum 3 module!

Posted by Brian Moon 
Re: Tree lines like Phorum 3 module!
July 26, 2005 10:48AM
Well, to solve problem 1, you would need to put the image and text into a table. That is what Phorum 3 did.

<able cellspacing="0" cellpadding="0" border="0"><tr><td>{marker}</td><td>{everything else}</td></tr></table>

For problem 2, I will need a URL to look at the CSS and find the damn IE bug.

Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: Tree lines like Phorum 3 module!
July 26, 2005 11:24AM
Ok, i fiddled with the HTML by saving your page to my local machine. Seems IE is putting an artificial pad on the text, making the cell 22px high instead of 21px. I reduced the font size to 11px from 13px and the gap went away.

Your best bet is going to be to make the images 1 or 2 pixels larger.

Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: Tree lines like Phorum 3 module!
July 26, 2005 01:53PM
Thanks a lot! - both work fine now

(I just changed the gif's high from 21 to 22 px)
Re: Tree lines like Phorum 3 module!
July 26, 2005 02:31PM
Hi there,

what do i have to change after i uploaded the module-dir and the images?

greetings, Till
Re: Tree lines like Phorum 3 module!
July 26, 2005 02:59PM
YOu will need to enable the module in the admin and you will need to alter the stylesheet.

Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: Tree lines like Phorum 3 module!
July 26, 2005 03:05PM
I enabled it already, but nothing changed.

Is the "stylesheet" a single or multiple files? What is/are the filename?
What do i have to change?

I read something about css changes AND template changes...
Re: Tree lines like Phorum 3 module!
August 09, 2005 05:36PM
Simply change <yourPhorumFolder>/templates/default/css.tpl.

I changed both .PhorumTableRow and .PhorumTableRowAlt, but not only the padding value like it was recommendet, but also height (was 35px) and border-bottom-width (was 1px) - and I was done.

Great module for Phorum 5. Thank you.

Here is my CSS snippet:

.PhorumTableRow
{
background-color: {backcolor};
border-bottom-style: solid;
border-bottom-color: {listlinecolor};
border-bottom-width: 0px;
color: {defaulttextcolor};
font-size: {defaultfontsize};
font-family: {defaultfont};
height: 21px;
padding: 0 3px 0 3px;
}

.PhorumTableRowAlt
{
background-color: {altbackcolor};
border-bottom-style: solid;
border-bottom-color: {listlinecolor};
border-bottom-width: 0px;
color: {altlisttextcolor};
font-size: {defaultfontsize};
font-family: {defaultfont};
height: 21px;
padding: 0 3px 0 3px;
}

Enjoy.
Re: Tree lines like Phorum 3 module!
November 19, 2005 03:34PM
Trying to apply this module for my 5.019 phorum.

Can`t enjoy... still have gaps... tried everything from this thread.

Why just not to place here right files?


And more important Q is how to make this thread view by default???...
Can't run at v5.1.6a +
January 19, 2006 07:29PM
After upgrade from version 5.0.15a to version 5.1.6a i can't run this mod :(
On/Off... Insta/Uninstall... nothing happens :(
test forum: [taurus-club.ru]

Alexander Medentsev. Moscow. Russia.
Re: Tree lines like Phorum 3 module!
January 19, 2006 08:10PM
The 5.0 read templates used an indent variable for pushing subjects to the right. The 5.1 templates use CSS padding for that. So the mod nicely fills the indent code, but that is never used by the templates.

I don't have a solution right now. There are parts of that mod that have to be rewritten to support this kind of feature. I also did crude one a while back. I'll see if I can combine the mods into a 5.1 compatible tree-view mod.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Sorry, only registered users may post in this forum.

Click here to login