Help with Header

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
embryo
Active Member
Posts: 4
Joined: 22. July 2009 14:32

Help with Header

Post by embryo »

Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Basic Knowledge
Boardlink: http://crimson.byou-shin.com/

What have you done before the problem was there?


What have you already tryed to solve the problem?


Description and Message
Hey guys I just installed Board3 and everything works but the portal looks a bit weird.

I'm using a subsilver2 based theme and followed everything correctly except for the subsilver2 overall_header instructions.

I couldn't find the line of code it wanted for a couple lines so I guessed where it should have gone, but it seems to have come out weird.

Here's the link to my overall_header.html - http://www.mediafire.com/?4whgyklnowa

Thanks.
User avatar

MrBaseball34
Valued Contributor
Posts: 64
Joined: 25. June 2009 00:15
phpBB.de User: MB34

Re: Help with Header

Post by MrBaseball34 »

After just a cursor inspection, try this:
swap these two lines:

Code: Select all

<a href="{U_INDEX}">{SITE_LOGO_IMG}</a>
<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
to look like this:

Code: Select all

<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
<a href="{U_INDEX}">{SITE_LOGO_IMG}</a>
Move the

Code: Select all

<!-- ENDIF -->
at line 166 to after

Code: Select all

<br style="clear: both;" /><br /> 
on line 190

What is your Style name?

EDIT:
Ah, ha, DarkFantasy. Did you download it from here:
http://www.board3-styles.de/b3p_102/DarkFantasy.zip

EDIT2:
Should look like this:
http://area51.mikevil.de/portal.php?sty ... de8ae0bca7
Last edited by Mike on 22. July 2009 17:51, edited 1 time in total.
Reason: merged postings (please avoid double/tribble postings)
MrBaseball34
Hook 'em Horns
Image
2005 College Football National Champions
2005 College Baseball National Champions
User avatar

Mike
Former Team Member
Posts: 1862
Joined: 3. July 2008 23:59
Location: Schwarzwald / FDS
Contact:

Re: Help with Header

Post by Mike »

You can use my header if you dont have moded yours already:

Code: Select all

<!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>
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
<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 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}
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
<!--[if IE]><link rel="stylesheet" href="{T_THEME_PATH}/ie.css" type="text/css" /><![endif]-->
<!--[if lte IE 6]>
<script defer type="text/javascript" src="{T_TEMPLATE_PATH}/pngfix.js"></script>
<link rel="stylesheet" href="{T_THEME_PATH}/ie6.css" type="text/css" />
<![endif]-->
<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(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
	return false;
}

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

	if (page !== null && !isNaN(page) && page > 0)
	{
		document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage);
	}
}

/**
* 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>
</head>
<body class="{S_CONTENT_DIRECTION}">
<a name="top"></a>

<div id="container">
<div id="wrapper">

<div id="header">
<a href="{U_INDEX}">{SITE_LOGO_IMG}</a>
<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
<div id="top_menu">
	<!-- IF S_DISPLAY_SEARCH --><a id="search" href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF -->
	<!-- IF not S_IS_BOT --><!-- IF S_DISPLAY_MEMBERLIST --><a id="members" href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF -->
	<!-- IF S_USER_LOGGED_IN --><a id="ucp" href="{U_PROFILE}">{L_PROFILE}</a><!-- ENDIF --><!-- ENDIF -->
	<a id="faq" href="{U_FAQ}">{L_FAQ}</a>
</div>
<!-- ENDIF -->
</div>

<div id="content1">
<div id="content2">
<div id="content3">

	<br style="clear: both;" />
<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
	<p class="genmed"><!-- IF not S_IS_BOT --><a href="{U_LOGIN_LOGOUT}"><b>{L_LOGIN_LOGOUT}</b></a><!-- ENDIF -->
	<!-- IF not S_IS_BOT -->
	<!-- IF S_USER_LOGGED_IN -->
	<!-- IF S_DISPLAY_PM --> | <a href="{U_PRIVATEMSGS}"><b>{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></b></a><!-- ENDIF -->
	<!-- ELSEIF S_REGISTER_ENABLED --> | <a href="{U_REGISTER}"><b>{L_REGISTER}</b></a>
	<!-- ENDIF -->
	<!-- ENDIF -->
	<!-- IF U_RESTORE_PERMISSIONS --><br /><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
<!-- ENDIF -->
	
	<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --><br /><span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->
<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
</p>
	<br style="clear: both;" />

	<!-- INCLUDE breadcrumbs.html -->

	<br />

	<table width="100%" cellspacing="0">
	<tr>
		<td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td>
		<td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}<br /></td>
	</tr>
	</table>

	<!-- IF S_DISPLAY_SEARCH -->
	<p class="searchbar">
		<span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span>
		<!-- IF S_USER_LOGGED_IN -->
		<span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>
		<!-- ENDIF -->
	</p>
	<!-- ENDIF -->

	<br style="clear: both;" /><br />
<!-- ENDIF -->
kein Support per PN / Messenger
no Support via PM / Messenger
User avatar

MrBaseball34
Valued Contributor
Posts: 64
Joined: 25. June 2009 00:15
phpBB.de User: MB34

Re: Help with Header

Post by MrBaseball34 »

Reason: merged postings (please avoid double/tribble postings)
No problem Mike. I didn't see it until after I'd already posted the other post and didn't think to edit the first one.
BTW, should be trebble or triple .vs tribble (tribbles are the little furry creatures in Star Trek, remember?)
MrBaseball34
Hook 'em Horns
Image
2005 College Football National Champions
2005 College Baseball National Champions

Topic author
embryo
Active Member
Posts: 4
Joined: 22. July 2009 14:32

Re: Help with Header

Post by embryo »

Thanks alot everyone! It's working! :D
User avatar

Mike
Former Team Member
Posts: 1862
Joined: 3. July 2008 23:59
Location: Schwarzwald / FDS
Contact:

Re: Help with Header

Post by Mike »

lol... thanx Mrbaseball... it happens if you try to answer too much questions in too little time ;)
kein Support per PN / Messenger
no Support via PM / Messenger
Locked

Return to “board3 Portal 1.0.x - English Support”