Seite 2 von 2

Re: Wo finde ich die Index-Seite?

Verfasst: 25.08.2011 12:42
von eichjoernchen
Hallo!
Hier die Lösung zu Problem Nr. 2:

Problem Nr. 2

Im Header ist das Anmeldeformular. Wie kann ich den entfernen? Da habe ich auch schon alles versucht, doch auch dazu habe ich nichts gefunden.
Suche in der oerall_header.html folgende Zeilen und entferne sie. Falls nichts gefunden wird suche nach einzelnen Teilen des strings. Dann wirst du auch den übrigen Code finden.
Cache leeren nicht vergessen!

Code: Alles auswählen

<!-- IF not S_USER_LOGGED_IN -->
				    <form method="post" action="{S_LOGIN_ACTION}">
					    <input type="text" name="username" class="quick-login-form" title="{L_USERNAME}" value="{L_USERNAME}" onfocus="if (this.value == '{L_USERNAME}') {this.value = '';}" onblur="if (this.value == '') {this.value = '{L_USERNAME}';}" />
                        <input type="password" name="password" class="quick-login-form" title="{L_PASSWORD}" value="********" onfocus="if (this.value == '********') {this.value = '';}" onblur="if (this.value == '') {this.value = '********';}" />
                        <input type="submit" name="login" value="{L_LOGIN}" class="quick-login-button" /><br />
                       </form>
                       <!-- ENDIF -->
Fortsetzung folgt!

Re: Wo finde ich die Index-Seite?

Verfasst: 25.08.2011 14:06
von Zeitmaschine
Danke bis jetzt, ich probiere das jetzt mal aus.

Re: Wo finde ich die Index-Seite?

Verfasst: 25.08.2011 14:32
von Zeitmaschine
@ eichjoernchen

Problem Nr. 2 habe ich nach deiner Beschreibung lösen können. Danke! Ich hoffe, dass das Forum jetzt weiterhin so stabil bleibt und ich nicht ausversehen was gelöscht habe, was ich hätte nicht dürfen.

Eine Frage zum Code:

Code: Alles auswählen

<!-- IF not S_USER_LOGGED_IN -->

<!-- ENDIF -->
Muss das eigentlich im Code drin bleiben? Denn das hatte ich zuerst auch gelöscht und dann ging gar nichts mehr. Ich finde da nämlich sehr viele davon, die alle leer sind.

Re: Wo finde ich die Index-Seite?

Verfasst: 25.08.2011 14:40
von eichjoernchen
Hallo!
CODE: ALLES AUSWÄHLEN
<!-- IF not S_USER_LOGGED_IN -->

<!-- ENDIF -->


Muss das eigentlich im Code drin bleiben? Denn das hatte ich zuerst auch gelöscht und dann ging gar nichts mehr. Ich finde da nämlich sehr viele davon, die alle leer sind.
Poste doch mal die entsprechende Datei (pastebin) Normalerweise kann man so was löschen, Komt aber darauf an wo die Zeilen stehen und auf was sich das "<!-- ENDIF -->" bezieht.
An dem Link-Problem bin ich noch drann. Es gibt außer der Funktion "text-decoration" ja auch noch die Borderfunktion z.b.
"border-bottom". Kannst dem ja auch noch mal nachgehen. Wenn ich vor dir etwas herausfinde melde ich mich.
Gruß Jörn

Re: Wo finde ich die Index-Seite?

Verfasst: 25.08.2011 14:43
von Zeitmaschine
Darf ich den ganzen Code hier rein schreiben?

Code: Alles auswählen

<!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 http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

{META}

<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>



<!-- IF S_ENABLE_FEEDS -->

	<link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" />

	<!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->

	<!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->

	<!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_TOPICS}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->

	<!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->

	<!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}" /><!-- ENDIF -->

<!-- ENDIF -->



