Styleanpassung

Styles Anpassungen / Aufträge bitte hier veröffentlichen.
Styles adjustments / requests, please post here.
Forum rules
Please add a download link to the requested phpBB3 style.
The requested Style has to be released for the latest phpBB version.
------
Bitte füge einen Download-Link zu dem beantragten phpBB3 Style ein.
Anpassung können nur für Styles gemacht werden, die für die aktuelle phpBB3 Version angepasst sind.

Topic author
Temno
Active Member
Active Member
Posts: 4
Joined: 28. September 2010 22:08

Styleanpassung

Post by Temno » 28. September 2010 22:31

Deine Portal Version: 1.0.0RC3
Typ Deines phpBB Forums: Standard phpBB3
MODs installiert: Nein
Dein Wissensstand: Fortgeschritten
Link zu Deinem Forum: http://temno.lima-city.de/wip/phpBB3/

Was hast Du gemacht, bevor das Problem aufgetreten ist?
Portal instaliert

Was hast Du bereits versucht um das Problem zu lösen?
Entsprechende Daten anpassen

Fehlerbeschreibung und Nachricht
Das Portal selbst funktioniert mit den standartstyles einwandfrei (zumindest nach oberflächlicher Betrachtung).

Den Style "WoW Cataclysm" bekomme ich leider nicht umgebaut, da die overall_header.html und overall_footer.html sich grundlegend von den Beispieldateien unterscheiden.

Jetzt meine Frage: was muss ich hier ändern?

header:

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 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>

