Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Banners Didn't Work 
 
Hi all  
I have subscribed google ad-sense but when I have tried to put the adsense code into banner field (and I have enabled it) I have discovered that it doesent work and not only ... after that I have tried to put casual simple text on this field withouth success and so I have tried with some know html (html option on ACP is enabled) with same result ...
I have searched on the forum but seems that this type of problem is related to oldest version of Icyphoenix and not the leatest 1.0.15b (that I have installed).
The theme that I use on my forum is morpheus blue and I have modified only the height of the header.
You can see my forum at www.zibu.it

Thanks in advance
Mirko
 



 
buzzy84Send private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Banners Didn't Work 
 
try to add banner code directly into the header
 




____________
*VOLVO CLUB*
 
difusSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Banners Didn't Work 
 
difus wrote: [View Post]
try to add banner code directly into the header


Thank for the answer difus  
Wath's the correct place where insert the banner code ?
 



 
buzzy84Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Banners Didn't Work 
 
for icy theme open overall_header.tpl

find
Code: [Download] [Hide] [Select]
<tr>
    <td width="100%" colspan="3" valign="top">
        <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 -->
        &nbsp;
        <!-- END switch_user_logged_in -->
        <!-- BEGIN switch_user_logged_out -->
        &nbsp;
        <!-- END switch_user_logged_out -->
        </td>
        </tr>
        </table>
        </div>
    </td>
</tr>


if your code for example <bla bla banner add>

then


Code: [Download] [Hide] [Select]
<tr>
    <td width="100%" colspan="3" valign="top">
        <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">
            <!-- add_banner_begin -->
            <center><br />
                        <bla bla banner add>
            </center>
            <!-- add_banner_end -->
        </td>
        <td align="right" valign="top">
        <!-- <div class="sitedes"><h1>{SITENAME}</h1><h2>{SITE_DESCRIPTION}</h2></div> -->
        <!-- BEGIN switch_user_logged_in -->
        &nbsp;
        <!-- END switch_user_logged_in -->
        <!-- BEGIN switch_user_logged_out -->
        &nbsp;
        <!-- END switch_user_logged_out -->
        </td>
        </tr>
        </table>
        </div>
    </td>
</tr>


do it for all headers what you have
 




____________
*VOLVO CLUB*
 
difusSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Banners Didn't Work 
 
Very very thank for your help and for your very complete answer  
 



 
buzzy84Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Banners Didn't Work 
 
