1 頁 (共 1 頁)

[外掛] AQUA theme help

發表於 : 2005-07-02 12:29
djsmegastore
Hello.
Im using Aqua theme in my forum.
I want to change the original aqua banner to my banner locate in this adress:
http://photobucket.com/albums/a2/tech01 ... anner4.jpg

Where i need to modify?
And please i need the code to change this too.
Im triyng to change in overal_header.tpl,but without sucess.

代碼: 選擇全部

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
{META}
{NAV_LINKS}
<title>{SITENAME}   {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/aqua/{T_HEAD_STYLESHEET}" type="text/css" />
<style type="text/css">
<!--
TH { background-image: url(templates/aqua/images/{T_TH_CLASS2}) }
TD.rowpic { background-image: url(templates/aqua/images/{T_TH_CLASS3}); background-repeat: repeat-y }
TD.cat, TD.catHead,TD.catSides,TD.catLeft,TD.catRight,TD.catBottom { background-image: url(templates/aqua/images/{T_TH_CLASS1}) }
body {
background-color: #FFFFFF;
background-image: url(templates/aqua/images/background1.gif);
background-attachment : fixed;
}
-->
</style>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
</head>
<body text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
<div id="Layer1" style="position:absolute; left:0px; top:0px; width:80px; height:60px; z-index:1">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="80" height="60" id="ball" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="templates/aqua/images/ball.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#ffffff" />
<embed src="templates/aqua/images/ball.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="80" height="60" name="ball" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="templates/aqua/images/aqua_bg02.gif">
<tr>
<td align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="{U_INDEX}" class="aquamenu"><img src="templates/aqua/images/obj_head.jpg" alt="{SITENAME}" width="330" height="51" border="0"></a></td>
<td align="center"><a name="top"></a><span class="loslogosbig">{SITENAME}</span><br /><span class="loslogos">{SITE_DESCRIPTION}</span></td>
<td align="right"><a href="{U_INDEX}" class="aquamenu"><img src="templates/aqua/images/obj_head1.jpg" alt="{SITENAME}" width="330" height="51" border="0"></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td background="templates/aqua/images/obj_menu_01.gif" align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="6"><img src="templates/aqua/images/obj_menu_02.gif" width="6" height="22"></td>
<td><span class="aquamenu"><a href="{U_FAQ}" class="aquamenu"><img src="templates/aqua/images/icon_mini.gif" width="12" height="12" border="0" alt="{L_FAQ}" hspace="3" align="absmiddle" />{L_FAQ}</a>&nbsp;</span></td>
<td width="6"><img src="templates/aqua/images/obj_menu_02.gif" width="6" height="22"></td>
<td><span class="aquamenu"><a href="{U_SEARCH}" class="aquamenu"><img src="templates/aqua/images/icon_mini.gif" width="12" height="12" border="0" alt="{L_SEARCH}" hspace="3" align="absmiddle" />{L_SEARCH}</a>&nbsp;</span></td>
<!-- BEGIN switch_user_logged_out -->
<td width="6"><img src="templates/aqua/images/obj_menu_02.gif" width="6" height="22"></td>
<td><span class="aquamenu"><a href="{U_REGISTER}" class="aquamenu"><img src="templates/aqua/images/icon_mini.gif" width="12" height="12" border="0" alt="{L_REGISTER}" hspace="3"  align="absmiddle" />{L_REGISTER}</a>&nbsp;</span></td>
<!-- END switch_user_logged_out -->
<td width="6"><img src="templates/aqua/images/obj_menu_02.gif" width="6" height="22"></td>
<td><span class="aquamenu"><a href="{U_PROFILE}" class="aquamenu"><img src="templates/aqua/images/icon_mini.gif" width="12" height="12" border="0" alt="{L_PROFILE}" hspace="3"  align="absmiddle" />{L_PROFILE}</a>&nbsp;</span></td>
<td width="6"><img src="templates/aqua/images/obj_menu_02.gif" width="6" height="22"></td>
<td><span class="aquamenu"><a href="{U_MEMBERLIST}" class="aquamenu"><img src="templates/aqua/images/icon_mini.gif" width="12" height="12" border="0" alt="{L_MEMBERLIST}" hspace="3" align="absmiddle" />{L_MEMBERLIST}</a>&nbsp;</span></td>
<td width="6"><img src="templates/aqua/images/obj_menu_02.gif" width="6" height="22"></td>
<td><span class="aquamenu"><a href="{U_GROUP_CP}" class="aquamenu"><img src="templates/aqua/images/icon_mini.gif" width="12" height="12" border="0" alt="{L_USERGROUPS}" hspace="3"  align="absmiddle" />{L_USERGROUPS}</a>&nbsp;</span></td>
<td width="6"><img src="templates/aqua/images/obj_menu_02.gif" width="6" height="22"></td>
<td><span class="aquamenu"><a href="{U_PRIVATEMSGS}" class="aquamenu"><img src="templates//aqua/images/icon_mini.gif" width="12" height="12" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" align="absmiddle" />{PRIVATE_MESSAGE_INFO}</a>&nbsp;</span></td>
<td width="6"><img src="templates/aqua/images/obj_menu_02.gif" width="6" height="22"></td>
<td><span class="aquamenu"><a href="{U_LOGIN_LOGOUT}" class="aquamenu"><img src="templates//aqua/images/icon_mini.gif" width="12" height="12" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" align="absmiddle" />{L_LOGIN_LOGOUT}</a>&nbsp;</span></td>
<td width="6"><img src="templates/aqua/images/obj_menu_02.gif" width="6" height="22"></td>
</tr>
</table>
</td>
</tr>
</table>
</br>

This is my overal_header.tpl.
Help me please.
Thanks in advance.

發表於 : 2005-07-02 12:53
Kill
Try to change this

代碼: 選擇全部

<td class="title"><table width="100%" height="100%" cellpadding="0" cellspacing="0"><tr><td width="150" background="templates/alexis/images/top.gif">&nbsp;</td><td valign="bottom"><div align="right"><img src="templates/alexis/images/logo.gif"></img>

發表於 : 2005-07-02 20:16
djsmegastore
Sorry,its wrong template...

I need help with the aqua style.
Really sorry about this.

代碼: 選擇全部

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
{META}
{NAV_LINKS}
<title>{SITENAME}   {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/aqua/{T_HEAD_STYLESHEET}" type="text/css" />
<style type="text/css">
<!--
TH { background-image: url(templates/aqua/images/{T_TH_CLASS2}) }
TD.rowpic { background-image: url(templates/aqua/images/{T_TH_CLASS3}); background-repeat: repeat-y }
TD.cat, TD.catHead,TD.catSides,TD.catLeft,TD.catRight,TD.catBottom { background-image: url(templates/aqua/images/{T_TH_CLASS1}) }
body {
background-color: #FFFFFF;
background-image: url(templates/aqua/images/background1.gif);
background-attachment : fixed;
}
-->
</style>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
</head>
<body text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
<div id="Layer1" style="position:absolute; left:0px; top:0px; width:80px; height:60px; z-index:1">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="80" height="60" id="ball" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="templates/aqua/images/ball.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#ffffff" />
<embed src="templates/aqua/images/ball.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="80" height="60" name="ball" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="templates/aqua/images/aqua_bg02.gif">
<tr>
<td align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="{U_INDEX}" class="aquamenu"><img src="templates/aqua/images/obj_head.jpg" alt="{SITENAME}" width="330" height="51" border="0"></a></td>
<td align="center"><a name="top"></a><span class="loslogosbig">{SITENAME}</span><br /><span class="loslogos">{SITE_DESCRIPTION}</span></td>
<td align="right"><a href="{U_INDEX}" class="aquamenu"><img src="templates/aqua/images/obj_head1.jpg" alt="{SITENAME}" width="330" height="51" border="0"></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td background="templates/aqua/images/obj_menu_01.gif" align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="6"><img src="templates/aqua/images/obj_menu_02.gif" width="6" height="22"></td>
<td><span class="aquamenu"><a href="{U_FAQ}" class="aquamenu"><img src="templates/aqua/images/icon_mini.gif" width="12" height="12" border="0" alt="{L_FAQ}" hspace="3" align="absmiddle" />{L_FAQ}</a>&nbsp;</span></td>
<td width="6"><img src="templates/aqua/images/obj_menu_02.gif" width="6" height="22"></td>
<td><span class="aquamenu"><a href="{U_SEARCH}" class="aquamenu"><img src="templates/aqua/images/icon_mini.gif" width="12" height="12" border="0" alt="{L_SEARCH}" hspace="3" align="absmiddle" />{L_SEARCH}</a>&nbsp;</span></td>
<!-- BEGIN switch_user_logged_out -->
<td width="6"><img src="templates/aqua/images/obj_menu_02.gif" width="6" height="22"></td>
<td><span class="aquamenu"><a href="{U_REGISTER}" class="aquamenu"><img src="templates/aqua/images/icon_mini.gif" width="12" height="12" border="0" alt="{L_REGISTER}" hspace="3"  align="absmiddle" />{L_REGISTER}</a>&nbsp;</span></td>
<!-- END switch_user_logged_out -->
<td width="6"><img src="templates/aqua/images/obj_menu_02.gif" width="6" height="22"></td>
<td><span class="aquamenu"><a href="{U_PROFILE}" class="aquamenu"><img src="templates/aqua/images/icon_mini.gif" width="12" height="12" border="0" alt="{L_PROFILE}" hspace="3"  align="absmiddle" />{L_PROFILE}</a>&nbsp;</span></td>
<td width="6"><img src="templates/aqua/images/obj_menu_02.gif" width="6" height="22"></td>
<td><span class="aquamenu"><a href="{U_MEMBERLIST}" class="aquamenu"><img src="templates/aqua/images/icon_mini.gif" width="12" height="12" border="0" alt="{L_MEMBERLIST}" hspace="3" align="absmiddle" />{L_MEMBERLIST}</a>&nbsp;</span></td>
<td width="6"><img src="templates/aqua/images/obj_menu_02.gif" width="6" height="22"></td>
<td><span class="aquamenu"><a href="{U_GROUP_CP}" class="aquamenu"><img src="templates/aqua/images/icon_mini.gif" width="12" height="12" border="0" alt="{L_USERGROUPS}" hspace="3"  align="absmiddle" />{L_USERGROUPS}</a>&nbsp;</span></td>
<td width="6"><img src="templates/aqua/images/obj_menu_02.gif" width="6" height="22"></td>
<td><span class="aquamenu"><a href="{U_PRIVATEMSGS}" class="aquamenu"><img src="templates//aqua/images/icon_mini.gif" width="12" height="12" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" align="absmiddle" />{PRIVATE_MESSAGE_INFO}</a>&nbsp;</span></td>
<td width="6"><img src="templates/aqua/images/obj_menu_02.gif" width="6" height="22"></td>
<td><span class="aquamenu"><a href="{U_LOGIN_LOGOUT}" class="aquamenu"><img src="templates//aqua/images/icon_mini.gif" width="12" height="12" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" align="absmiddle" />{L_LOGIN_LOGOUT}</a>&nbsp;</span></td>
<td width="6"><img src="templates/aqua/images/obj_menu_02.gif" width="6" height="22"></td>
</tr>
</table>
</td>
</tr>
</table>
</br>

發表於 : 2005-07-02 21:00
Kill
Oh! This banner is a flash files.
Try to change this.

代碼: 選擇全部

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="80" height="60" id="ball" align="middle"> 
<param name="allowScriptAccess" value="sameDomain" /> 
<param name="movie" value="templates/aqua/images/ball.swf" /> 
<param name="quality" value="high" /> 
<param name="wmode" value="transparent" /> 
<param name="bgcolor" value="#ffffff" /> 
<embed src="templates/aqua/images/ball.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="80" height="60" name="ball" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> 
</object>

發表於 : 2005-07-03 14:49
djsmegastore
Thanks for your help.

Change:

代碼: 選擇全部

<tr> 
<td><a href="{U_INDEX}" class="aquamenu"><img src="templates/aqua/images/obj_head.jpg" alt="{SITENAME}" width="330" height="51" border="0"></a></td> 
<td align="center"><a name="top"></a><span class="loslogosbig">{SITENAME}</span><br /><span class="loslogos">{SITE_DESCRIPTION}</span></td> 
<td align="right"><a href="{U_INDEX}" class="aquamenu"><img src="templates/aqua/images/obj_head1.jpg" alt="{SITENAME}" width="330" height="51" border="0"></a></td> 
</tr>
With:

代碼: 選擇全部

<tr>
<td class="title">
<table width="100%" height="100%" cellpadding="0" cellspacing="0"> <img src="banner url"></img></td></tr></table></td>
</tr>