UBB.Dev
Posted By: Tunnleram UBBNews Template - 05/02/2003 1:14 AM
I'm using UBBNews - I'd like to change how the forum news is posted on my web page without changing the looks of my forum.

I've tried changing the template being used by the forum it's pulling from but that didn't seem to help.

Any help is much appreciated.
Posted By: PrimeTime Re: UBBNews Template - 05/02/2003 1:18 AM
You can change practically every aspect of UBBNews in the "public_ubbnews.pl" file. It's located in the Templates directory. smile
Posted By: Tunnleram Re: UBBNews Template - 05/02/2003 2:43 AM
I was looking in there after I posted and had that feeling, but I'm guessing I just have no idea what I'm doing lmao

For instance in the situation below...

[code][/code]Would I edit here? Replace TableColorStrip with a color value? #AAAAAA for example? or do I take out $vars_style{TableColorStrip} and put what I want there?

I'm new to this which is why I'm a bit confused tipsy ~
Posted By: PrimeTime Re: UBBNews Template - 05/02/2003 3:29 AM
You could do either of the above if you're just replacing the Row colors. For everything else (e.g., gradients, CSS) I would edit the and often the tags. smile

If there is something specific you want to do or have a layout idea post here and we'll take a stab at it. smile
Posted By: Tunnleram Re: UBBNews Template - 05/02/2003 4:56 PM
Thanks for your help! I was able to get it looking half way decent. I'm not really that great at design.

test page
http://www.planetwolfenstein.com/tramdesign/index_news.html

It looks half way decent, but sure it could be better.

How would I go about adding CSS to it? In the past I've only adding CSS to a whole page in the header. I'm trying to get the UBBNews sections to match the CSS of the rest of the page.

Also, be honest, does my page look bad the way it is? or would it fly somewhat steady hehe
Posted By: Tunnleram Re: UBBNews Template - 05/02/2003 11:07 PM
Ok don't answer that tipsy

But does anyone have a sample of the part where you'd put the css into the public_ubbnews.pl?

Does anyone have a link to a site that uses ubbnews in a kewl way? I'm curious what the limits are.
Posted By: PrimeTime Re: UBBNews Template - 05/03/2003 3:54 AM
Actually, I was admiring your site. Very tight design and I like the use of greys. thumbsup

I'm not sure if 1QuickSI's, Hostboard.com, used UBBNews ( Click Here ) but I thought his layout was done very well. At UBBDesign while JC uses UBBThreads his news can be done with UBBNews. At da LAN Tech the designer also used UBBThreads but again, it's possible with UBBNews. I have a modest UBBNews layout that you can check out ( Click Here ).

There are several ways you can use your CSS with UBBNews. Two ways are: In your "public_common.pl" file you can place a "link rel" right above the first "/head", or simply add your Style Sheet there. Then in "public_ubbnews.pl" just add the class calls into your Table, TR, TD or Font tags. Personally I would just eliminate all Font Tags and use the TD.

smile
Posted By: Tunnleram Re: UBBNews Template - 05/03/2003 6:25 AM
Thanks! Although I have to admit I didn't design it originally.

Thanks for the links too! smile Very kewl of you. I see there's a lot I can do...ugh now I have all these possibilities tipsy ~

I tried to get the style sheets to work, but I wasn't able to. Think I'm going to sleep on it hehe
Posted By: PrimeTime Re: UBBNews Template - 05/03/2003 11:00 AM
Cool...We'll be here. smile
Posted By: Tunnleram Re: UBBNews Template - 05/04/2003 10:15 PM
Quote
quote:
Originally posted by PrimeTime:
There are several ways you can use your CSS with UBBNews. Two ways are: In your "public_common.pl" file you can place a "link rel" right above the first "/head", or simply add your Style Sheet there. Then in "public_ubbnews.pl" just add the class calls into your Table, TR, TD or Font tags. Personally I would just eliminate all Font Tags and use the TD.
Ok, is editting your public_common.pl file just as good as editing your header in the style template from the control panel?

I'm missing the logic somewhere and I'm new at this...and CSS.
Posted By: PrimeTime Re: UBBNews Template - 05/05/2003 5:51 AM
It's the same. I often edit the files directly although adding the codes into the Header via CP is the easier option. smile
Posted By: Tunnleram Re: UBBNews Template - 05/05/2003 6:22 AM
smile Thanky

It works now it seems smile
Posted By: PrimeTime Re: UBBNews Template - 05/06/2003 4:39 AM
Cool. smile
© UBB.Developers