I have tried to change banner code in the overall_header.tpl (path ./forum/themes/mg_themes/*.*) file but it doesn't work (also after the browser cache was deleted ...)  
I have also tried to put in this place some random text but also it dosen't work.
Maybe because I have changed heder size (into overall_heder_mx.tpl) ? (I think this isn't the problem ...)
Thank in advance
Mirko - buzzy84
 



 
buzzy84Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Banners Didn't Work 
 
give us an url of where the code it's inserted (via ACP), restore template back to original file
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Banners Didn't Work 
 
Zuker wrote: [View Post]
give us an url of where the code it's inserted (via ACP), restore template back to original file


Ok I have restored back the original files but resul was the same ... :(, I'll also try to restore original graphic files ...

What do you mean for url where the code is inserted? Exact url where ACP -> Heder & Banners point to ?

Edit: I have restored all files but banners dosn't appear  
 



 
buzzy84Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Banners Didn't Work 
 
I have renamed the overall_header.tpl and the overall_header_mx.tpl contained in ./templates/mg_themes/ to  samename.old and cleared browser chache after that nothing was changed ...  
 



 
buzzy84Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Banners Didn't Work 
 
first find your real overall_header.tpl for m_blue theme
 




____________
*VOLVO CLUB*
 
difusSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Banners Didn't Work 
 
difus wrote: [View Post]
first find your real overall_header.tpl for m_blue theme


Ok I've founded it ... on path "./forum/templates/mg_themes" there aren't other files called overall_header.tpl ...
I think that the file related to the morpheus theme is the overall_header_mx.tpl ... and that other overall_header.tpl is a shared component between themes ...

I have do several tryes but withouth success  

ps. difus have you inserted banners on your site througth ACP -> Headers&Banners filds or by editing directly overal_hedaer.tpl ?


Thank
Mirko
 



 
buzzy84Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Banners Didn't Work 
 
Please could someone tell me how find correct *.tpl to edit ?
Because changing current overall_header_mx.tpl (that have the same size of overall_header_mx.tpl of morpheus blue) not affect heder visualization ...
 



 
buzzy84Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Banners Didn't Work 
 
buzzy84 wrote: [View Post]
difus wrote: [View Post]
first find your real overall_header.tpl for m_blue theme


Ok I've founded it ... on path "./forum/templates/mg_themes" there aren't other files called overall_header.tpl ...
I think that the file related to the morpheus theme is the overall_header_mx.tpl ... and that other overall_header.tpl is a shared component between themes ...

I have do several tryes but withouth success  

ps. difus have you inserted banners on your site througth ACP -> Headers&Banners filds or by editing directly overal_hedaer.tpl ?


Thank
Mirko


I have used both , no difference.

wait I'll try to install your theme in one of my sites
 




____________
*VOLVO CLUB*
 
difusSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Banners Didn't Work 
 
my result  

 banner


yes , this header doesn't support banner throught ACP

this is my overall_header_mx.tpl

you can configure it for your needs [ change my banner , logo ]

Code: [Download] [Hide] [Select]
{DOCTYPE_HTML}
<head>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-style-type" content="text/css" />
{META}
{META_TAG}
{NAV_LINKS}
<title>{PAGE_TITLE}</title>
<link rel="shortcut icon" href="{FULL_SITE_PATH}images/favicon.ico" />
<link rel="stylesheet" href="{FULL_SITE_PATH}templates/mg_themes/style_{CSS_COLOR}.css" type="text/css" />
<link rel="stylesheet" href="{FULL_SITE_PATH}templates/common/js/color_wheel.css" type="text/css" />
<script type="text/javascript" src="{FULL_SITE_PATH}language/{L_BBCB_MG_LANG}/bbcb_mg.js"></script>
<script type="text/javascript" src="{FULL_SITE_PATH}templates/common/js/scripts.js"></script>
<script type="text/javascript" src="{FULL_SITE_PATH}templates/common/js/mg_scripts.js"></script>
<script type="text/javascript" src="{FULL_SITE_PATH}templates/common/js/toggle_display.js"></script>

<!-- BEGIN switch_lightbox -->
<script type="text/javascript">
<!--
// Configuration
var fileLoadingImage = "{FULL_SITE_PATH}templates/common/images/loading.gif";
var fileBottomNavCloseImage = "{FULL_SITE_PATH}templates/common/images/closelabel.gif";
var resizeSpeed = 7; // controls the speed of the image resizing (1=slowest and 10=fastest)
var borderSize = 10; //if you adjust the padding in the CSS, you will need to update this variable
//-->
</script>
<link rel="stylesheet" href="{FULL_SITE_PATH}templates/common/js/lightbox.css" type="text/css" />
<script type="text/javascript" src="{FULL_SITE_PATH}templates/common/js/prototype.js"></script>
<script type="text/javascript" src="{FULL_SITE_PATH}templates/common/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="{FULL_SITE_PATH}templates/common/js/lightbox.js"></script>
<!-- END switch_lightbox -->

<!-- BEGIN switch_ajax_features -->
<script type="text/javascript">
<!--
var S_SID = '{S_SID}';
var ajax_core_defined = 0;
var phpbb_root_path = '{PHPBB_ROOT_PATH}';
var phpEx = '{PHPEX}';
var POST_FORUM_URL = '{POST_FORUM_URL}';
var POST_TOPIC_URL = '{POST_TOPIC_URL}';
var POST_POST_URL = '{POST_POST_URL}';
var LOGIN_MG = '{LOGIN_MG}';
var PORTAL_MG = '{PORTAL_MG}';
var FORUM_MG = '{FORUM_MG}';
var VIEWFORUM_MG = '{VIEWFORUM_MG}';
var VIEWTOPIC_MG = '{VIEWTOPIC_MG}';
var PROFILE_MG = '{PROFILE_MG}';
var POSTING_MG = '{POSTING_MG}';
var SEARCH_MG = '{SEARCH_MG}';
var ajax_page_charset = '{S_CONTENT_ENCODING}';
//-->
</script>

<script type="text/javascript" src="{FULL_SITE_PATH}templates/common/js/ajax/ajax_core.js"></script>
<!-- END switch_ajax_features -->

<!--[if lt IE 7]>
<script type="text/javascript" src="{FULL_SITE_PATH}templates/common/js/pngfix.js"></script>
<![endif]-->

<!-- BEGIN mg_switch_xmas_fx -->
<script type="text/javascript">
<!--
//Edit the next few lines to suit your page. Recommended values are:
//numFlakes = 10; downSpeed = 0.01; lrFlakes = 10;

var pictureSrc = '{FULL_SITE_PATH}images/xmas/snfl_01.gif'; //the location of the snowflakes
var pictureWidth = 10;            //the width of the snowflakes
var pictureHeight = 12;           //the height of the snowflakes
var numFlakes = 20;               //the number of snowflakes
var downSpeed = 0.01;             //the falling speed of snowflakes (portion of screen per 100 ms)
var lrFlakes = 10;                //the speed that the snowflakes should swing from side to side
                                                                    //relative to distance fallen (swing increases with fewer
                                                                    //snowflakes to fill available space)
//-->
</script>
<script type="text/javascript" src="{FULL_SITE_PATH}templates/common/js/snow_fx.js"></script>
<!-- END mg_switch_xmas_fx -->

<!-- IE conditional comments: http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp -->
<!--[if IE]>
<style type="text/css">
/* IE hack to emulate the :hover & :focus pseudo-classes
     Add the selectors below that required the extra attributes */
.row1h, .row1h-new { behavior: url("{FULL_SITE_PATH}templates/common/pseudo-hover.htc"); }
</style>
<![endif]-->

{UPI2DB_FIRST_USE}
</head>
<body>
<span><a name="top"></a></span>
{TOP_HTML_BLOCK}
{PROFILE_VIEW}
<!-- {GREETING_POPUP} -->

<div style="margin:5px;">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
    <td width="100%" colspan="3" valign="top">
        <div id="top_logo">
        <table class="" width="100%" cellspacing="0" cellpadding="0" border="0">
        <tr>
        <td height="150" align="left" valign="middle"><a href="{U_PORTAL}" title="{L_HOME}"><img src="{FULL_SITE_PATH}{SITELOGO}" alt="{L_HOME}" title="{L_HOME}"/></a></td>
        <td align="center" valign="middle">
            <!-- digi-sky.net code begin -->
<center><script language="JavaScript">document.write('<s'+'cript language="JavaScript" src="http://ace.digi-sky.net/show.php?n=1&size=1&j=1&code='+new Date().getTime()+'"></s'+'cript>');</script></center>
<!-- digi-sky.net code end -->
 
            </CENTER>
            <!-- digi-sky.net code end -->
        </td>
        <td align="right" valign="top">
        <!-- <div class="sitedes"><h1>{SITENAME}</h1><h2>{SITE_DESCRIPTION}</h2></div> -->
        <!-- BEGIN switch_user_logged_in -->
        &nbsp;
        <!-- END switch_user_logged_in -->
        <!-- BEGIN switch_user_logged_out -->
        &nbsp;
        <!-- END switch_user_logged_out -->
        </td>
        </tr>
        </table>
        </div>
    </td>
</tr>
<tr>
    <td height="22"><img src="{FULL_SITE_PATH}{T_IMAGESET_PATH}/buttons_left1.gif" width="9" height="22" alt="" /></td>
    <td class="buttons1" align="center" valign="top"><table border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td width="12" align="right"><img src="{FULL_SITE_PATH}{T_IMAGESET_PATH}buttons_left2.gif" width="12" height="22" alt="" /></td>
        <td class="buttons" nowrap="nowrap" valign="top">
            <a href="{U_PORTAL}">{L_HOME}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
            <a href="{U_INDEX}">{L_INDEX}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
            <!-- BEGIN switch_upi2db_off -->
            <a href="{U_SEARCH_NEW}">{L_NEW2}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
            <!-- END switch_upi2db_off -->
            <!-- BEGIN switch_upi2db_on -->
            <span >{L_POSTS}:&nbsp;</span><a href="{U_SEARCH_NEW}">{L_NEW2}</a><span >&nbsp;•&nbsp;</span>{L_DISPLAY_U}<span >&nbsp;•&nbsp;</span>{L_DISPLAY_M}<span >&nbsp;•&nbsp;</span>{L_DISPLAY_P}&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
            <!-- END switch_upi2db_on -->
            <!-- BEGIN switch_user_logged_in -->
            <a href="{U_PROFILE}">{L_PROFILE}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
            <!-- END switch_user_logged_in -->
            <a href="{U_SEARCH}">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
            <a href="{U_FAQ}">{L_FAQ}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
            <!-- BEGIN switch_user_logged_out -->
            <a href="{U_REGISTER}">{L_REGISTER}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
            <!-- END switch_user_logged_out -->
            <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT2}</a>
        </td>
        <td width="12" align="left"><img src="{FULL_SITE_PATH}{T_IMAGESET_PATH}buttons_right2.gif" width="12" height="22" alt="" /></td>
    </tr>
    </table></td>
    <td><img src="{FULL_SITE_PATH}{T_IMAGESET_PATH}buttons_right1.gif" width="9" height="22" alt="" /></td>
