Page 1 of 2

Portal misaligned

Posted: 26. October 2009 17:01
by .Sup
Your Portal Version: 1.0.4
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Beginner

What have you done before the problem was there?
It was like as soon it was installed (I think)

What have you already tryed to solve the problem?


Description and Message
Hi guys, I know nothing about coding so I'm asking for your help. Portal is installed but misaligned.

Have a look at this screenshot I made: Image

Portal on the left, board index on the right.

Thank you for any help!

Re: Portal misaligned

Posted: 27. October 2009 01:43
by Mike
Looks like you need to adapt the style for the portal... But without a link we cant do anything ;)

Re: Portal misaligned

Posted: 27. October 2009 08:22
by .Sup
Mike wrote:Looks like you need to adapt the style for the portal... But without a link we cant do anything ;)
What link do you need Mike? Let me know.

Re: Portal misaligned

Posted: 27. October 2009 12:05
by Mike
Hows about a link to your site, and another one to the style (download) ;)

Re: Portal misaligned

Posted: 27. October 2009 16:00
by .Sup
Mike wrote:Hows about a link to your site, and another one to the style (download) ;)
Oh I'm a newb, You must forgive me Mike, I'm new to all this but I would really like to make our site work.

Here's the theme we are using: http://demo.phpbb3styles.net/DirtyBoard2.0
And the site: http://www.global-conflict.org/portal.p ... 3921bebfff

We made an identical copy of the site so we can poke around with the code and try to fix the Portal: http://staging.global-conflict.org/port ... d9a1055ec4

Thanks for looking into this problem Mike! :)

Re: Portal misaligned

Posted: 27. October 2009 18:39
by Mike
Hmm... on your site there is an Aero Style. So i cant have a look into the problem.
But i installed the Style on my Testboard, and i cant see any problems except the backroundimage cause the portal is too long ;)
http://area51.mikevil.de/portal.php?style=79

Re: Portal misaligned

Posted: 27. October 2009 19:04
by .Sup
Mike wrote:Hmm... on your site there is an Aero Style. So i cant have a look into the problem.
But i installed the Style on my Testboard, and i cant see any problems except the backroundimage cause the portal is too long ;)
http://area51.mikevil.de/portal.php?style=79
How can I reinstall Portal Mike?

Re: Portal misaligned

Posted: 28. October 2009 07:24
by Mike
hmm... just delete the template folder, purge all caches, and upload all files from the Style and portal again...

Re: Portal misaligned

Posted: 28. October 2009 19:07
by .Sup
Mike wrote:hmm... just delete the template folder, purge all caches, and upload all files from the Style and portal again...
I get this error when I want to visit the site after reinstall: "Language file ./language/en/common.php couldn't be opened."

The file seems to be missing - its not there where it says it should be.

Re: Portal misaligned

Posted: 29. October 2009 12:56
by Mike
If you just deletet the Folder of your Style this shouldnt be...
You can upoload this missed file again from your phpbb download.

Re: Portal misaligned

Posted: 29. October 2009 16:39
by .Sup
Mike wrote:If you just deletet the Folder of your Style this shouldnt be...
You can upoload this missed file again from your phpbb download.
OK its restored now. Mike what do you think- should I install everything from scratch: phpbb3>portal>theme and then all other addons on the portal so I see what's causing the problem? Because I can't pinpoint the problem.

Re: Portal misaligned

Posted: 29. October 2009 17:23
by Mike
No! You just need to install this Style from scratch. Deinstall it in ACP an delete the "DirtyBoard2.0" folder. Dont forget to clear all caches every time you make any changes... ;)
Knowledge Base: Changes to forums styles

EDIT: try to take my header and config before you make a new install:

_block_config.html

Code: Select all

