Re: WARNING THIS IS A TOUGH ONE: Icy Phoenix: Adding A "swf" And 3 "png's To The Existing Logo.
ok here we go
on my PC 1280x1024
and problem in IE (it doesnt show it to me , but i think its problem in
my IE)
1 . upload your
header.swf ,
top_header_l.png and
top_header_r.png in your templatesmg_themesimagesice
2 . open your templatesmg_themes
style_ice.css
find
#top_logo{
border: 0px solid #FFFFFF;
background: url(images/ice/top_header.png) repeat;
/* background: url(images/ice/top_header_ts.png) repeat; */
/*
MG XMas */
/*background: url(images/ice/xmas/xmas_header.png);*/
/*
MG XMas */
height: 150px;
}
replace it with
#top_logo{
border: 0px solid #FFFFFF;
/*background: url(images/ice/top_header.png) repeat-x;*/
background: #222864;
/* background: url(images/ice/top_header_ts.png) repeat; */
/*
MG XMas */
/*background: url(images/ice/xmas/xmas_header.png);*/
/*
MG XMas */
height: 120px;
}
3 . open your templatesmg_themes
overall_header.tpl
(now you have two options)
option - a - (this is with header banner code and sitename , option for adds on in header via ACP)
find
<div id="top_logo">
<table class="" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="150" align="left" valign="middle"><a href="{FULL_SITE_PATH}{U_PORTAL}" title="{L_HOME}"><img src="{FULL_SITE_PATH}{SITELOGO}" alt="{L_HOME}" title="{L_HOME}"/></a></td>
<td align="center" valign="middle">
<!-- BEGIN switch_header_banner -->
<center><br />{HEADER_BANNER_CODE}</center>
<!-- END switch_header_banner -->
</td>
<td align="right" valign="top">
<!-- <div class="sitedes"><h1>{SITENAME}</h1><h2>{SITE_DESCRIPTION}</h2></div> -->
<!-- BEGIN switch_user_logged_in -->
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<!-- END switch_user_logged_out -->
</td>
</tr>
</table>
</div>
replace it with
<div id="top_logo">
<table class="" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="top_logo" align="left" valign="top" height="120" width="109" style="padding:0px 0px;">
<img border="0" src="{T_IMAGESET_PATH}top_header_l.png" alt="">
<td class="top_logo" align="center" valign="top" height="120" width="220" style="padding:0px 0px;">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" HEIGHT="120" WIDTH="220">
<param name="movie" value="header.swf">
<param name="quality" value="high">
<param name=wmode value="transparent">
<embed src="{T_IMAGESET_PATH}header.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" HEIGHT="120" WIDTH="220"></embed>
</object>
<td class="top_logo" align="center" valign="top" height="120" width="475"style="padding:0px;">
<img src="{T_IMAGESET_PATH}top_header_r.png" alt="{L_HOME}" title="{L_HOME}"/></a>
<!-- BEGIN switch_header_banner -->
<center><br />{HEADER_BANNER_CODE}</center>
<!-- END switch_header_banner -->
</td>
<td align="right" valign="top">
<!-- <div class="sitedes"><h1>{SITENAME}</h1><h2>{SITE_DESCRIPTION}</h2></div> -->
<!-- BEGIN switch_user_logged_in -->
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<!-- END switch_user_logged_out -->
</td>
</td></td></td>
</tr>
</table>
</div>
option - b - (this is without header banner code and sitename , option for adds on in header via ACP) you will not be able to add site name and add on from ACP , but i think you dont need that
find
<div id="top_logo">
<table class="" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="150" align="left" valign="middle"><a href="{FULL_SITE_PATH}{U_PORTAL}" title="{L_HOME}"><img
src="{FULL_SITE_PATH}{SITELOGO}" alt="{L_HOME}" title="{L_HOME}"/></a></td>
<td align="center" valign="middle">
<!-- BEGIN switch_header_banner -->
<center><br />{HEADER_BANNER_CODE}</center>
<!-- END switch_header_banner -->
</td>
<td align="right" valign="top">
<!-- <div class="sitedes"><h1>{SITENAME}</h1><h2>{SITE_DESCRIPTION}</h2></div> -->
<!-- BEGIN switch_user_logged_in -->
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<!-- END switch_user_logged_out -->
</td>
</tr>
</table>
</div>
replace with
<div id="top_logo">
<table class="" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="top_logo" align="left" valign="top" height="120" width="109" style="padding:0px 0px;">
<img border="0" src="{T_IMAGESET_PATH}top_header_l.png" alt="">
<td class="top_logo" align="center" valign="top" height="120" width="220" style="padding:0px 0px;">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" HEIGHT="120" WIDTH="220">
<param name="movie" value="header.swf">
<param name="quality" value="high">
<param name=wmode value="transparent">
<embed src="{T_IMAGESET_PATH}header.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" HEIGHT="120" WIDTH="220"></embed>
</object>
<td class="top_logo" align="center" valign="top" height="120" width="475"style="padding:0px;">
<img src="{T_IMAGESET_PATH}top_header_r.png" alt="{L_HOME}" title="{L_HOME}"/></a>
</td></td></td>
</tr>
</table>
</div>
i suggest you to use option - b - you have more space to play with positions of your pics and swf
look
red words there in last spoiler you can play with positions (not too much but still inaf to set up how you want it)
PS , i removed top_header.png and puted blu color for background but you can put it back very easy if you want
And most important : backup your templatesmg_themesstyle_ice.css and overall_header.tpl before you start to do this changes !!
Good luck
BTW upload this one
top_header_l.png from attachment ,i croped it little
Description: |
|
Download |
Filename: |
top_header_l.rar |
Filesize: |
33.35 KB |
Downloaded: |
170 Time(s) |
____________
We are the
phpBBorg. Lower your Crackers. Your phpological and forumological distinctivness will be added to our own. Resistance if futile!