</tr>

{TPL_CONTENT_TOPNAV1}<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
    <td class="navbar-links" align="left">&nbsp;</td>
    <td class="navbar-text" align="right">&nbsp;</td>
</tr>
</table>{TPL_CONTENT_TOPNAV2}
<table width="100%" align="center" cellspacing="0" cellpadding="0" border="0">

<!-- BEGIN switch_header_table -->
<tr>
<td width="100%" colspan="3">
    <table class="forumline" width="100%" style="margin-left:10%;margin-right:10%;" cellspacing="0" cellpadding="0">
        <tr><td class="row-header"><span>{L_STAFF_MESSAGE}</span></td></tr>
        <tr><td class="row-post"><br /><div class="post-text">{switch_header_table.HEADER_TEXT}</div><br /><br /></td></tr>
    </table>
</td>
</tr>
<!-- END switch_header_table -->

<!-- BEGIN ctracker_message -->
<tr>
    <td width="100%" colspan="3">
        <table class="forumline" width="100%" style="margin-left:10%;margin-right:10%;" cellspacing="0" cellpadding="0">
        <tr>
            <td align="center" style="background-color:#{ctracker_message.ROW_COLOR};"><img src="{ctracker_message.ICON_GLOB}" alt="" title="" /></td>
            <td align="center" style="background-color:#{ctracker_message.ROW_COLOR};"><div class="gensmall">{ctracker_message.L_MESSAGE_TEXT}</div></td>
        </tr>
        <tr>
            <td class="row1 row-center" colspan="2">
                <div class="gensmall"><b><a href="{ctracker_message.U_MARK_MESSAGE}">{ctracker_message.L_MARK_MESSAGE}</a></b></div><br />
            </td>
        </tr>
        </table>
    </td>
