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, 61 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 - [Request help] modifying a theme [ ]
 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
Mercwar
Sergeant
Sergeant


Joined: Apr 14, 2003
Posts: 79


PostPosted: Sun Apr 27, 2003 7:08 am Reply with quoteBack to top

ok im a total noob to php and need help modifying a theme id like to ad a bg image for each page[its gonna be the sam image] a image to the top nav bar and a image to frame the blocks here is an example of what i would like to do if anyone can help it would be much aappreacited[i need to know everything exactly ie what files where in the code and what the code looks like] thanks in advancehttp://www.ionimagestudios.com/help.jpg
Find all posts by MercwarView user's profileSend private messageVisit poster's website
Mercwar
Sergeant
Sergeant


Joined: Apr 14, 2003
Posts: 79


PostPosted: Sun Apr 27, 2003 8:31 pm Reply with quoteBack to top

another thing is id like to know how to stop the theme being forced on my phpbb forums i installed a new theme just for the forums but i have tried and the site theme still overides the forums can anyonehelp plzzzzz!
Find all posts by MercwarView user's profileSend private messageVisit poster's website
Mercwar
Sergeant
Sergeant


Joined: Apr 14, 2003
Posts: 79


PostPosted: Mon Apr 28, 2003 7:38 am Reply with quoteBack to top

can someoneplzzz point me in the direction i need to go plzzzzzzzzzzzzz comon someone has to know.............. Mad Mad
Find all posts by MercwarView user's profileSend private messageVisit poster's website
cakepro
Corporal
Corporal


Joined: Apr 11, 2003
Posts: 55


PostPosted: Wed Apr 30, 2003 1:22 am Reply with quoteBack to top

In regard to your second post, the two places I would check are Administration Panel --> Forums --> Configuration. Scroll to mid-page and see if "Override User Style" is set to Yes. If it is, set it to no and save your changes at the bottom of the page. The second place I'd look is Your_Account --> Select Theme.

Sorry if your fix is not as simple as one of these two things. I know you're frustrated.

~ Sherri
Find all posts by cakeproView user's profileSend private message
Mercwar
Sergeant
Sergeant


Joined: Apr 14, 2003
Posts: 79


PostPosted: Wed Apr 30, 2003 4:58 am Reply with quoteBack to top

yeah i have looked at both thoses areas and no go sigh well thanks for ya reply i just gonna go and get some books and learn it myself Confused
Find all posts by MercwarView user's profileSend private messageVisit poster's website
foxyfemfem
Support Staff
Support Staff


Joined: Jan 23, 2003
Posts: 668

Location: USA

PostPosted: Wed Apr 30, 2003 6:34 am Reply with quoteBack to top

Mercwar wrote:
a bg image for each page[its gonna be the sam image] a image to the top nav bar and a image to frame the blocks

Hello, you can add the bg image to the theme < body > tag. I think this is found in the theme.php file. Take a look at your theme.php file you should be able to edit that file to remove a image or add your image (etc.) I removed the top half of theme to allow my bannerexchange script to go there in which I added the script to my_header.php file. The theme.php control the output of your theme.
Find all posts by foxyfemfemView user's profileSend private message
Mercwar
Sergeant
Sergeant


Joined: Apr 14, 2003
Posts: 79


PostPosted: Wed Apr 30, 2003 7:00 am Reply with quoteBack to top

ok i understand that i have been able to add a bg image to the header and behind the home message but it doesnt show behind all the news storys and behind the blocks and such i mean i didnt realize the site is broken up into so many dam sections and i have tried adding images to lots of files and some just screw up the site heres an example of what id like to do http://www.ionimagestudios.com/help.jpg i have even opened up the html files in dreamweaver and i see that there are like 4 or 5 tables ontop of each other which makes it impossible to add an image i mean why isnt there 1 table with all of the content and code all in one not top and bottom and middle and 2 tables behind thoes it seems a waste of code to me and i have tried to make new html myself but i alway screw up the php code insertion and it never coms out the way i want it to i have found a supposed theme creator but i think its costs like 20$ for it and i just cant rationalize paying 20$ just to change 1 theme that will be perment for the site that i should be able to do myself but thanks for the info much appreacited
Find all posts by MercwarView user's profileSend private messageVisit poster's website
foxyfemfem
Support Staff
Support Staff


