Style Base: subsilver2
Style Version: 1.6.8
phpBB Version: 3.0.10
Board3Portal Version: 2.0.0
Style Download: http://www.phpbb.com/customise/db/style/black_pearl/
Style Download: http://www.phpbb.com/customise/db/style/rainbow_pearl/
Screenshot: Step by Step Guide in
- [+] English
- This Guide is written for black_pearl, but it works for rainbow_pearl also.
If you want to use this Guide for rainbow_pearl you just have to replace "black_pearl" with the Name of your Style in this Guide.
First you need to download and install this Style. If it works, you can install the Portal for this Style as per description:
From the B3P-download-package you must first perform the install.xml.
copy: root/styles/subsilver2/template/portal/*.*
to: root/styles/black_pearl/template/portal/*.*
copy: root/styles/subsilver2/theme/images/portal/*.*
to: root/styles/black_pearl/theme/images/portal/*.*
open: root/styles/black_pearl/template/breadcrumbs.html
Find
Tip: This may be a partial find and not the whole line.In-line Add beforeCode: Select all
<a href="{U_INDEX}">{L_INDEX}</a>
open: root/styles/black_pearl/template/breadcrumbs_footer.htmlCode: Select all
<!-- IF U_PORTAL --><a href="{U_PORTAL}">{L_PORTAL}</a> » <!-- ENDIF -->
Find
Tip: This may be a partial find and not the whole line.In-line Add beforeCode: Select all
<a href="{U_INDEX}">{L_INDEX}</a>
open: root/styles/black_pearl/template/breadcrumbs_pages.htmlCode: Select all
<!-- IF U_PORTAL --><a href="{U_PORTAL}">{L_PORTAL}</a> » <!-- ENDIF -->
Find
Tip: This may be a partial find and not the whole line.In-line Add beforeCode: Select all
<a href="{U_INDEX}">{L_INDEX}</a>
open: root/styles/black_pearl/template/menu_block.htmlCode: Select all
<!-- IF U_PORTAL --><a href="{U_PORTAL}">{L_PORTAL}</a> » <!-- ENDIF -->
Find
Tip: This may be a partial find and not the whole line.In-line Add beforeCode: Select all
<a href="{U_INDEX}">{L_FORUM}</a>
open: root/styles/black_pearl/template/overall_header.htmlCode: Select all
<!-- IF U_PORTAL --><a href="{U_PORTAL}">{L_PORTAL}</a> <img src="{T_THEME_PATH}/images/menu_sep.png" alt="" /> <!-- ENDIF -->
Find
Tip: This may be a partial find and not the whole line.Add beforeCode: Select all
<!-- INCLUDE menu_block.html -->
Tip: Add these lines on a new blank line before the preceding line(s) to find.Add afterCode: Select all
<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
Tip: Add these lines on a new blank line after the preceding line(s) to find.open: root/styles/black_pearl/template/portal/modules/forumlist.htmlCode: Select all
<!-- ENDIF -->
Find and Delete
Tip: Find and delete this code.open: root/styles/black_pearl/template/portal/_block_config.htmlCode: Select all
<!-- IF S_DISPLAY_SEARCH or (S_USER_LOGGED_IN and not S_IS_BOT) --> <!-- 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 or S_LOAD_UNREADS --> <span style="float: {S_CONTENT_FLOW_END};"><!-- IF S_LOAD_UNREADS --><a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a><!-- IF S_USER_LOGGED_IN --> | <!-- ENDIF --><!-- ENDIF --><!-- IF S_USER_LOGGED_IN --><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><!-- ENDIF --></span> <!-- ENDIF --> </p> <!-- ENDIF --> <!-- ENDIF --> <br />
Replace with
Tip: Replace the preceding line(s) to find with the following lines.additional changes: noCode: Select all
<!-- Config for the left and right blocks //--> <!-- DEFINE $LR_BLOCK_H_L = '<div><div class="tbl-h-l" style="padding-left: 5px"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title"><span style="float: left">' --> <!-- DEFINE $LR_BLOCK_H_R = '</span></div></div></div></div>' --> <!-- DEFINE $LR_BLOCK_F_L = '<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c"> ' --> <!-- DEFINE $LR_BLOCK_F_R = '</div></div></div></div><br style="clear:both" />' --> <!-- Config for the center blocks //--> <!-- DEFINE $C_BLOCK_H_L = '<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title"><span style="text-align: center">' --> <!-- DEFINE $C_BLOCK_H_R = '</span></div></div></div></div>' --> <!-- DEFINE $C_BLOCK_F_L = '<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c"> ' --> <!-- DEFINE $C_BLOCK_F_R = '</div></div></div></div><br style="clear:both" />' --> <!-- Images-URL //--> <!-- DEFINE $WHOS_IMAGES = '/images/online.png' --> <!-- DEFINE $NO_AVATAR_IMG = '/images/no_avatar.gif' --> <!-- Vertical distance between left/right and center Blocks --> <!-- DEFINE $BLOCK_DISTANCE = '10px' --> <!-- show Icons in left/right Blocks? 0=no 1=yes --> <!-- DEFINE $S_BLOCK_ICON = 1 --> <!-- override the column width settings of the ACP for this style? 0=no 1=yes --> <!-- DEFINE $S_COLUMNS_WIDTH_OVERRIDE = 0 --> <!-- override the column width settings of the ACP - set the width if enabled --> <!-- DEFINE $PORTAL_LEFT_COLUMN_OVERRIDE = '200' --> <!-- DEFINE $PORTAL_RIGHT_COLUMN_OVERRIDE = '200' --> <!-- override for rtl styles ... only needed if you have an RTL language --> <!-- IF S_CONTENT_DIRECTION eq 'rtl' --> <!-- DEFINE $LR_BLOCK_H_L = '<table class="tablebg" cellspacing="1" width="100%"><tr><th><span style="float: right">' --> <!-- ENDIF -->
DIY instructions: Knowledge Base: Changes to forums styles
- [+] Deutsch
- Diese Anleitung wurde für black_pearl geschrieben, funktioniert aber auch für rainbow_pearl.
Wenn ihr diese Anleitung für rainbow_pearl nutzen wollt, müsst ihr einfach "black_pearl" in diese Anleitung mit dem Namen eures Styles ersetzen.
Als erstes musst du das Style downloaden und Installieren. Wenn das geschafft ist und das Style läuft, kannst du das Portal für das Style nach folgender Anleitung installieren:
Aus dem B3P-download-paket must Du zuerst die install.xml ausführen.
kopiere: root/styles/subsilver2/template/portal/*.*
nach: root/styles/black_pearl/template/portal/*.*
kopiere: root/styles/subsilver2/theme/images/portal/*.*
nach: root/styles/black_pearl/theme/images/portal/*.*
Öffne: root/styles/black_pearl/template/breadcrumbs.html
Finden
Hinweis: Der zu findende Code kann auch nur ein Teil einer Zeile sein.In der Zeile davor einfügenCode: Select all
<a href="{U_INDEX}">{L_INDEX}</a>
Öffne: root/styles/black_pearl/template/breadcrumbs_footer.htmlCode: Select all
<!-- IF U_PORTAL --><a href="{U_PORTAL}">{L_PORTAL}</a> » <!-- ENDIF -->
Finden
Hinweis: Der zu findende Code kann auch nur ein Teil einer Zeile sein.In der Zeile davor einfügenCode: Select all
<a href="{U_INDEX}">{L_INDEX}</a>
Öffne: root/styles/black_pearl/template/breadcrumbs_pages.htmlCode: Select all
<!-- IF U_PORTAL --><a href="{U_PORTAL}">{L_PORTAL}</a> » <!-- ENDIF -->
Finden
Hinweis: Der zu findende Code kann auch nur ein Teil einer Zeile sein.In der Zeile davor einfügenCode: Select all
<a href="{U_INDEX}">{L_INDEX}</a>
Öffne: root/styles/black_pearl/template/menu_block.htmlCode: Select all
<!-- IF U_PORTAL --><a href="{U_PORTAL}">{L_PORTAL}</a> » <!-- ENDIF -->
Finden
Hinweis: Der zu findende Code kann auch nur ein Teil einer Zeile sein.In der Zeile davor einfügenCode: Select all
<a href="{U_INDEX}">{L_FORUM}</a>
Öffne: root/styles/black_pearl/template/overall_header.htmlCode: Select all
<!-- IF U_PORTAL --><a href="{U_PORTAL}">{L_PORTAL}</a> <img src="{T_THEME_PATH}/images/menu_sep.png" alt="" /> <!-- ENDIF -->
Finden
Hinweis: Der zu findende Code kann auch nur ein Teil einer Zeile sein.Davor einfügenCode: Select all
<!-- INCLUDE menu_block.html -->
Hinweis: Diese Zeile(n) werden in einer neuen Zeile vor den/der gerade gesuchten eingefügt.Danach einfügenCode: Select all
<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
Hinweis: Diese Zeile(n) werden in einer neuen Zeile nach den/der gerade gesuchten eingefügt.Öffne: root/styles/black_pearl/template/portal/modules/forumlist.htmlCode: Select all
<!-- ENDIF -->
Finde und entferne
Tip: Finde und entferne diesen Code.Öffne: root/styles/black_pearl/template/portal/_block_config.htmlCode: Select all
<!-- IF S_DISPLAY_SEARCH or (S_USER_LOGGED_IN and not S_IS_BOT) --> <!-- 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 or S_LOAD_UNREADS --> <span style="float: {S_CONTENT_FLOW_END};"><!-- IF S_LOAD_UNREADS --><a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a><!-- IF S_USER_LOGGED_IN --> | <!-- ENDIF --><!-- ENDIF --><!-- IF S_USER_LOGGED_IN --><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><!-- ENDIF --></span> <!-- ENDIF --> </p> <!-- ENDIF --> <!-- ENDIF --> <br />
Ersetzen mit
Hinweis: Die genannten Zeile(n) werden mit den/der folgenden ersetzt.zusätzliche Änderungen: neinCode: Select all
<!-- Config for the left and right blocks //--> <!-- DEFINE $LR_BLOCK_H_L = '<div><div class="tbl-h-l" style="padding-left: 5px"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title"><span style="float: left">' --> <!-- DEFINE $LR_BLOCK_H_R = '</span></div></div></div></div>' --> <!-- DEFINE $LR_BLOCK_F_L = '<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c"> ' --> <!-- DEFINE $LR_BLOCK_F_R = '</div></div></div></div><br style="clear:both" />' --> <!-- Config for the center blocks //--> <!-- DEFINE $C_BLOCK_H_L = '<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title"><span style="text-align: center">' --> <!-- DEFINE $C_BLOCK_H_R = '</span></div></div></div></div>' --> <!-- DEFINE $C_BLOCK_F_L = '<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c"> ' --> <!-- DEFINE $C_BLOCK_F_R = '</div></div></div></div><br style="clear:both" />' --> <!-- Images-URL //--> <!-- DEFINE $WHOS_IMAGES = '/images/online.png' --> <!-- DEFINE $NO_AVATAR_IMG = '/images/no_avatar.gif' --> <!-- Vertical distance between left/right and center Blocks --> <!-- DEFINE $BLOCK_DISTANCE = '10px' --> <!-- show Icons in left/right Blocks? 0=no 1=yes --> <!-- DEFINE $S_BLOCK_ICON = 1 --> <!-- override the column width settings of the ACP for this style? 0=no 1=yes --> <!-- DEFINE $S_COLUMNS_WIDTH_OVERRIDE = 0 --> <!-- override the column width settings of the ACP - set the width if enabled --> <!-- DEFINE $PORTAL_LEFT_COLUMN_OVERRIDE = '200' --> <!-- DEFINE $PORTAL_RIGHT_COLUMN_OVERRIDE = '200' --> <!-- override for rtl styles ... only needed if you have an RTL language --> <!-- IF S_CONTENT_DIRECTION eq 'rtl' --> <!-- DEFINE $LR_BLOCK_H_L = '<table class="tablebg" cellspacing="1" width="100%"><tr><th><span style="float: right">' --> <!-- ENDIF -->
Manuelle Vorgänge: Knowledge Base: Änderungen an den Styles Dateien