Install issue

Kein Support auf phpBB Styles direkt!
No support directly to phpBB Styles!

Post Reply

Topic author
Primetime
Active Member
Posts: 7
Joined: 29. April 2009 15:59
phpBB.com User: primetime33

Install issue

Post by Primetime »

Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Basic Knowledge
Boardlink: http://www.reefersrus.com

What have you done before the problem was there?


What have you already tryed to solve the problem?
searched for same issue

Description and Message
I tried installing using Subsilver2 instructions.. it says to find the following..

Code: Select all

<div id="datebar">
		<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>
	</div>
I can not find this in my overall_header.html.


This is my overall header.html code

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>

<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="reef, coral, fish, forum, reef, saltwater, aquariums, acropora  " />
<meta name="description" content="Salwater and Reefkeeping Forum" />
{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">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
	if ({S_NEW_PM})
	{
	    popup('{UA_POPUP_PM}', 500, 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>
<!-- lightbox mod -->
        <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
	<script src="js/prototype.js" type="text/javascript"></script>
	<script src="js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
	<script src="js/lightbox.js" type="text/javascript"></script>
<!-- lightbox mod -->
<script type="text/javascript" src="{T_TEMPLATE_PATH}/gallery_lytebox.js"></script>
<script type="text/javascript" >
	if (window.addEventListener) {
		window.addEventListener("load",initLytebox,false);
	} else if (window.attachEvent) {
		window.attachEvent("onload",initLytebox);
	} else {
		window.onload = function() {initLytebox();}
	}
	function initLytebox() {
		var imgMaxWidth = 1280;
		var imgWarning = '';
		myLytebox = new LyteBox(imgMaxWidth, imgWarning);
	}
</script>
<!-- IF S_IN_ARCADE -->
	<link href="{T_THEME_PATH}/arcade.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->
<!-- IF postrow.U_ADD_FRIEND --><a href="{postrow.U_ADD_FOE}" class="foe-icon" title="{L_ADD_FOE}"></a><a class="friend-icon" href="{postrow.U_ADD_FRIEND}" title="{L_ADD_FRIEND}"></a><!-- ENDIF -->
</head>
<body class="{S_CONTENT_DIRECTION}">

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

<div id="wrapheader">

	<div id="logodesc">
		<table width="100%" cellspacing="0">
		<tr>
			<td align="center"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
		</tr>
		</table>
	</div>
    <!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->

	<div id="menubar">
		<table width="100%" cellspacing="0">
		<tr>
			<td class="genmed">
				<!-- IF not S_IS_BOT --><a href="{U_LOGIN_LOGOUT}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_LOGIN_LOGOUT}</a>&nbsp;<!-- ENDIF -->
				<!-- IF U_RESTORE_PERMISSIONS --> &nbsp;<a href="{U_RESTORE_PERMISSIONS}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
                <!-- ENDIF -->
				<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->
                <!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
				<!-- IF not S_IS_BOT -->
					<!-- IF S_USER_LOGGED_IN -->
						<!-- IF S_DISPLAY_PM --> &nbsp;<a href="{U_PRIVATEMSGS}"><img src="{T_THEME_PATH}/images/icon_mini_message.gif" width="12" height="13" alt="*" /> {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF -->
					<!-- ELSEIF S_REGISTER_ENABLED --> &nbsp;<a href="{U_REGISTER}"><img src="{T_THEME_PATH}/images/icon_mini_register.gif" width="12" height="13" alt="*" /> {L_REGISTER}</a>
					<!-- ENDIF -->
				<!-- ENDIF -->
			</td>
			<td class="genmed" align="{S_CONTENT_FLOW_END}">

                <a href="{U_ARCADE}"><img src="{T_THEME_PATH}/images/icon_mini_arcade.gif" width="12" height="13" alt="*" /> {L_ARCADE}</a>&nbsp; &nbsp;
				<a href="{U_FAQ}"><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_FAQ}</a> &nbsp; &nbsp;
				<!-- IF S_DISPLAY_SEARCH -->&nbsp; &nbsp;<a href="{U_SEARCH}"><img src="{T_THEME_PATH}/images/icon_mini_search.gif" width="12" height="13" alt="*" /> {L_SEARCH}</a><!-- ENDIF -->
				<!-- IF not S_IS_BOT -->
					<!-- IF S_DISPLAY_MEMBERLIST -->&nbsp; &nbsp;<a href="{U_MEMBERLIST}"><img src="{T_THEME_PATH}/images/icon_mini_members.gif" width="12" height="13" alt="*" /> {L_MEMBERLIST}</a><!-- ENDIF -->
					<!-- IF S_USER_LOGGED_IN -->&nbsp; &nbsp;<a href="{U_PROFILE}"><img src="{T_THEME_PATH}/images/icon_mini_profile.gif" width="12" height="13" alt="*" /> {L_PROFILE}</a><!-- ENDIF -->
				<!-- ENDIF -->
                <!-- INCLUDE prime_quick_style.html -->
			</td>
		</tr>
		</table>
	</div>


<div id="wrapcentre">

	<!-- 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;" />

    <!-- INCLUDE breadcrumbs.html -->
    <!-- INCLUDE announcement_centre.html -->

	<br />
[/i]
User avatar

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

Re: Install issue

Post by Mike »

This is for the mile200 Style right?
If so, take this and paste it in your overall_header.html:

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>
<!-- 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 name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2002-2006 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="icon" HREF="http://www.codemiles.com/styles/subsilver2/theme/images/icon.png" TYPE="image/ico">
<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(/&/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="logodesc">
		<table width="100%" cellspacing="0">
		<tr>
			<td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
 <!-- IF not S_USER_LOGGED_IN -->

			 <td width="180">
			 <div id="uphead" style="width:180px;">
	<table    height="18" border="0"  cellspacing="0" style="margin:0px;padding:0px;">
<tr>
			<td  class="uperimg"><img src="{T_THEME_PATH}/images/c1.gif" width="18" height="18" alt="" /></td>
			<td  class="uperimg" background="{T_THEME_PATH}/images/l1.gif"   colspan="3" width="100%" height="18"></td>

			<td  class="uperimg"><img src="{T_THEME_PATH}/images/c2.gif" width="18" height="18" alt="" /></td>
		</tr>
			 </table>

 </div>
			 <div style="background-color:#FFFFFF;width:180px;">
			 <form method="post" action="{S_LOGIN_ACTION}">
			 <table     cellpadding="0" cellspacing="0">
	<tr>

		<td   align="center"><span class="genmed">{L_USERNAME}:</span> </td><td><input class="post" type="text" name="username" size="10" onfocus="javascript:FousChange(this);"  />&nbsp;</td></tr> <tr><td><span class="genmed">{L_PASSWORD}:</span></td><td> <input class="post" type="password" name="password" size="10"  onfocus="javascript:FousChange(this);"/>&nbsp;</td></tr> <tr><td> <a href="{U_REGISTER}" class="top_link"><span><u>{L_REGISTER}</u></span></a>&nbsp;</td><td>
		 <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
	</tr>

	</table></div>
	<div id="uphead" style="width:180px;">
<table    height="18" border="0"  cellspacing="0" style="margin:0px;padding:0px;">
<tr>
			<td  class="uperimg"><img src="{T_THEME_PATH}/images/c4.gif" width="18" height="18" alt="" /></td>
			<td  class="uperimg" background="{T_THEME_PATH}/images/l2.gif"   colspan="3" width="100%" height="18"></td>

			<td  class="uperimg"><img src="{T_THEME_PATH}/images/c3.gif" width="18" height="18" alt="" /></td>
		</tr></form>
			 </table></div>
			 </td>
			 <!-- ENDIF -->
		</tr>

		</table>

	</div>
	<div id="wrap">
<div id="wrapheader">
	<div id="uphead" >
	<table  width="100%" height="18" border="0"  cellspacing="0" style="margin:0px;padding:0px;">
<tr>
			<td  class="uperimg"><img src="{T_THEME_PATH}/images/c1.gif" width="18" height="18" alt="" /></td>
			<td  class="uperimg" background="{T_THEME_PATH}/images/l1.gif"   colspan="3" width="100%" height="18"></td>

			<td  class="uperimg"><img src="{T_THEME_PATH}/images/c2.gif" width="18" height="18" alt="" /></td>
		</tr>
			 </table>

 </div>
	<div id="main">
 <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN -->
<a href="{U_INDEX}" class="top_link"><span style="color: red;">{L_BOARD_DISABLED}</span></a>
 <!-- ENDIF -->

<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
	<div id="menubar">

			<ul id="menumade">

                <!-- IF not S_IS_BOT -->
                <li class="top"><a href="{U_LOGIN_LOGOUT}" class="top_link"><span>{L_LOGIN_LOGOUT}</span></a></li>
                <!-- ENDIF -->
                <!-- IF U_RESTORE_PERMISSIONS -->
                <li class="top"><a href="{U_RESTORE_PERMISSIONS}" class="top_link"><span>{L_RESTORE_PERMISSIONS}</span></a></li>
                <!-- ENDIF -->
                <!-- IF not S_IS_BOT -->
                    <!-- IF S_USER_LOGGED_IN -->
                        <!-- IF S_DISPLAY_PM -->
                        <li class="top"><a href="{U_PRIVATEMSGS}" class="top_link"><span>{PRIVATE_MESSAGE_INFO}</span></a></li>
                        <!-- ENDIF -->
                        <!-- ELSE -->
                        <li class="top"><a href="{U_REGISTER}" class="top_link"><span>{L_REGISTER}</span></a></li>
                        <!-- ENDIF -->
                <!-- ENDIF -->
                <!-- IF S_USER_LOGGED_IN -->
                <li class="top"><a href="#" id="controlpanel" class="top_link"><span class="down">Control Panel</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
                    <!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub">
                        <!-- IF S_USER_LOGGED_IN -->
                        <li><b>Users</b></li>
                        <li><a href="{U_PROFILE}" >{L_PROFILE}<!--[if gte IE 7]><!--></a><!--<![endif]-->

                        </li>
                        <!-- ENDIF -->
                        <!-- IF U_MCP -->
                        <li><b>Moderators</b></li>
                        <li><a href="{U_MCP}">{L_MCP}</a></li>
                        <!-- ENDIF -->
                        <!-- IF U_ACP -->
                        <li><b>Administrators</b></li>
                        <li><a href="{U_ACP}">{L_ACP}</a></li>
                        <!-- ENDIF -->

                    </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->

                </li>
                <!-- ENDIF -->
                <li class="top"><a href="{U_INDEX}" id="forumlinks" class="top_link"><span class="down">Forum</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
                    <!--[if lte IE 6]><table><tr><td><![endif]-->
					    <ul class="sub">
                        <li><b>Information</b></li>
                        <li><a href="{U_FAQ}">{L_FAQ}</a></li>
                        <!-- IF S_DISPLAY_MEMBERLIST --><li><a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
                        <li><b>Manage</b></li>
                        <!-- IF not S_IS_BOT and U_MARK_FORUMS --><li><a href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a></li><!-- ENDIF -->
                        <!-- IF not S_IS_BOT and U_MARK_TOPICS --><li><a href="{U_MARK_TOPICS}">{L_MARK_TOPICS_READ}</a></li><!-- ENDIF -->
                    </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
                </li>
                <!-- IF S_DISPLAY_SEARCH -->
                <li class="top"><a href="{U_SEARCH}" id="forumsearch" class="top_link"><span class="down">{L_SEARCH}</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
                    <!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub">
                        <li><b>Common Searches</b></li>
                        <li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a></li>
                        <li><a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></li>
                        <!-- IF S_USER_LOGGED_IN -->
                        <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
                        <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
                        <!-- ENDIF -->
                        <li><b>Custom Searches</b></li>
                        <li><a href="{U_SEARCH}">Advanced Search</a></li>
                    </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
                </li>
                <!-- ENDIF -->

                <!-- IF S_USER_LOGGED_IN -->
                <li class="top"><a href="{U_SEARCH_NEW}" class="top_link"><span>{L_SEARCH_NEW}</span></a></li>
                <!-- ENDIF -->

			</ul>



	</div>



	<div id="datebar">
		<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>
	</div>
<!-- ENDIF -->

<div id="wrapcentre">

<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
 <br clear="right" />

	<!-- INCLUDE breadcrumbs.html -->
<br /><br /><!-- ENDIF -->
kein Support per PN / Messenger
no Support via PM / Messenger

Topic author
Primetime
Active Member
Posts: 7
Joined: 29. April 2009 15:59
phpBB.com User: primetime33

Re: Install issue

Post by Primetime »

Thanks Mike. It is actually for subsilver2. I wanted to install it in that style first, since its a core style. I wanted to make sure I knew what I was doing. Not many of my members use subsilver2 so it would not affect a lot of people if I messed things up.

Thank you,
Prime
User avatar

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

Re: Install issue

Post by Mike »

? sorry... but i dont think that i understand what you want me to say ;)

Is this for subsilver or any other Style? If it is subsilver, you should find the line as described in contrib/subsilver2.xml ...
If you use a header file from any other style, it wouldnt work ;)
kein Support per PN / Messenger
no Support via PM / Messenger

Topic author
Primetime
Active Member
Posts: 7
Joined: 29. April 2009 15:59
phpBB.com User: primetime33

Re: Install issue

Post by Primetime »

Maybe I did not clearly describe my issue.
I am installing the portal to subsilver2. I am using the install instructions for subsilver2. My overall_header.html file does not contain the line that the instructions say to look for. The instructions state as follows: Find

Tip: This may be a partial find and not the whole line.

Code: Select all

	<div id="datebar">
		<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>
	</div>
overall_header.html :

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>

<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="reef, coral, fish, forum, reef, saltwater, aquariums, acropora  " />
<meta name="description" content="Salwater and Reefkeeping Forum" />
{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">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
	if ({S_NEW_PM})
	{
	    popup('{UA_POPUP_PM}', 500, 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>
<!-- lightbox mod -->
        <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
	<script src="js/prototype.js" type="text/javascript"></script>
	<script src="js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
	<script src="js/lightbox.js" type="text/javascript"></script>
<!-- lightbox mod -->
<script type="text/javascript" src="{T_TEMPLATE_PATH}/gallery_lytebox.js"></script>
<script type="text/javascript" >
	if (window.addEventListener) {
		window.addEventListener("load",initLytebox,false);
	} else if (window.attachEvent) {
		window.attachEvent("onload",initLytebox);
	} else {
		window.onload = function() {initLytebox();}
	}
	function initLytebox() {
		var imgMaxWidth = 1280;
		var imgWarning = '';
		myLytebox = new LyteBox(imgMaxWidth, imgWarning);
	}
</script>
<!-- IF S_IN_ARCADE -->
	<link href="{T_THEME_PATH}/arcade.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->
<!-- IF postrow.U_ADD_FRIEND --><a href="{postrow.U_ADD_FOE}" class="foe-icon" title="{L_ADD_FOE}"></a><a class="friend-icon" href="{postrow.U_ADD_FRIEND}" title="{L_ADD_FRIEND}"></a><!-- ENDIF -->
</head>
<body class="{S_CONTENT_DIRECTION}">

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

<div id="wrapheader">

	<div id="logodesc">
		<table width="100%" cellspacing="0">
		<tr>
			<td align="center"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
		</tr>
		</table>
	</div>

	<div id="menubar">
		<table width="100%" cellspacing="0">
		<tr>
			<td class="genmed">
				<!-- IF not S_IS_BOT --><a href="{U_LOGIN_LOGOUT}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_LOGIN_LOGOUT}</a>&nbsp;<!-- ENDIF -->
				<!-- IF U_RESTORE_PERMISSIONS --> &nbsp;<a href="{U_RESTORE_PERMISSIONS}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
				<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->
				<!-- IF not S_IS_BOT -->
					<!-- IF S_USER_LOGGED_IN -->
						<!-- IF S_DISPLAY_PM --> &nbsp;<a href="{U_PRIVATEMSGS}"><img src="{T_THEME_PATH}/images/icon_mini_message.gif" width="12" height="13" alt="*" /> {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF -->
					<!-- ELSEIF S_REGISTER_ENABLED --> &nbsp;<a href="{U_REGISTER}"><img src="{T_THEME_PATH}/images/icon_mini_register.gif" width="12" height="13" alt="*" /> {L_REGISTER}</a>
					<!-- ENDIF -->
				<!-- ENDIF -->
			</td>
			<td class="genmed" align="{S_CONTENT_FLOW_END}">

                <a href="{U_ARCADE}"><img src="{T_THEME_PATH}/images/icon_mini_arcade.gif" width="12" height="13" alt="*" /> {L_ARCADE}</a>&nbsp; &nbsp;
				<a href="{U_FAQ}"><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_FAQ}</a> &nbsp; &nbsp;
				<!-- IF S_DISPLAY_SEARCH -->&nbsp; &nbsp;<a href="{U_SEARCH}"><img src="{T_THEME_PATH}/images/icon_mini_search.gif" width="12" height="13" alt="*" /> {L_SEARCH}</a><!-- ENDIF -->
				<!-- IF not S_IS_BOT -->
					<!-- IF S_DISPLAY_MEMBERLIST -->&nbsp; &nbsp;<a href="{U_MEMBERLIST}"><img src="{T_THEME_PATH}/images/icon_mini_members.gif" width="12" height="13" alt="*" /> {L_MEMBERLIST}</a><!-- ENDIF -->
					<!-- IF S_USER_LOGGED_IN -->&nbsp; &nbsp;<a href="{U_PROFILE}"><img src="{T_THEME_PATH}/images/icon_mini_profile.gif" width="12" height="13" alt="*" /> {L_PROFILE}</a><!-- ENDIF -->
				<!-- ENDIF -->
                <!-- INCLUDE prime_quick_style.html -->
			</td>
		</tr>
		</table>
	</div>


<div id="wrapcentre">

	<!-- 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;" />

    <!-- INCLUDE breadcrumbs.html -->
    <!-- INCLUDE announcement_centre.html -->

	<br />
how can I follow the directions when my file does not contain the above line to find?
User avatar

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

Re: Install issue

Post by Mike »

You have to understand what this adaption was meant to be. Then you know where you have to add it ;)
All the Edits in overall_header.html are meant to hide the original phpBB headermenu in the Portal. If you add these lines, you have to regard that you dont destroy the table/div construct if the headermenu is disabled via ACP. Furthermore there is a line that display the "board is disabled" message if the board is disabled. Therefore you have to regard that you dont hide this line too. I cannot tell you where you have to make the addings since i cant try it on my own installation. These addings are always based on the trial-and-error method ;)

heres a basic example...
let's asume this is a part of your overall_header:

Code: Select all

<div id="header">
            <div class="headerimg">
<table>
             <tr>
<td>some header things</td>
</tr>
</table>
</div>
	<div id="menu">
		<table>
		<tr>
<td>link1</td>
<td>link2</td>
<td>link3</td>
<td>link4</td>
		</tr>
		</table>
	</div>
</div>
now you want to hide the menu from the header. You have to add the switch like this:

Code: Select all

<div id="header">
            <div class="headerimg">
<table>
             <tr>
<td>some header things</td>
</tr>
</table>
</div>
<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
	<div id="menu">
		<table>
		<tr>
<td>link1</td>
<td>link2</td>
<td>link3</td>
<td>link4</td>
		</tr>
		</table>
	</div>
<!-- ENDIF -->
</div>
Note that the last </div> belongs to the <div id="header">. If you dont take care and include it in the switch, youll destroy the div construct and get an error if ypou disable the menu in your ACP.

I hope i could explain it enough so you can make your changes where they should be.

sorry my english, but im not completely soberly anymore ;)
kein Support per PN / Messenger
no Support via PM / Messenger

Topic author
Primetime
Active Member
Posts: 7
Joined: 29. April 2009 15:59
phpBB.com User: primetime33

Re: Install issue

Post by Primetime »

well.. I was just trying to follow the installation instructions. If the instructions say to find a certain line, then I would expect those line(s) to be found. But as you say its trial and error. I would hope that as a release and being validated, that it would NOT be trial and error. Thank you for your help Mike, it IS appreciated.
Post Reply

Return to “Styles Support”