Icy Phoenix

     
 

SOLVED Black Pearl Max Width And Sitelogo_small.png

SOLVED Black Pearl Max Width And Sitelogo_small.png

Article
Reply with quote    Download Post  
Post Black Pearl Max Width And Sitelogo_small.png 
 
Hello,
how can i set the max. width for the style Black Pearl (520px) and can i delete the sitelogo_small.png from the top of the style ?



 
alkie2k - View user's profile Send private message  
alkie2k [ Wed 21 Oct, 2009 16:18 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


SOLVED Black Pearl Max Width And Sitelogo_small.png

Comments
Reply with quote    Download Post  
Post Re: Black Pearl Max Width And Sitelogo_small.png 
 
You may set width in template/_mg_config.html and you can remove the logo by editing template/overall_header.html.



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Wed 21 Oct, 2009 19:30 ]
Reply with quote    Download Post  
Post Re: Black Pearl Max Width And Sitelogo_small.png 
 
Mighty Gorgon wrote: [View Post]
You may set width in template/_mg_config.html and you can remove the logo by editing template/overall_header.html.


Well, maybe i do something wrong but nothing works in this files...

here my _mg_config.html

Code: [Download] [Hide] [Select]
<!-- IF $MG_CONFIG_SWITCH -->
To use these vars you need to include this file in overall header using the
INCLUDE function and then you are able to recall the vars using this syntax:
{$MG_TBL_H_L}
{$MG_GLOBAL_WIDTH}
<!-- ENDIF -->

DEFINE $MG_GLOBAL_WIDTH = '520px'
<!-- DEFINE $MG_BUTTONS_EXTENSION = 'png' -->
<!-- DEFINE $MG_TBL_H_L = '<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title">' -->
<!-- DEFINE $MG_TBL_H_R = '</div></div></div></div>' -->
<!-- DEFINE $MG_TBL_F_L = '<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c">&nbsp;' -->
<!-- DEFINE $MG_TBL_F_R = '</div></div></div></div>' -->
<!-- DEFINE $MG_SPACER = '<img src="{T_THEME_PATH}/images/spacer.gif" width="1" height="4" alt="" />' -->
<!-- DEFINE $MG_MAX = '/images/icon_maximize.gif' -->
<!-- DEFINE $MG_MIN = '/images/icon_minimize.gif' -->
<!-- DEFINE $MG_MAX_PNG = '/images/icon_maximize.png' -->
<!-- DEFINE $MG_MIN_PNG = '/images/icon_minimize.png' -->


and the "sitelogo_small.png" i'm not found in overall_header.html, you have special function for this process ?