<!--version $Id: _block_config.html v1.0.4 adapted by: Mike $ //-->
<!-- Config for the left and right blocks //-->
<!-- DEFINE $LR_BLOCK_H_L = '<div class="forabg"><div class="inner"><span class="corners-top"><span></span></span><h3>' -->
<!-- DEFINE $LR_BLOCK_H_R = '</h3>' -->
<!-- DEFINE $LR_BLOCK_F_L = '' -->
<!-- DEFINE $LR_BLOCK_F_R = '<span class="corners-bottom"><span></span></span></div></div><br style="clear:both" />' -->

<!-- Config for the center blocks //-->
<!-- DEFINE $C_BLOCK_H_L = '<div class="forabg"><div class="inner"><span class="corners-top"><span></span></span><ul class="topiclist"><li class="header"><dl class="icon">' -->
<!-- DEFINE $C_BLOCK_H_R = '</dl></li></ul>' -->
<!-- DEFINE $C_BLOCK_F_L = '' -->
<!-- DEFINE $C_BLOCK_F_R = '<span class="corners-bottom"><span></span></span></div></div><br style="clear:both" />' -->

<!-- Images-URL //-->
<!-- DEFINE $NO_AVATAR_IMG = '/images/no_avatar.gif' -->

<!-- Vertical distance between left/right and center Blocks -->
<!-- DEFINE $BLOCK_DISTANCE = '10px' -->

<!-- show Icons in left/right Blocks? 0=no 1=yes -->
<!-- DEFINE $S_BLOCK_ICON = 1 -->

<!-- postbody top (default 1 by prosilver) 0=no 1=yes -->
<!-- DEFINE $S_POSTBODY_TOP = 1 -->

<!-- override the column width settings of the ACP for this style? 0=no 1=yes -->
<!-- DEFINE $S_COLUMNS_WIDTH_OVERRIDE = 0 -->

<!-- override the column width settings of the ACP - set the width if enabled -->
<!-- DEFINE $PORTAL_LEFT_COLUMN_OVERRIDE = '200' -->
<!-- DEFINE $PORTAL_RIGHT_COLUMN_OVERRIDE = '200' -->
overall_header.html

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="imagetoolbar" content="no" />
<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>

