Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 80
2 members and 78 guests
foo7tjtdallergp, health46ev26
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

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

Reply
 
LinkBack Thread Tools Display Modes
image in the back with a new theme ??
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 4
Join Date: May 2003
image in the back with a new theme ?? - 05-14-2003, 08:23 AM

hey all hi mikem
i am trying to learn about creating a new theme for my site .
I have a first question to begin it :
i want to put an image in the back in 1024*768 or 800*600 how to do that ??

after i want to know if its possible to have the background of a block with opacity in order to see this image in the back trough the background of the block

thx ofr your answers
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Please take a look at See Thru exXxPress
Old
  (#2 (permalink))
Junior Member
 
Status: Offline
Posts: 50
Join Date: Nov 2002
Location: Chicago, IL.
Please take a look at See Thru exXxPress - 05-14-2003, 08:33 AM

Yes it is possible!

Please take a look at this theme! Pardon the WebSites dust but the current site in under reconstruction. The theme is available. Take a look at the code and it will answer your question!

http://exxxpresshosting.com/modules....download&cid=2
   
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: 4
Join Date: May 2003
05-14-2003, 09:06 AM

thx its a very good job !!!

but .. now i need the same for the forum phpbb include .. can you help me for that ?? ( forums not in your great theme )
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Junior Member
 
Status: Offline
Posts: 81
Join Date: Apr 2003
05-14-2003, 09:06 AM

To add your background (1024 x 768 or 800x 600) on most themes under function themeheader, you'll find the body tag, change the body to something like this

Code:
echo "<body background=\"themes/YOURTHEME/images/YOURIMAGE.gif\" bgproperties=\"fixed\" topmargin=\"0\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">";
then in your style.css in the style folder add the lines

Code:
BACKGROUND-ATTACHMENT: fixed;  
BACKGROUND-REPEAT: no-repeat;
into body style, this make your image non repeatable.

as for the blocks with opacity simply add a class into your css, example

Code:
TD.blocks {
FILTER: alpha(opacity="80"); 
BACKGROUND-COLOR: #dddddd
}
then go to your blocks.html or if its in theme.php give the blocks that class, which in this case i named it blocks. 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
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 4
Join Date: May 2003
05-17-2003, 06:55 AM

thx for this help i have used what you say but for the block opacity i have a problem it dont work ..
i have this in my css
Code:
TD.blocks { 
FILTER: alpha(opacity="47"); 
BACKGROUND-COLOR: #083E68 
}
and i have this in my blocks.html
Code:
<link href="/themes/SeeThruExXxPress/style/style.css" rel="stylesheet" type="text/css"> <table width="152" border="0" cellpadding="4" cellspacing="2" style="border-left-width: 0; border-right-width: 0; border-bottom-width: 0; border-collapse:collapse">
  <tr>
    <td width="140">
      <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#FF99FF" style="border-left-width: 0; border-right-width: 0; border-bottom-width: 0; border-collapse:collapse">
        <tr>
          <td width="100%" height="21" align="left" bordercolor="#0099CC" background="themes/SeeThruExXxPress/images/contentmenu.gif"> 
             
            <center>
              <font color="FFFFFF">$title</font> 
            </center>
             </td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td><table width="100%" cellpadding="0" cellspacing="0" class="blocks">
        <tr>
          <td class="blocks">$content </td>
        </tr>
      </table></td>
  </tr>
</table>
but it seems dont works i cant see just the image in the back of the theme but not a color background with an alpha for the background of my blocks

any idea or something i make wrong ?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Junior Member
 
Status: Offline
Posts: 81
Join Date: Apr 2003
05-17-2003, 07:47 AM

ok, welll first you dont need to use
Code:
<link href="/themes/SeeThruExXxPress/style/style.css" rel="stylesheet" type="text/css">
since it will use style.css already so no need to put that in the blocks.html
then try this, instead of

Code:
 <td><table width="100%" cellpadding="0" cellspacing="0" class="blocks"> 
        <tr> 
          <td class="blocks">$content </td> 
        </tr> 
      </table></td>
try

Code:
 <td class=blocks><table width="100%" cellpadding="0" cellspacing="0"> 
        <tr> 
          <td>$content </td> 
        </tr> 
      </table></td>


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
Old
  (#7 (permalink))
Junior Member
 
Status: Offline
Posts: 4
Join Date: May 2003
05-18-2003, 10:09 AM

no it dont really works i dont understand why ..

i have follow what you explain me but snif .. dont really work ..
i thibk there was something in the theme php who replace this class in the block or something no ?
   
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
how can you add a background image outside the theme ? justcdr Nuke 7.x - Themes 1 01-14-2007 09:44 AM
How to make a theme and Back up. JoeS Theme packs 1 04-22-2005 09:02 AM
Forum theme error, how to change back to deep blue NoFear Nuke 7.x - Themes 3 11-29-2004 07:34 PM
Aeolus theme - 1 corrupt image - can't find replacement BuddahBoy Theme packs 2 08-28-2004 05:18 PM
Download and Weblinks image change with theme mikem FAQ/Fixes 0 02-21-2003 01:06 PM




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