<!--

	phpBB style name: Absolution

	Based on style:   prosilver (this is the default phpBB3 style)

	Original author:  Tom Beddard ( http://www.subBlue.com/ )

	Modified by: Christian Bullock ( http://www.ChristianBullock.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

          

    IMPORTANT:	  Free Forum Hosts and phpBB3 Style Directories are not permitted under ANY circumstances to use this style on their network

    	  without first obtaining permission from the style author.

          

          This style is only authorised for download from the following sites:

    

          * http://www.phpBB.com

          * http://www.phpbb3styles.net

          * http://www.christianbullock.com

          * http://www.awesomestyles.com

          

          If found on any other site, please email: contact@christianbullock.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}/jquery-1.3.2.js"></script>

<script type="text/javascript" src="{T_TEMPLATE_PATH}/collapse.js"></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 -->

<script type="text/javascript" language="javascript" src="lytebox/lytebox.js"></script>
<link rel="stylesheet" href="lytebox/lytebox.css" type="text/css" media="screen" />
</head>



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

<p class="skiplink"><a href="#start_here">{L_SKIP}</a></p>

<a id="top" name="top" accesskey="t"></a>



<div id="wrap">

<div id="header">

<div id="header-left">

<a href="{U_INDEX}"><img src="{T_THEME_PATH}/images/logo.png" width="416" height="112" alt="" border="0" /></a>

<!--<div id="site-details">

{SITENAME}<br />

<span>{SITE_DESCRIPTION}</span>

</div>-->

</div><!-- /header-left-->

<div id="header-right">

<div id="<!-- IF not S_USER_LOGGED_IN -->formbox<!-- ELSE -->header-search-box<!-- ENDIF -->">

<!-- IF not S_USER_LOGGED_IN -->

<!-- ENDIF -->

<!-- IF S_USER_LOGGED_IN -->

<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->

<!-- ENDIF -->

<!-- ENDIF -->

</div><!--/formbox / search-box-->

</div><!--/header-right-->

</div><!-- /header-->

<div class="float-left breadcrumbs"></div><!-- /float-left / breadcrumbs -->



<div class="float-right">

<!-- IF U_RESTORE_PERMISSIONS --><span class="alert"><img src="{T_THEME_PATH}/images/error.png" width="16" height="16" alt="" /> <a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a></span><!-- IF U_RESTORE_PERMISSIONS and S_BOARD_DISABLED --> &bull; <!-- ENDIF --><!-- ENDIF --> <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) --><span class="alert"><img src="{T_THEME_PATH}/images/error.png" width="16" height="16" alt="" /> {L_INFORMATION}: {L_BOARD_DISABLED}</span><!-- ENDIF --> <span class="breadcrumbs"><img src="{T_THEME_PATH}/images/font_add.png" width="16" height="16" alt="" /> <a href="#" onclick="fontsizeup(); return false;" onkeypress="return fontsizeup(event);" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a> &nbsp;<!-- IF U_EMAIL_TOPIC --><img src="{T_THEME_PATH}/images/email_add.png" width="16" height="16" alt="" /> <a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}">{L_EMAIL_TOPIC}</a> &nbsp;<!-- ENDIF --><!-- IF U_EMAIL_PM --><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}">{L_EMAIL_PM}</a><!-- ENDIF -->

				<!-- IF U_PRINT_TOPIC --><img src="{T_THEME_PATH}/images/printer_add.png" width="16" height="16" alt="" /> <a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p">{L_PRINT_TOPIC}</a><!-- ENDIF -->

				<!-- IF U_PRINT_PM --><img src="{T_THEME_PATH}/images/printer_add.png" width="16" height="16" alt="" /> <a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p">{L_PRINT_PM}</a><!-- ENDIF --></span></div>

                

                <div class="clear-both" style="margin-bottom: 6px;"></div>



<div class="toolbar">

<div class="float-left">

	<img src="{T_THEME_PATH}/images/house.png" width="16" height="16" alt="" /> <a href="{U_INDEX}" accesskey="h">{L_INDEX}</a><!-- BEGIN navlinks --> <strong>&raquo;</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks -->

</div><!-- /float-left -->

