## MOD Title: phpBB3 Portal
## MOD Author: angelside < n/a > (Sevdin Filiz) http://www.phpbb3portal.com
## MOD Description: a simple and more powerfull portal for phpBB3 Olympus
## MOD Version: 1.0.3b
- Código: Selecionar todo
##############################################################
## MOD Title: phpBB3 Portal
## MOD Author: angelside < n/a > (Sevdin Filiz) http://www.phpbb3portal.com
## MOD Description: a simple and more powerfull portal for phpBB3 Olympus
## MOD Version: 1.0.3b
##
## Installation Level: Easy
## Installation Time: 9 minutes
##
## Files To Edit: includes/functions.php
## styles/subsilver2/template/overall_header.html
## styles/subsilver2/template/overall_footer.html
## styles/subsilver2/template/breadcrumbs.html
## styles/prosilver/template/overall_header.html
## styles/prosilver/template/overall_footer.html
##
## Included Files: .htaccess
## bb3portal.php
## bb3portal/*
## language/en/bb3portal.php
## styles/subsilver2/template/bb3portal
## styles/prosilver/template/bb3portal
## styles/subsilver2/theme/images/icon_mini_forum.gif
## styles/subsilver2/theme/images/icon_mini_home.gif
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## Author Notes:
##
## All files contribute XHTML and UTF-8
##
## Demo, development and bug board is: www.phpbb3portal.com.
## English promotion, feature, about site is www.phpbb3portal.net
##
## Tested only MYSQL, maybe not works other database types
##
## phpBB3 Portal is have follows language package
##
## * English
## * Turkish
## * French ( abpphpbb, sjpphpbb.net )
## * Garman ( Kevin Breest, board3.de )
## * Portugues, Brasil ( Nicolas Fraga - nicolasfraga.uni.cc )
## * Danish ( John Hjorth - phpBB3.dk )
## * Spanish, Galician ( casimedicos - casimedicos.com.es )
## * Dutch ( Nymphy - phpBBservice.nl )
## * Polish ( tomek - bibliotekasnow.prv.pl )
## * Czech ( Seqwence - olympus.boyzdesign.net )
##
##############################################################
## MOD History:
##
## 2006-10-28 - Version 1.0.0a
## * For error and feedback, first release
## * fix a small character error on welcome.html
##
## 2006-12-04 - Version 1.0.0a
## * too many change and fix
##
## 2007-01-30 - Version 1.0.0b
## * Testing with phpBB3.B5
## * Too many fix and change
##
## 2007-02-09 - Version 1.0.1b
## * add German language files
## * add Portugues, Brasil language files
## * fix a small code on all language files
##
## 2007-04-03 - Version 1.0.2b
## * update to phpBB3-CVS_2007-04-03
## * add prosilver template files and changes
## * add subsilver2 template files and changes
## * delete subSilver template files
## * add Spanish, Galician, Dutch, Polish language files
##
## 2007-07-05 - Version 1.0.3b
## * add Czech language files ( thanks to Seqwence )
## * fixed "portal block overstretching on ie6" for prosilver theme
## * fixed jumpbox
## * fixed/deleted "link us" input box maxlength size
## * change main layout
## * new prosilver news block (tested)
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ COPY ]------------------------------------------
#
Copy: root/.htaccess
To: .htaccess
Copy: root/bb3portal.php
To: bb3portal.php
Copy: root/bb3portal
To: bb3portal
Copy: root/language/en/bb3portal.php
To: language/en/bb3portal.php
Copy: root/styles/subsilver2/template/bb3portal
To: styles/subsilver2/template/bb3portal
Copy: root/styles/subsilver2/theme/images/icon_mini_forum.gif
To: styles/subsilver2/theme/images/icon_mini_forum.gif
Copy: root/styles/subsilver2/theme/images/icon_mini_home.gif
To: styles/subsilver2/theme/images/icon_mini_home.gif
#
#-----[ OPEN ]------------------------------------------
#
includes/functions.php
#
#-----[ FIND ]------------------------------------------
#
define('HEADER_INC', true);
#
#-----[ AFTER, ADD ]------------------------------------------
#
$user->add_lang('bb3portal');
#
#-----[ FIND ]------------------------------------------
#
'U_RESTORE_PERMISSIONS' => ($user->data['user_perm_from'] && $auth->acl_get('a_switchperm')) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=restore_perm') : '',
#
#-----[ AFTER, ADD ]------------------------------------------
#
'U_PORTAL' => append_sid("{$phpbb_root_path}bb3portal.$phpEx"),
'S_PORTAL_COPY' => $user->lang['PORTAL_COPY'],
#
#-----[ OPEN ]------------------------------------------
#
styles/subsilver2/template/overall_header.html
#
#-----[ FIND ]------------------------------------------
#
<a href="{U_FAQ}">
#
#-----[ IN-LINE FIND ]------------------------------------------
#
<a href="{U_FAQ}">
#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------
#
<a href="{U_PORTAL}"><img src="{T_THEME_PATH}/images/icon_mini_home.gif" width="12" height="13" border="0" alt="{L_PORTAL}" /> {L_PORTAL}</a> <a href="{U_INDEX}"><img src="{T_THEME_PATH}/images/icon_mini_forum.gif" width="12" height="13" border="0" alt="{L_INDEX}" /> {L_INDEX}</a>
#
#-----[ FIND ]------------------------------------------
#
<!-- 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 -->
<br />
#
#-----[ REPLACE WITH ]------------------------------------------
#
<!-- IF not $S_IN_INDEX -->
<!-- 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 -->
<br />
<!-- ENDIF -->
#
#-----[ OPEN ]------------------------------------------
#
styles/subsilver2/template/overall_footer.html
#
#-----[ FIND ]------------------------------------------
#
<!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF -->
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- IF S_PORTAL_COPY --><br />{S_PORTAL_COPY}<!-- ENDIF -->
#
#-----[ OPEN ]------------------------------------------
#
styles/subsilver2/template/breadcrumbs.html
#
#-----[ FIND ]------------------------------------------
#
<a href="{U_INDEX}">{L_INDEX}</a>
#
#-----[ IN-LINE FIND ]------------------------------------------
#
<a href="{U_INDEX}">{L_INDEX}</a>
#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------
#
<a href="{U_PORTAL}">{L_PORTAL}</a> »
#
#-----[ OPEN ]------------------------------------------
#
styles/prosilver/template/overall_header.html
#
#-----[ FIND ]------------------------------------------
#
<a class="icon-home" href="{U_INDEX}" accesskey="h">{L_INDEX}</a>
#
#-----[ REPLACE WITH ]------------------------------------------
#
<a class="icon-home" href="{U_PORTAL}">{L_PORTAL}</a> » <a href="{U_INDEX}" accesskey="h">{L_INDEX}</a>
#
#-----[ FIND ]------------------------------------------
#
<!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF -->
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- IF S_PORTAL_COPY --><br />{S_PORTAL_COPY}<!-- ENDIF -->
#
#-----[ DIY INSTRUCTIONS ]------------------------------------------
#
After installation clear your cache/ directory
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Arquivos para editar após atualização!
- Código: Selecionar todo
## Files To Edit: includes/functions.php
#-----[ OPEN ]------------------------------------------
includes/functions.php
#-----[ FIND ]------------------------------------------
define('HEADER_INC', true);
#-----[ AFTER, ADD ]------------------------------------------
$user->add_lang('bb3portal');
#-----[ FIND ]------------------------------------------
'U_RESTORE_PERMISSIONS' => ($user->data['user_perm_from'] && $auth->acl_get('a_switchperm')) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=restore_perm') : '',
#-----[ AFTER, ADD ]------------------------------------------
'U_PORTAL' => append_sid("{$phpbb_root_path}bb3portal.$phpEx"),
'S_PORTAL_COPY' => $user->lang['PORTAL_COPY'],