Code: [Download] [Hide] [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>
<!-- INCLUDE _mg_config.html -->

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />

<script type="text/javascript" src="{T_TEMPLATE_PATH}/scripts.js"></script>
<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
    if ({S_NEW_PM})
    {
        popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
    }
<!-- ENDIF -->

function popup(url, width, height, name)
{
    if (!name)
    {
        name = '_popup';
    }

    window.open(url.replace(/&amp;/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
    return false;
}

function jumpto()
{
    var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
    var per_page = '{PER_PAGE}';
    var base_url = '{A_BASE_URL}';

    if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0)
    {
        if (base_url.indexOf('?') == -1)
        {
            document.location.href = base_url + '?start=' + ((page - 1) * per_page);
        }
        else
        {
            document.location.href = base_url.replace(/&amp;/g, '&') + '&start=' + ((page - 1) * per_page);
        }
    }
}

/**
* Find a member
*/
function find_username(url)
{
    popup(url, 760, 570, '_usersearch');
    return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
    var parent = document.getElementById(id);
    if (!parent)
    {
        eval('parent = document.' + id);
    }

    if (!parent)
    {
        return;
    }

    var rb = parent.getElementsByTagName('input');

    for (var r = 0; r < rb.length; r++)
    {
        if (rb[r].name.substr(0, name.length) == name)
        {
            rb[r].checked = state;
        }
    }
}

<!-- IF ._file -->

    /**
    * Play quicktime file by determining it's width/height
    * from the displayed rectangle area
    *
    * Only defined if there is a file block present.
    */
    function play_qt_file(obj)
    {
        var rectangle = obj.GetRectangle();

        if (rectangle)
        {
            rectangle = rectangle.split(',')
            var x1 = parseInt(rectangle[0]);
            var x2 = parseInt(rectangle[2]);
            var y1 = parseInt(rectangle[1]);
            var y2 = parseInt(rectangle[3]);

            var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
            var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
        }
        else
        {
            var width = 200;
            var height = 0;
        }

        obj.width = width;
        obj.height = height + 16;

        obj.SetControllerVisible(true);

        obj.Play();
    }
<!-- ENDIF -->

// ]]>
</script>
<!--[if lt IE 7]>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/pngfix.js"></script>
<![endif]-->
</head>
<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>

<!-- <div id="wrapper"> -->
<div style="width:{$MG_GLOBAL_WIDTH};clear:both;margin: 0 auto;">
<table width="100%" align="center" cellspacing="0" cellpadding="0" border="0">
    <tr>
        <td class="leftshadow" width="9" valign="top"><img src="{T_THEME_PATH}/images/spacer.gif" alt="" width="9" height="1" /></td>
        <td class="np-body" width="100%" valign="top">

<!--<div id="top_logo">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="150" align="left" valign="middle"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
<td align="center" valign="middle"><h1>{SITENAME}</h1><span class="gen">{SITE_DESCRIPTION}</span></td>
<td align="right" valign="top">&nbsp;</td>
</tr>
</table>
</div>-->

<!-- INCLUDE menu_block.html -->

<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --><span style="color:#CC3333;">{L_BOARD_DISABLED}</span><!-- ENDIF -->

<div id="wrapcentre">

<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
<div style="margin-top:50px;margin-bottom:50px;text-align:center;clear:both;"><div class="popuppm-new"><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></div></div>
<!-- ENDIF -->


Thx for Help



 
alkie2k - View user's profile Send private message  
alkie2k [ Wed 21 Oct, 2009 22:26 ]
Reply with quote    Download Post  
Post Re: Black Pearl Max Width And Sitelogo_small.png 
 
here you got your sitelogo_small.png

find this in overall header

<td height="150" align="left" valign="middle"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>

If you want to take it totaly out of the header. just delet this line



 
spydie - View user's profile Send private message  
spydie [ Thu 22 Oct, 2009 00:15 ]
Reply with quote    Download Post  
Post Re: Black Pearl Max Width And Sitelogo_small.png 
 
also if none of your edits seem to work ... purge the cache in your admin panel and clean your browser's cache and check again



 
Joshua203 - View user's profile Send private message  
Joshua203 [ Thu 22 Oct, 2009 12:29 ]
Reply with quote    Download Post  
Post Re: Black Pearl Max Width And Sitelogo_small.png 
 
I just changed in \imageset this sitelogo_small.png to my logo and the problem was resolved  



 
Ripley - View user's profile Send private message  
Ripley [ Thu 22 Oct, 2009 12:56 ]
Reply with quote    Download Post  
Post Re: Black Pearl Max Width And Sitelogo_small.png 
 
just is a pitty that this was not your problem  



 
Joshua203 - View user's profile Send private message  
Joshua203 [ Thu 22 Oct, 2009 13:08 ]
Reply with quote    Download Post  
Post Re: Black Pearl Max Width And Sitelogo_small.png 
 
Joshua203 wrote: [View Post]
also if none of your edits seem to work ... purge the cache in your admin panel and clean your browser's cache and check again


ah ... i have clean the "cache" folder of the forum and look , it works

but... , if i'm logged in , i use the german language, the menu with the buttons "log in" "messages" and the others in the line are to long and the max width are over 520px. Well i have edit "menu_block.html" and set <br> or <p> or new table but nothing works. Can you help me again ?
THX



 
alkie2k - View user's profile Send private message  
alkie2k [ Thu 22 Oct, 2009 16:12 ]
Reply with quote    Download Post  
Post Re: Black Pearl Max Width And Sitelogo_small.png 
 
well i guess you can try this two ways:

1. you can go to the german language directory and find the replacement texts to make translated words/terms shorter (they probably are found in language/german/common.php)

2. or try what you allready tried but avoid putting BR between <!--IF ........ --> and <!-- ENDIF -->, becaue the "IF" will not be handled and will be skipped if it is not true.

*if you try number 2 you may also need to look at the height of forum-buttons in the stylesheet.css

i hope this helped alittle

editted a couple of times to make it understandable  



 
Joshua203 - View user's profile Send private message  
Joshua203 [ Thu 22 Oct, 2009 19:12 ]
Reply with quote    Download Post  
Post Re: Black Pearl Max Width And Sitelogo_small.png 
 
Joshua203 wrote: [View Post]
well i guess you can try this two ways:

1. you can go to the german language directory and find the replacement texts to make translated words/terms shorter (they probably are found in language/german/common.php)

2. or try what you allready tried but avoid putting BR between <!--IF ........ --> and <!-- ENDIF -->, becaue the "IF" will not be handled and will be skipped if it is not true.

*if you try number 2 you may also need to look at the height of forum-buttons in the stylesheet.css

i hope this helped alittle

editted a couple of times to make it understandable  


YES i have delete the height in the stylesheet.css take a <br> and new <table> in "menu_block.html"

Code: [Download] [Hide] [Select]
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td class="forum-buttons" colspan="0">
      <!-- IF not S_IS_BOT -->
      <!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED -->
      <a href="{U_REGISTER}">{L_REGISTER}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;
      <!-- ENDIF -->
      <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;
      <!-- IF S_USER_LOGGED_IN -->
      <a href="{U_PROFILE}">{L_PROFILE}</a><br>
      <img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;
      <!-- ENDIF -->
      <!-- ENDIF -->
      <!-- IF U_RESTORE_PERMISSIONS -->
      <a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a></td>
  </tr>
  <tr>
    <td class="forum-buttons" colspan="3"><img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />
      <!-- ENDIF -->
      <a href="{U_INDEX}">{L_FORUM}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;
      <!-- IF not S_IS_BOT -->
      <!-- IF S_USER_LOGGED_IN -->
      <!-- IF S_DISPLAY_PM -->
      <a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>
      <!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->
      <a href="#"> / </a><a href="{U_PRIVATEMSGS}" class="PM-new-link">{PRIVATE_MESSAGE_INFO_UNREAD}</a>
      <!-- ENDIF -->
      &nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;
      <!-- ENDIF -->
      <!-- ENDIF -->
      <!-- IF S_DISPLAY_MEMBERLIST -->
      <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;
      <!-- ENDIF -->
      <!-- ENDIF -->
      <!-- IF S_DISPLAY_SEARCH -->
      <a href="{U_SEARCH}">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;
      <!-- ENDIF -->
      <a href="{U_FAQ}">{L_FAQ}</a></td>
  </tr>
</table>


and i think it works now after delete cache-folder again

well now my last question about the style (i think for now ), in witch file are the "shadow_left.gif" and "shadow_right.gif" that i can delete it ?
THX



 
alkie2k - View user's profile Send private message  
alkie2k [ Thu 22 Oct, 2009 22:47 ]
Reply with quote    Download Post  
Post Re: Black Pearl Max Width And Sitelogo_small.png 
 
uuuuhhm viewing that code just quickly i  would say turn it around, i mean add the new part at the bottom

left shadow in overal header and right shadow in overal footer
maybe even in simple header and footer?

Edit: spelling



 
Joshua203 - View user's profile Send private message  
Joshua203 [ Thu 22 Oct, 2009 23:28 ]
Reply with quote    Download Post  
Post Re: Black Pearl Max Width And Sitelogo_small.png 
 
well now my last question about the style (i think for now ), in witch file are the "shadow_left.gif" and "shadow_right.gif" that i can delete it ?
THX[/quote]

You may edit css and change width shadow left and shadow right from 9px (or 10px) to 0px. Or find what color is np-body (background) and make pics shad.left and shad.right. same style and color and change them.

Or the better is to open overall header and find this
Code: [Download] [Hide] [Select]
<td class="leftshadow" width="9" valign="top"><img src="{T_THEME_PATH}/images/spacer.gif" alt="" width="9" height="1" /></td>
guess this must be deleted
In overall footer
Code: [Download] [Hide] [Select]
<td class="rightshadow" width="9" valign="top"><img src="{T_THEME_PATH}/images/spacer.gif" alt="" width="9" height="1" /></td>


I may mistake with third example... But you can try both of them easy. Just copy to notepad before make any changes  



 
Ripley - View user's profile Send private message  
Ripley [ Fri 23 Oct, 2009 12:20 ]
Reply with quote    Download Post  
Post Re: Black Pearl Max Width And Sitelogo_small.png 
 
Ok the 2nd way works. Now, after the configuration for the style i can't create topics, the create toppic button are not there.
Now i have delete the style, download from your page, extract and upload on my server. I changed the style again, the same problem. If i go back
to default style (prosilver phpbb default style) i can see the button and it works. Why?



 
alkie2k - View user's profile Send private message  
alkie2k [ Fri 23 Oct, 2009 16:51 ]
Reply with quote    Download Post  
Post Re: Black Pearl Max Width And Sitelogo_small.png 
 
it's kinda hard to tell why without anything to look at, like the changed code, a link to the board or even a screenshot

please post more info

also did you read this?:

Joshua203 wrote: 
uuuuhhm viewing that code just quickly i would say turn it around, i mean add the new part at the bottom

i am not saying this is the cause but it might be



 
Joshua203 - View user's profile Send private message  
Joshua203 [ Fri 23 Oct, 2009 18:46 ]
Reply with quote    Download Post  
Post Re: Black Pearl Max Width And Sitelogo_small.png 
 
Well, i have found what was wrong...
i have needed a german folder for german language, so have change the en to de and it works now...

Alkie2k



 
alkie2k - View user's profile Send private message  
alkie2k [ Fri 23 Oct, 2009 19:00 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 2
Goto page 1, 2  Next