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.
nightowl04
Active Member
Posts: 13 Joined: 21. January 2010 05:34
Post
by nightowl04 » 11. February 2010 16:28
also bei den Umbau verstehe ich den letzten Part nicht
Code: Select all
öffne: styles/DarkFantasy/template/overall_header.html
finde:
Code: Alles auswählen
<div id="content1">
<div id="content2">
<div id="content3">
danach einfügen:
Code: Alles auswählen
<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
finde:
Code: Alles auswählen
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --><br /><span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF --></p>
davor einfügen:
Code: Alles auswählen
<!-- ENDIF -->
[b]finde:
Code: Alles auswählen
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --><br /><span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF --></p>
danach einfügen:
Code: Alles auswählen
<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->[/b]
Den Part zweimal, ich finde den Part nicht zweimal oder bin ich nur blind?
Mike
Former Team Member
Posts: 1862 Joined: 3. July 2008 23:59
Location: Schwarzwald / FDS
Contact:
Post
by Mike » 11. February 2010 18:59
Es is die selbe Zeile... Einmal musst du etwas davor einfügen, und einmal danach...
kein Support per PN / Messenger
no Support via PM / Messenger
nightowl04
Active Member
Posts: 13 Joined: 21. January 2010 05:34
Post
by nightowl04 » 11. February 2010 23:50
oh mann, entschuldige, ich war dann nicht blind, sondern nur mächtig blöd. Sorry, danke für deine Mühe, ich bin Esel.
Topic author
Frutton
Active Member
Posts: 11 Joined: 12. February 2009 14:19
phpBB.de User: Frutton
phpBB.com User: Frutton
Post
by Frutton » 12. February 2010 07:36
Hab alles wie beschrieben getan, konnte Portal allerdings nur in der Theorie installieren...
Kriege nach der Installation folgenden Fehler:
Parse error: syntax error, unexpected $end in /srv/www/httpd/phost/f/com/pytalhost/frutton/web/Spaceballs/cache/tpl_DarkFantasy_overall_header.html.php on line 204
Was mich etwas verwundert. Hab auch schon den Cache Ordner geleert, aber bringt irgendwie nichts.
Mike
Former Team Member
Posts: 1862 Joined: 3. July 2008 23:59
Location: Schwarzwald / FDS
Contact:
Post
by Mike » 12. February 2010 10:16
Kopiere mal bitte deine overall_header.html hier rein.
kein Support per PN / Messenger
no Support via PM / Messenger
Topic author
Frutton
Active Member
Posts: 11 Joined: 12. February 2009 14:19
phpBB.de User: Frutton
phpBB.com User: Frutton
Post
by Frutton » 12. February 2010 10:40
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} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- 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 -->
<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 per_page = '{PER_PAGE}';
var base_url = '{A_BASE_URL}';
if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0)
{
if (base_url.indexOf('?') == -1)
{
document.location.href = base_url + '?start=' + ((page - 1) * per_page);
}
else
{
document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);
}
}}
/**
* 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>
<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>
</div>
<div id="content1">
<div id="content2">
<div id="content3">
<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
<br style="clear: both;" />
<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 --></p>
<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
<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_UNREAD}">{L_SEARCH_UNREAD}</a> | <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 />
<div id="wrapheader"></div>
nightowl04
Active Member
Posts: 13 Joined: 21. January 2010 05:34
Post
by nightowl04 » 12. February 2010 17:15
Kann leider auch nur bestätigen:
Code: Select all
Parse error: syntax error, unexpected $end in ...../site/cache/tpl_DarkFantasy_overall_header.html.php on line 203
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} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- 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 -->
<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 per_page = '{PER_PAGE}';
var base_url = '{A_BASE_URL}';
if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0)
{
if (base_url.indexOf('?') == -1)
{
document.location.href = base_url + '?start=' + ((page - 1) * per_page);
}
else
{
document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);
}
}}
/**
* 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>
<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>
</div>
<div id="content1">
<div id="content2">
<div id="content3">
<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
<br style="clear: both;" />
<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 --></p><!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
<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_UNREAD}">{L_SEARCH_UNREAD}</a> | <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 />
<div id="wrapheader"></div>
Marc
Dev
Posts: 2504 Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:
Post
by Marc » 12. February 2010 17:29
Bei den Edits in der overall_header.html fehlt noch:
Finde:
Davor einfügen:
Topic author
Frutton
Active Member
Posts: 11 Joined: 12. February 2009 14:19
phpBB.de User: Frutton
phpBB.com User: Frutton
Post
by Frutton » 12. February 2010 18:57
Hab ich hinzugefügt, der Fehler bleibt allerdings der selbe.
Mike
Former Team Member
Posts: 1862 Joined: 3. July 2008 23:59
Location: Schwarzwald / FDS
Contact:
Post
by Mike » 12. February 2010 19:29
Oh, Marc hat recht, da ist mir leider ein kleiner copy&paste Fehler unterlaufen.
Hab das eben in der Anleitung berichtigt, und den Header nochmal genau nach dieser Anleitung neu bearbeitet, und es funktioniert....
Wahrscheinlich musst du einfach nochmal die Caches leeren, nachdem die Zeile dazugekommen ist.
kein Support per PN / Messenger
no Support via PM / Messenger
Topic author
Frutton
Active Member
Posts: 11 Joined: 12. February 2009 14:19
phpBB.de User: Frutton
phpBB.com User: Frutton
Post
by Frutton » 12. February 2010 19:37
Hatte ich davor eigentlich schon, habs aber jetzt nochmal gelöscht und es geht tatsächlich.
Danke für die Anleitung
nightowl04
Active Member
Posts: 13 Joined: 21. January 2010 05:34
Post
by nightowl04 » 13. February 2010 10:12
Dito, ich kann mich auch ganz herzlich für deine Mühe dankbar und dankbar sagen, das ich den Style nun gerne nutze. Ein schönes Wochenende.