Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Converting/Creating Themes
Author Message
crazy1701d
New Member
New Member



Joined: Jun 26, 2006
Posts: 8
Location: South Carolina

PostPosted: Thu May 07, 2009 4:01 pm Reply with quote

I have been working on making a theme using fisubice as a starting point. Everything is going well so far. The one thing that I am having trouble with is adding a jpg to the left and right sides of the page. Going from the header to the footer.

I have tried editing the header file and it does nothing I have tried editing the theme file which is where i believe it must be put but not sure where or how to inbed it.

I tried using a table but it either does not work or I am coding it wrong.

Everything that i have tried either puts the image on top of or below the left blocks.

Any help/ideas would be great. Very Happy
crazy
 
View user's profile Send private message MSN Messenger
bluerace
Regular
Regular



Joined: Apr 04, 2009
Posts: 85
Location: Behind you

PostPosted: Thu May 07, 2009 4:30 pm Reply with quote

Do you want to put your images on the phpnuke front-end? or the old bbtonuke?

_________________
Make stupid PHP-NUKE Smart, that's my favorite chore in Enteripse PHP-Nuke 
View user's profile Send private message Visit poster's website
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Thu May 07, 2009 4:33 pm Reply with quote

I can't remember how the outer table structure works, but you are going to have to edit more than one file at a time to get this to work.

I would try to edit the header to make a new table to encompass the entire site. This table would have one row and three columns. The left and right would hold your images and the center would be the site.

Remember you will have to edit the footer to close the table or at least to close the center column.

Maybe someone else can explain a better way, but short of attempting it I can not Sad

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
crazy1701d







PostPosted: Thu May 07, 2009 4:39 pm Reply with quote

Well lets start on the front end. I was able to change the header and footer but they are html. I just don't have a complete grasp on php yet. LOL
 
Palbin







PostPosted: Thu May 07, 2009 5:06 pm Reply with quote

I think you would only need to edit the header/footer in an fisubice type theme to make this work.
 
bluerace







PostPosted: Thu May 07, 2009 7:48 pm Reply with quote

check the following URL:
I posted a step-by-step guide.
[ Only registered users can see links on this board! Get registered or login! ]

Good Luck.
 
crazy1701d







PostPosted: Fri May 08, 2009 6:06 am Reply with quote

bluerace
i had tried just putting the img tag in there but it didnot do what i wanted.
Thanx tho

I went into an original header for fisubice and saw that I removed the open table lines at the end of the file.DA don't have the time right now to play so I will try later but it looks like that is the ticket. I will post anything I figure/find out.

Thanx for the help.
 
ToolBox
Regular
Regular



Joined: Mar 16, 2005
Posts: 74

PostPosted: Fri May 08, 2009 6:13 am Reply with quote

That works.
You may put wrong img tag or links.

Ok. Show your code in here.
 
View user's profile Send private message
crazy1701d







PostPosted: Sat May 09, 2009 5:52 am Reply with quote

k well I was able to get the pic on the left by adding this

<td height="100%" valign="top" style="background-image: url(themes/WoWBC/images/r5_cleft.jpg)"><img src="themes/WoWBC/images/r5_cleft.jpg" width="43" height="257" align="left" />

at the end of the header.html file so it now looks like this


<table width="100%" cellpadding="1" cellspacing="0" border="0" align="center">
<tr>
<td height="100%" valign="top" style="background-image: url(themes/WoWBC/images/r5_cleft.jpg)"><img src="themes/WoWBC/images/r5_cleft.jpg" width="43" height="257" align="left" />
<td>


But adding tthis line again in this file just put the image after the left blocks. So I figured the right side of the page must be controled with the footer.html.

But when I put it in there nothing seems to happen.Not sure if I am coding it right.This is how it looks

<td height="100%" valign="top" style="background-image: url(themes/WoWBC/images/r5_cleft.jpg)"><img src="themes/WoWBC/images/r5_cright.jpg" width="43" height="257" align="right" />
</td>
</td>
</td>

</tr>
</table>

Thanx again
 
bluerace







PostPosted: Sat May 09, 2009 11:22 am Reply with quote

ok. please follow this step:

step 1: zip your theme pack.
step 2: go to this follow
step 3: attach your compressed theme-pack
[ Only registered users can see links on this board! Get registered or login! ]

Don't forget only *.html and .php file under <nuke-root>/themes/YOUR-THEME-NAME.

step 4: explain what your theme is and what you would like to change.

Do not compress your <nuke-root>/themes/forums
 
crazy1701d







PostPosted: Fri Sep 11, 2009 8:27 am Reply with quote

K well it has been awhile but I wanted to come back and say i did get it all to work. It ended up being a couple things. The image wasn't displying right because of the size. and after going over and over the code I found a unclosed tag in the blocks file Sad. and of corse that threw everything off

I feel so dumb when it is something that easy/stupid. Just wanted to sy thanx for the help
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Converting/Creating Themes

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©