<!--
	phpBB style name: DirtyBoard2.0
	Based on style:   prosilver (this is the default phpBB3 style)
	Original author:  Tom Beddard ( http://www.subBlue.com/ )
	Modified by:      CoSa NoStrA DeSiGn ( http://www.cosa-nostra-design.com/ )

	NOTE: This page was generated by phpBB, the free open-source bulletin board package.
	      The phpBB Group is not responsible for the content of this page and forum. For more information
	      about phpBB please visit http://www.phpbb.com
-->

<script type="text/javascript">
// <![CDATA[
	var jump_page = '{LA_JUMP_PAGE}:';
	var on_page = '{ON_PAGE}';
	var per_page = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';
	var style_cookie = 'phpBBstyle';
	var style_cookie_settings = '{A_COOKIE_SETTINGS}';
	var onload_functions = new Array();
	var onunload_functions = new Array();

	<!-- IF S_USER_PM_POPUP -->
		if ({S_NEW_PM})
		{
			var url = '{UA_POPUP_PM}';
			window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
		}
	<!-- ENDIF -->

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

	/**
	* New function for handling multiple calls to window.onload and window.unload by pentapenguin
	*/
	window.onload = function()
	{
		for (var i = 0; i < onload_functions.length; i++)
		{
			eval(onload_functions[i]);
		}
	}

	window.onunload = function()
	{
		for (var i = 0; i < onunload_functions.length; i++)
		{
			eval(onunload_functions[i]);
		}
	}

// ]]>
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/styleswitcher.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/forum_fn.js"></script>

<link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />

<link href="{T_THEME_PATH}/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="{T_THEME_PATH}/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" />

<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
	<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->

</head>

<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">

<div><a class="header_js" id="header" name="header" accesskey="t" href="#footer" title="Go to footer">Go to footer</a></div>

				<p style="display: none;"><a href="#start_here">{L_SKIP}</a></p>
	<div id="submenu">
			<a href="#" class="sitehome" title="{L_HOME}">{L_HOME}</a>
			<a href="#" onclick="fontsizeup(); return false;" onkeypress="fontsizeup(); return false;" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a>
			<a href="{U_FAQ}" class="icon-faq" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a>
	</div>
	<div style="clear: both;"></div>
	<div id="page-header">
		<div class="headerbar">
			<div class="inner"><span style="display: block; height: 5px;"><span></span></span>
			<div id="site-description">
				<h1>{SITENAME} <span style="font-size: 12px;">{SITE_DESCRIPTION}</span></h1>
		<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
			<div id="search-box">
				<form action="{U_SEARCH}" method="post" id="search">
 				<!--[if IE]><div style="margin-top:-1px;"></div><![endif]-->
				<fieldset>
					<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
					<input class="button2" value="GO" type="submit" title="{L_SEARCH}" />&nbsp;<input class="button18" onclick="location.href='{U_SEARCH}';"  value="+" type="button" title="{L_SEARCH_ADV_EXPLAIN}" />
					{S_SEARCH_HIDDEN_FIELDS}
				</fieldset>
				</form>
			</div>
		<!-- ELSE -->
			<div style="display: block; height: 27px;"></div>
		<!-- ENDIF -->
				<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{L_INDEX}</a>
			</div>
		<div class="navbar">
			<ul>
			<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
				<li><a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="u">{L_PROFILE}</a></li>
				<!-- IF S_DISPLAY_PM --><li><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></li><!-- ENDIF -->
				<li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
				<!-- IF U_RESTORE_PERMISSIONS --><li><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a></li><!-- ENDIF -->
			<!-- ENDIF -->
			<!-- IF not S_IS_BOT -->
				<!-- IF S_DISPLAY_MEMBERLIST --><li><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
				<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED --><li><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
				<li><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="l">{L_LOGIN_LOGOUT}</a></li>
			<!-- ENDIF -->
			</ul>
		</div>
			<span style="clear: both; display: block; height: 5px;"><span></span></span></div>
		</div>
			<ul class="linklist leftside">
				<li class=" icon-home bold"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a>  <!-- BEGIN navlinks --> <strong>&#8249;</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></li>
			</ul>
	</div>
<div id="wrap">
	<a id="top" name="top" accesskey="t"></a>
<br />
			<ul class="linklist rightside">
				<li class="rightside"><!-- IF U_EMAIL_TOPIC --><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}" class="sendemail">{L_EMAIL_TOPIC}</a><!-- ENDIF -->&nbsp;</li>
				<!-- IF U_EMAIL_PM --><li class="rightside"><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}" class="sendemail">{L_EMAIL_PM}</a></li><!-- ENDIF -->
				<!-- IF U_PRINT_TOPIC --><li class="rightside"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p" class="print">{L_PRINT_TOPIC}</a></li><!-- ENDIF -->
				<!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF -->
			</ul>
	<div id="page-body">
			<a name="start_here"></a>
		 <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
		<div id="message" class="rules">
			<div class="inner"><span class="corners-top"><span></span></span>
				<strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
			<span class="corners-bottom"><span></span></span></div>
		</div>
		<!-- ENDIF -->

Re: Portal misaligned

Posted: 1. November 2009 13:37
by .Sup
Mike you are a genius!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I only had to replace overall header!

Danke mein freund, du bist der beste!!!!!!!!!!!!!!!!!!!!!!!!!
:D

I hope I got it right or 10 years of learning German went to waste :p
http://staging.global-conflict.org/port ... d9a1055ec4

Re: Portal misaligned

Posted: 1. November 2009 16:32
by Mike
Im glad i could help you...
And yes you got it right... i wish i could speak almost as good english as you german ;)

Re: Portal misaligned

Posted: 1. November 2009 17:29
by .Sup
Mike wrote:Im glad i could help you...
And yes you got it right... i wish i could speak almost as good english as you german ;)
But you do my friend, you do ;)