</tr>
<!-- END ctracker_message -->

<tr>
    <td colspan="3" id="content">
    <!--
    <a href="javascript:ShowHide('news','news2','news');" title="{L_SHOW} {NEWS_TITLE}"><img src="{IMG_NAV_MENU_NEWSPAPER}" alt="{L_SHOW} {NEWS_TITLE}" /></a>&nbsp;
    <a href="javascript:ShowHide('quick_links','quick_links2','quick_links');" title="{L_SHOW} {L_QUICK_LINKS}"><img src="{IMG_NAV_MENU_APPLICATION}" alt="{L_SHOW} {L_QUICK_LINKS}" /></a>&nbsp;
    <a href="javascript:ShowHide('calendar_display','calendar_open_close','quick_links');" title="{L_SHOW} {L_CALENDAR}"><img src="{IMG_CALENDAR}" alt="{L_SHOW} {L_CALENDAR}" /></a>
    -->
    <!-- BEGIN switch_user_logged_in -->
    <div class="popup{PRIVMSG_IMG}"><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></div>
    <!-- END switch_user_logged_in -->
    <!-- BEGIN switch_admin_disable_board -->
    <table width="100%" align="center" cellspacing="0" cellpadding="10" border="0">
    <tr><td align="center" class="forumline-no"><div class="genmed"><div class="topic_ann">{L_BOARD_DISABLE}</div></div></td></tr>
    </table>
    <!-- END switch_admin_disable_board -->

    <!-- BEGIN switch_importal -->
    {PORTAL_HEADER}
    <table class="empty-table" width="100%" cellspacing="0" cellpadding="0" border="0">
    <tr>
    {PORTAL_HEADERLEFT}
    <td valign="top">
    {PORTAL_HEADERCENTER}
    <!-- END switch_importal -->



actual place here is


Code: [Download] [Hide] [Select]
<tr>
    <td width="100%" colspan="3" valign="top">
        <div id="top_logo">
        <table class="" width="100%" cellspacing="0" cellpadding="0" border="0">
        <tr>
        <td height="150" align="left" valign="middle"><a href="{U_PORTAL}" title="{L_HOME}"><img src="{FULL_SITE_PATH}{SITELOGO}" alt="{L_HOME}" title="{L_HOME}"/></a></td>
        <td align="center" valign="middle">
            <!-- digi-sky.net code begin -->
<center><script language="JavaScript">document.write('<s'+'cript language="JavaScript" src="http://ace.digi-sky.net/show.php?n=1&size=1&j=1&code='+new Date().getTime()+'"></s'+'cript>');</script></center>
<!-- digi-sky.net code end -->
 
            </CENTER>
            <!-- digi-sky.net code end -->
        </td>
        <td align="right" valign="top">
        <!-- <div class="sitedes"><h1>{SITENAME}</h1><h2>{SITE_DESCRIPTION}</h2></div> -->
        <!-- BEGIN switch_user_logged_in -->
        &nbsp;
        <!-- END switch_user_logged_in -->
        <!-- BEGIN switch_user_logged_out -->
        &nbsp;
        <!-- END switch_user_logged_out -->
        </td>
        </tr>
        </table>
        </div>
    </td>
</tr>

 




____________
*VOLVO CLUB*
 
difusSend private messageVisit poster's website  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron