Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 100
9 members and 91 guests
blo5codpressure, cheadi3apsprsb8, debrajea1, den2zqsverhonfg, jewgx3bishspo7s, paydaysubcompay, ric6tphardwaw9a, tab9tqdcpr7h4le, tidownes
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > PHP-Nuke 6.5 to 6.9 > Nuke 6.5 to 6.9 - Themes

Reply
 
LinkBack Thread Tools Display Modes
Forum Background Color Question
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 8
Join Date: Apr 2003
Forum Background Color Question - 04-22-2003, 11:17 PM

Hello,

Just wondering where the forum background color is specified. The background for my site is blue, but the forum backround is white.... As I have the left blocks turned off when viewing the forums you see the whole page white (except a 25 pixel column on the left that is using a bg image the rest of the site uses).

From what I can tell, the forums use one of the opentable command colors, $bgcolor . . . is there a way to specifically state what color it is to be, or am I missing something right in front of me?

I know the $bgcolors are specified in the theme.php, but what if I needed to use another color?

Thanks!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
04-22-2003, 11:26 PM

got a link so we can see?

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 81
Join Date: Apr 2003
04-23-2003, 12:18 AM

on 6.5 nukes it uses opentable for the phpbb forums, if you want to change the opentable bg from color to image you can do that by editing your theme.php, find opentable function (should be first couple lines on most themes, or if your theme uses table.php then open that.) It should look something like this

Code:
function OpenTable() {
    global $bgcolor1, $bgcolor2;
    echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\"><tr><td>\n";
    echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
change it to:


Code:
function OpenTable() {
    global $bgcolor1, $bgcolor2;
    echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" ><tr><td background=\"themes/yourtheme/images/yourimage.gif\">\n";
    echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"8\" ><tr><td>\n";
}

replace yourimage with what ever bg image your using. hope this helps


Think all nukes look the same?
=) Think again. www.mtechnik.net
Public / commercial themes
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Enter a background color in a css file Dauthus Theme packs 1 07-05-2005 06:48 AM
background color? maverick1 Nuke 7.x - Blocks 4 03-24-2005 01:28 PM
MsTrenches Block background color joshmosh Theme packs 2 03-17-2005 02:04 PM
Subblack background color HimmelHund Theme packs 4 04-15-2003 06:02 PM
Changing Subsytems Background Color !! dds Purged Topics 5 02-24-2003 02:02 AM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31