Tree lines like Phorum 3 module!
Posted by Brian Moon
Re: Tree lines like Phorum 3 module! July 26, 2005 10:48AM |
Admin Registered: 23 years ago Posts: 4,495 |
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.
<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 |
Admin Registered: 23 years ago Posts: 4,495 |
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.
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 |
Registered: 20 years ago Posts: 5 |
Re: Tree lines like Phorum 3 module! July 26, 2005 02:31PM |
Registered: 19 years ago Posts: 6 |
Re: Tree lines like Phorum 3 module! July 26, 2005 02:59PM |
Admin Registered: 23 years ago Posts: 4,495 |
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 |
Registered: 19 years ago Posts: 6 |
Re: Tree lines like Phorum 3 module! August 09, 2005 05:36PM |
Registered: 23 years ago Posts: 156 |
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.
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 |
Registered: 19 years ago Posts: 12 |
Can't run at v5.1.6a + January 19, 2006 07:29PM |
Registered: 20 years ago Posts: 30 |
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.
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 |
Admin Registered: 20 years ago Posts: 8,532 |
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
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.