You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 56 guest(s) and 2 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Changing the Theme Background for Skinner [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
copterdude
Nuke Soldier
Nuke Soldier


Joined: Jun 19, 2003
Posts: 13


PostPosted: Thu Jul 03, 2003 7:16 am Reply with quoteBack to top

I'm using the skinner theme from pixdesign and was wondering how to change the theme background from white to a gif image tiled.

I went to my theme.php and in

Code:
//************************************************************************
//** color code for change of theme background (only inside main table) **
//************************************************************************
$bgcolor20 = "#ffffff"; // color code for theme background (part 1) - background exept sidebar backgrounds
$bgcolor21 = "#ffffff"; // color code for theme background (part 2) - background of left sideblocks (not inside block)
$bgcolor22 = "#ffffff"; // color code for theme background (part 3) - background of right sideblocks (not inside block)


I changed that too

Code:
$bgcolor21 = "themes/theme_name/images/BG.gif\"> "; // color code for theme background (part 2) - background of left sideblocks (not inside block)
$bgcolor22 = "themes/theme_name/images/BG.gif\"> "; // color code for theme background (part 3) - background of right sideblocks (not inside block)


but that didn't seem to work, it jus made a big... "error block" the size of the BG.gif (same spelling/caps as the one on server)

the error is

Quote:
" valign="top" background="themes/skinner/images/back1.gif" width="138">


but atleast the "area" size is same size as the gif it looks like

Opps wrong thing...

actually its in

Quote:
//**********************************
// color codes for themeheader **
//**********************************
$bgcolor5 = "#ffffff"; // color code for page background


but trying the above adjustment causes the site background to go a yellowish color, its like its being ignored :/

I've tried copying the line out from themes with a Background image and changing it to the path of my theme image but that dosen't work either
Find all posts by copterdudeView user's profileSend private message
Jerfersor
Corporal
Corporal


Joined: Jun 27, 2003
Posts: 53


PostPosted: Thu Jul 03, 2003 11:16 am Reply with quoteBack to top

i'm not sure (newbie)

but by what i understand bgcolor is for COLORS only not for images...

wot i did in mine was look in into tables and stuff.....

get the name of the file of the background that was there and search for it into the files.... you will see how they are located and where.....

so you can change

sry if i'm wrong but im 98% sure thats it
Find all posts by JerfersorView user's profileSend private message
copterdude
Nuke Soldier
Nuke Soldier


Joined: Jun 19, 2003
Posts: 13


PostPosted: Thu Jul 03, 2003 11:33 am Reply with quoteBack to top

I also tried...

Code:
/************************************************************/
/* Function themeheader()                                   */
/************************************************************/

function themeheader() {
    global $alttext1, $banners, $bgcolor5, $bgcolor6, $bgcolor7, $bgcolor8, $bgcolor9, $bgcolor20, $bgcolor21;
    echo "<body background=\"themes/skinner/images/BG.jpg\" width=\"100%\" bgproperties=\"fixed\" topmargin=\"0\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">";
   ."<br>";
    if ($banners) {
   include("banners.php");
   echo "<br>";
    }


basically it kills the site doing that kills the site with

Quote:
Parse error: parse error in /home/airems/public_html/themes/skinner/theme.php on line 46

Fatal error: Call to undefined function: themeheader() in /home/airems/public_html/header.php on line 47
Find all posts by copterdudeView user's profileSend private message
copterdude
Nuke Soldier
Nuke Soldier


Joined: Jun 19, 2003
Posts: 13


PostPosted: Thu Jul 03, 2003 11:34 am Reply with quoteBack to top

Jerfersor wrote:
i'm not sure (newbie)

but by what i understand bgcolor is for COLORS only not for images...

wot i did in mine was look in into tables and stuff.....

get the name of the file of the background that was there and search for it into the files.... you will see how they are located and where.....

so you can change

sry if i'm wrong but im 98% sure thats it


Skinner theme unfortunantly has no background image, so I cannot look for that within the files to replace with a similar image to change the background "easily" :/
Find all posts by copterdudeView user's profileSend private message
Jerfersor
Corporal
Corporal


Joined: Jun 27, 2003
Posts: 53


PostPosted: Thu Jul 03, 2003 1:56 pm Reply with quoteBack to top

but if you keep on trying to edit the bgcolor your are not going anywhere for sure...

try editing the theme.php

Code:
function themeheader() {
    global $user, $banners, $sitename, $slogan, $cookie, $prefix, $dbi;
    cookiedecode($user);
    $username = $cookie[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<BODY  text=\"#FF0000\" vLink=\"#aaaeb3\" aLink=\"#aaaeb3\" link=\"#aaaeb3\" bgColor=\"#000000\" background=\"themes/YUOUR THEME/images/IMAGE.gif\" topMargin=\"0\"
marginheight=\"0\" marginwidth=\"0\">";


thats sorta what i got what you need to do is edit the BODY section and add
Code:
background=\"themes/YUOUR THEME/images/YOUR BACKGROUND.gif


hope it helps look into other themes so you can compare
Find all posts by JerfersorView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.195 Seconds - 363 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::