Previous Thread
Next Thread
Print Thread
Rate Thread
#115379 05/01/2003 6:14 PM
Joined: Nov 2001
Posts: 46
Member
Member
Offline
Joined: Nov 2001
Posts: 46
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.

Sponsored Links
#115380 05/01/2003 6:18 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
You can change practically every aspect of UBBNews in the "public_ubbnews.pl" file. It's located in the Templates directory. smile

#115381 05/01/2003 7:43 PM
Joined: Nov 2001
Posts: 46
Member
Member
Offline
Joined: Nov 2001
Posts: 46
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 ~

#115382 05/01/2003 8:29 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
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
#115383 05/02/2003 9:56 AM
Joined: Nov 2001
Posts: 46
Member
Member
Offline
Joined: Nov 2001
Posts: 46
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

Sponsored Links
#115384 05/02/2003 4:07 PM
Joined: Nov 2001
Posts: 46
Member
Member
Offline
Joined: Nov 2001
Posts: 46
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.

#115385 05/02/2003 8:54 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
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

#115386 05/02/2003 11:25 PM
Joined: Nov 2001
Posts: 46
Member
Member
Offline
Joined: Nov 2001
Posts: 46
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

#115387 05/03/2003 4:00 AM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Cool...We'll be here. smile

#115388 05/04/2003 3:15 PM
Joined: Nov 2001
Posts: 46
Member
Member
Offline
Joined: Nov 2001
Posts: 46
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.

Sponsored Links
#115389 05/04/2003 10:51 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
It's the same. I often edit the files directly although adding the codes into the Header via CP is the easier option. smile

#115390 05/04/2003 11:22 PM
Joined: Nov 2001
Posts: 46
Member
Member
Offline
Joined: Nov 2001
Posts: 46
smile Thanky

It works now it seems smile

#115391 05/05/2003 9:39 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Cool. smile


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services