<div class="float-right">

	<img src="{T_THEME_PATH}/images/help.png" width="16" height="16" alt="" /> <a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a>

    <!-- IF S_DISPLAY_MEMBERLIST --><img src="{T_THEME_PATH}/images/group.png" width="16" height="16" alt="" /> <a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a><!-- ENDIF -->

    <!-- IF S_DISPLAY_SEARCH and not S_USER_LOGGED_IN --><img src="{T_THEME_PATH}/images/magnifier.png" width="16" height="16" alt="" /> <a href="{U_SEARCH}" title="{L_SEARCH}">{L_SEARCH}</a><!-- ENDIF --> 

    <!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --><img src="{T_THEME_PATH}/images/add.png" width="16" height="16" alt="" /> <a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF -->

    <!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->

	<img src="{T_THEME_PATH}/images/user_edit.png" width="16" height="16" alt="" /> <a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="e">{L_PROFILE}</a>

    <!-- IF S_DISPLAY_PM --><img src="{T_THEME_PATH}/images/<!-- IF S_USER_NEW_PRIVMSG -->email_open<!-- ELSE -->email<!-- ENDIF -->.png" width="16" height="16" alt="" /> <a href="{U_PRIVATEMSGS}"><span id="msgcount">{PRIVATE_MESSAGE_INFO}</span></a><!-- ENDIF -->

    <!-- IF S_DISPLAY_SEARCH -->&bull; <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><!-- ENDIF -->

    <!-- ENDIF -->

    <img src="{T_THEME_PATH}/images/<!-- IF not S_USER_LOGGED_IN -->key<!-- ELSE -->disconnect<!-- ENDIF -->.png" width="16" height="16" alt="" /> <a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a>

</div><!-- /float-right -->

</div><!-- /toolbar -->

<script type="text/javascript">

	var messageCountSpan = document.getElementById("msgcount");

	if(messageCountSpan) {

		var messageCount = messageCountSpan.innerHTML.substring(8,9);

		messageCountSpan.style.color = (messageCount > 0) ? "#FF0000" : "#FFFFFF";

	}

</script>

Re: Wo finde ich die Index-Seite?

Verfasst: 25.08.2011 17:21
von eichjoernchen
Hallo!
Bin gerade erst wieder nach Hause gekommen.
Oberhalb des Forums gibt es den Button "Pastebin" darüber wird der Code eingefügt. Sprengt sonst den Rahmen.
Hatte dich aber auch darauf hingewiesen ;-)
Ich schaue mir jetzt mal den Code an. Dann melde ich mich.
Gruß Jörn

Nachtrag:
So, ich habe mir jetzt mal deinen Code angeschaut. Habe die overall_header.html mal in mein Testforum eingebaut und festgestellt, dass du vermutlich zu viel weggelöscht hast. Bei mir ist das Layout jetzt nämlich nach links verschoben.
Da ist irgendwas mit einem Div-Container nicht richtig.
Scheinbar möchtest du auch die Suchfunktion entfernen. Dann können noch einige weitere Zeilen aus dem Code verschwinden:
Nämlich die folgenden:

Code: Alles auswählen

<div id="<!-- IF not S_USER_LOGGED_IN -->formbox<!-- ELSE -->header-search-box<!-- ENDIF -->">

<!-- IF not S_USER_LOGGED_IN -->

<!-- ENDIF -->

<!-- IF S_USER_LOGGED_IN -->

<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->

<!-- ENDIF -->

<!-- ENDIF -->

</div><!--/formbox / search-box-->
Jetzt schaue ich noch mal nach welchen Div-Container du gelöscht hast.

Re: Wo finde ich die Index-Seite?

Verfasst: 25.08.2011 17:47
von eichjoernchen
Hallo!
Ohne Deine Seite zu sehen kann ich ab jetzt nichts mehr für dich tun.
In der overall_header.html wurden massive Änderungen vorgenommen. Mir erschließt sich aber nicht ob das so gewollt ist oder nicht. Deshalb kann ich ab hier nur noch raten.
Wenn ich die Datei in mein Forum einbaue ist das Layout verschoben und unvollständig weil folgende Div-Container fehlen:

Code: Alles auswählen

<div id="main-sidebar"></div>
        
        <div id="main-content">
Wenn das bei dir auch verschoben ist, füge diese Zeilen unterhalb des body-befehls ein.
Das Ganze sieht dann so aus:

Code: Alles auswählen

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

<div id="main-sidebar"></div>
        
        <div id="main-content">
Gruß Jörn