Joined: Jan 23, 2003
Posts: 668

Location: USA

PostPosted: Wed Apr 30, 2003 7:35 am Reply with quoteBack to top

Hello,

In the theme.php file look for something like this "function themeindex" somewhere in that function statement control the output of the stories, etc. In my theme you can modify this area "FormatStory". Play around with that and see what happen. Whatever you do, make sure you dont mess up the original theme files. Make a test theme folder and play around with it.

Another place to look is here "Function themearticle" and "Function themesidebox" Play around with some of those function codes. Remember to use a test theme folder.
Find all posts by foxyfemfemView user's profileSend private message
Mercwar
Sergeant
Sergeant


Joined: Apr 14, 2003
Posts: 79


PostPosted: Wed Apr 30, 2003 8:02 am Reply with quoteBack to top

well im looking at that now and im unsure what u mean play around with it i have no real php knowledge and really have no clue as how to "Play around with it" this is what it says in that section for function theme index
Code:
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
    global $anonymous, $tipath;
    if ($notes != "") {
   $notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
    } else {
   $notes = "";
    }
    if ("$aid" == "$informant") {
   $content = "$thetext$notes\n";
    } else {
   if($informant != "") {
       $content = "<a href=\"userinfo-.html$informant\">$informant</a> ";
   } else {
       $content = "$anonymous ";
   }
   $content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
    }
    $posted = ""._POSTEDBY." ";
    $posted .= get_author($aid);
    $posted .= " "._ON." $time $timezone ($counter "._READS.")";
    $tmpl_file = "themes/fiblack/story_home.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;


yes im a total noob so some of what u are telling me is like asking a 3yr old to read shakesphere lol i mean i should just beable to edit the html files and add a bg to the whole thing this is soo dam fustrating

cant add images where i want forums new themes dont change and show im getting a few errors in the admiz section it just seems i am missing something or what not im unsure.......arghhh lol thanks for the help tho
Find all posts by MercwarView user's profileSend private messageVisit poster's website
foxyfemfem
Support Staff
Support Staff


Joined: Jan 23, 2003
Posts: 668

Location: USA

PostPosted: Wed Apr 30, 2003 8:12 am Reply with quoteBack to top

{giggling} And I'm like a 2 year old trying to tell the 3 year old about Shakespear. Laughing

Anyway, this statement
Code:
$tmpl_file = "themes/fiblack/story_home.html";
Apparently the story_home.html has the codes & graphics for the story output. Take a look at that file.

What I mean by "play around with it" uhm, modify and remodify it until you find the solution to your problem. Try, try and try again. If you don't succeed pick yourself up and try again Wink

Create a test theme folder, copy all the originial files there and modify those files in your test theme folder until you reach the outcome of what you seek.
Find all posts by foxyfemfemView user's profileSend private message
Mercwar
Sergeant
Sergeant


Joined: Apr 14, 2003
Posts: 79


PostPosted: Wed Apr 30, 2003 5:19 pm Reply with quoteBack to top

yeah i have opened all thoses files and looked at them in dreamweaver theres too many tables on top of tables on top of tables on top of tables i mean more than 3 or 4 tables its a bit clutered of code for me anyway i just want to make sure i put all the php code in the proper place
Find all posts by MercwarView user's profileSend private messageVisit poster's website
mikem
Theme Guru
Theme Guru


Joined: Jan 13, 2003
Posts: 1582

Location: Corn fields of Indiana

PostPosted: Wed Apr 30, 2003 5:24 pm Reply with quoteBack to top

Bit of advice. Don't use Dreamweaver to edit your theme files or any php/Nuke files whatsoever.
User UltraEdit or Editplus or some other text editor.
Dreamweaver or Frontpage or any other html editor can and will "mess" up your theme files.

mikem

_________________
Getting Started | My Projects
Find all posts by mikemView 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.231 Seconds - 226 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::