<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_ENABLE_FEEDS -->
    <!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" /><!-- ENDIF -->
    <!-- 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_FEED_TOPICS_NEW}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
    <!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_ACTIVE}" href="{U_FEED}?mode=topics_active" /><!-- 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: prosilver
    Based on style:   prosilver (this is the default phpBB3 style)
    Original author:  Tom Beddard ( http://www.subBlue.com/ )
    Modified by:

    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>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
<script type="text/javascript">


$(document).ready(function() {
    
    
    $("#topnav li").prepend("<span></span>"); //Throws an empty span tag right before the a tag
    
    $("#topnav li").each(function() { //For each list item...
        var linkText = $(this).find("a").html(); //Find the text inside of the a tag
        $(this).find("span").show().html(linkText); //Add the text in the span tag
    }); 
    
    $("#topnav li").hover(function() {    //On hover...
        $(this).find("span").stop().animate({ 
            marginTop: "-40" //Find the span tag and move it up 40 pixels
        }, 250);
    } , function() { //On hover out...
        $(this).find("span").stop().animate({
            marginTop: "0" //Move the span back to its original state (0px)
        }, 250);
    });
    
    
});
</script>



<!-- 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 id="wrap">
<div id="header_1"></div>
<div id="menus">
<ul id="topnav">
    <li><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
    <li><a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="e">{L_PROFILE}</a></li>
    <!-- IF S_DISPLAY_PM --><li><a href="{U_PRIVATEMSGS}">( {PRIVATE_MESSAGE_INFO} )</a></li><!-- ENDIF -->
    <li><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
    <li><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li>
<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --><li><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
    <li><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li>
<!-- IF S_DISPLAY_SEARCH --><li><a href="{U_SEARCH}">{L_SEARCH}</a></li><!-- ENDIF -->
</ul>
</div>
    <a id="top" name="top" accesskey="t"></a>
    <a name="start_here"></a>
    <div id="page-body">
        <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
        <div id="information" 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 -->
<div id="middle">
footer:

Code: Select all

    <div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> &copy; phpBB Group :: Theme by <mailto:matti@gamesboard.pl><b>Matti</b></a> from <a href="http://www.gamesboard.pl" title="esport, games portal"><b>GamesBoard.pl</b></a>
        <!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF -->
        <!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF -->
        <!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF -->
    </div>    </div>

<div id="page-footer" style="margin-bottom: -4px;">

    <div class="navbar">
        <div class="inner"><span class="corners-top"><span></span></span>

        <ul class="linklist">
            <li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
                <!-- IF not S_IS_BOT -->
                    <!-- IF S_WATCH_FORUM_LINK --><li <!-- IF S_WATCHING_FORUM -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{S_WATCH_FORUM_LINK}" title="{S_WATCH_FORUM_TITLE}">{S_WATCH_FORUM_TITLE}</a></li><!-- ENDIF -->
                    <!-- IF U_WATCH_TOPIC --><li <!-- IF S_WATCHING_TOPIC -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a></li><!-- ENDIF -->
                    <!-- IF U_BOOKMARK_TOPIC --><li class="icon-bookmark"><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a></li><!-- ENDIF -->
                    <!-- IF U_BUMP_TOPIC --><li class="icon-bump"><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a></li><!-- ENDIF -->
                <!-- ENDIF -->
            <li class="rightside"><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a> &bull; <!-- ENDIF --><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a> &bull; <!-- ENDIF -->{S_TIMEZONE}</li>
        </ul>

        <span class="corners-bottom"><span></span></span></div>
    </div>

<!--
    We request you retain the full copyright notice below including the link to www.phpbb.com.
    This not only gives respect to the large amount of time given freely by the developers
    but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
    the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
    "phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
    forums may be affected.

    The phpBB Group : 2006
//-->
</div>

</div>

<div>
    <a id="bottom" name="bottom" accesskey="z"></a>
    <!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
</div>
</div>
</body>
</html>
[/i]

User avatar

archivar
Portal Professional
Portal Professional
Posts: 1882
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: Styleanpassung

Post by archivar » 28. September 2010 22:38

Hallo,
ich will versuchen in den kommenden Tagen eine Anleitung, zum Einbau des Portal´s in den Style, zu schreiben.
V.G. archivar
sorry for my bad english


Topic author
Temno
Active Member
Active Member
Posts: 4
Joined: 28. September 2010 22:08

Re: Styleanpassung

Post by Temno » 28. September 2010 22:47

Danke dir für die mühe, ich schau dann mal regelmässig hier rein.

User avatar

archivar
Portal Professional
Portal Professional
Posts: 1882
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: Styleanpassung

Post by archivar » 28. September 2010 23:22

Mal auf die Schnelle für den Style WoWCataclysm v. 1.1.1:
Bis auf die overall_header.html folge der install.xml.
Such in root/styles/WoWCataclysm/template/overall_header.html :

Code: Select all

<div id="menus">
<ul id="topnav">
    <li><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
    <li><a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="e">{L_PROFILE}</a></li>
    <!-- IF S_DISPLAY_PM --><li><a href="{U_PRIVATEMSGS}">( {PRIVATE_MESSAGE_INFO} )</a></li><!-- ENDIF -->
    <li><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
    <li><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li>
<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --><li><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
    <li><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li>
<!-- IF S_DISPLAY_SEARCH --><li><a href="{U_SEARCH}">{L_SEARCH}</a></li><!-- ENDIF -->
</ul>
</div>
ersetze damit :

Code: Select all

<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
<div id="menus">
<ul id="topnav">
    <li><a href="{U_PORTAL}" accesskey="h">{L_PORTAL}</a></li>
    <li><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
    <li><a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="e">{L_PROFILE}</a></li>
    <!-- IF S_DISPLAY_PM --><li><a href="{U_PRIVATEMSGS}">( {PRIVATE_MESSAGE_INFO} )</a></li><!-- ENDIF -->
    <li><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
    <li><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li>
<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --><li><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
    <li><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li>
<!-- IF S_DISPLAY_SEARCH --><li><a href="{U_SEARCH}">{L_SEARCH}</a></li><!-- ENDIF -->
</ul>
</div>
<!-- ENDIF -->
Aktualisiere deine Styles:
"Administrations-Bereich" (ACP) > "Styles" > "Templates" > jedes > "Aktualisieren"
"Administrations-Bereich" (ACP) > "Styles" > "Themes" > jedes > "Aktualisieren"
"Administrations-Bereich" (ACP) > "Styles" > "Grafiksammlungen" > jedes > "Aktualisieren"

Leere den Cache im "Administrations-Bereich" (ACP) > "Allgemein" > "Den Cache leeren"
Ausführliche Anleitung für alle, auch in Englisch, folgt.
V.G. archivar
sorry for my bad english


Topic author
Temno
Active Member
Active Member
Posts: 4
Joined: 28. September 2010 22:08

Re: Styleanpassung

Post by Temno » 28. September 2010 23:47

erstmal vielen Dank für die fixe hilfe!

OK, ich hab jetzt die header nach den Anweisungen hier geändert, die footer und die stylesheet.css nach der anweisung aus der install geändert.

Portallink ist damit schon mal einwandfrei drin (dafür schon mal dickes Danke!)

Wenn ich den Link dann klicke bekomme ich folgende Fehlermeldung:
Seite derzeit nicht verfügbar

Die gewünschte Seite ist derzeit leider nicht verfügbar.

Mögliche Ursachen:

* Es werden soeben Wartungsarbeiten durchgeführt.
* Der Server ist kurzzeitig überlastet.
* Es erfolgen zu viele Anfragen in zu kurzen Abständen.
* Die Anfrage war ungültig.

Bitte versuchen Sie es später noch einmal. (Statuscode 503)

User avatar

archivar
Portal Professional
Portal Professional
Posts: 1882
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: Styleanpassung

Post by archivar » 29. September 2010 00:05

Du hast nicht alle Dateien hoch geladen.
Du musst noch die original Portal-Dateien aus root/styles/prosilver/template/portal/*.* in deinen Style-Ordner laden.
V.G. archivar
sorry for my bad english


Topic author
Temno
Active Member
Active Member
Posts: 4
Joined: 28. September 2010 22:08

Re: Styleanpassung

Post by Temno » 29. September 2010 00:12

omfg... an alles gedacht, aber daran nicht... *Kopf->Tisch*

jetzt läufts einwandfrei, nochmals vielen dank für die schnelle Hilfe!


Kommentar meiner Frau: "So stell ich mir einen echten Programmierer vor: wenn ein Problem da ist wird so lange gebohrt bis es gelöst ist."

und ich kann ihr da nur zustimmen ;)


Von ihr auch ein dickes Danke, da es eigentlich ihr Forum ist, an dem ich basteln darf :mrgreen:

Return to “Style requests”