MOD Portalview im gesamten Board
Hallo zusammen,
wie bereits schon einmal angedeutet, habe ich mal die Änderungen zusammengestellt, die nötig sind um das gesamte Board mit den Portalfunktionen auszustatten.
Ob man das nun Mod nennt, ob ich da überhaupt meinen Namen hinschreiben darf/sollte überlasse ich mal den Entwicklern des Boards, denn eigentlich habe ich nur den Code anderer Leute neu zusammen gewürfelt.
Daher gibts auch noch keine XML dazu, denn erstmal sehen ob das lohnt.
Unter dem angegebenen Link ist das ganze mal als Demo zu sehen.
Die Technik ist ganz simpel, es werden die Portalspalten in Header bzw Footer verlegt und die entsprechenden Funktionen in jede Seite integriert.
Natürlich muss dann aus der portal.php alles entfernt werden was die Spalten betrifft.
Der Arbeitsaufwand beträgt nach ersten Erfahrungen ca 5min ohne Kalender, mit etwa 2 min mehr.
Hier nun das HowTo dazu, immer die aktuellste Version mit allen Änderungen aus dem weiteren Thread findet ihr hier:
Im Verzeichnis portal/includes eine Datei portalview.php erstellen mit folgendem Inhalt:
Code: Select all
<?php
define('IN_PORTAL', true);
include($phpbb_root_path . 'portal/includes/functions.'.$phpEx);
$portal_config = obtain_portal_config();
$user->setup('mods/lang_portal');
$load_center = true;
if ( is_dir( $phpbb_root_path . 'install_portal/' ) === TRUE )
{
if ( is_file( $phpbb_root_path . 'install_portal/install.'.$phpEx ) === TRUE )
{
include $phpbb_root_path . 'install_portal/install.'.$phpEx;
if ( version_compare( $current_version, $portal_config['portal_version'], '<=' ) === TRUE )
{
$template->assign_vars(array(
'S_DISPLAY_GENERAL' => true,
'GEN_TITLE' => $user->lang['PORTAL_ERROR'],
'GEN_MESSAGE' => sprintf( $user->lang['PORTAL_DELETE_DIR'], $phpbb_root_path . 'install_portal' )
));
}
else
{
$template->assign_vars(array(
'S_DISPLAY_GENERAL' => true,
'GEN_TITLE' => $user->lang['PORTAL_UPDATE'],
'GEN_MESSAGE' => sprintf( $user->lang['PORTAL_UPDATE_TEXT'], $phpbb_root_path . 'install_portal/install.'.$phpEx, $current_version )
));
}
$load_center = false;
}
}
// show login box and user menu
// only registered user see user menu
if ($user->data['is_registered'])
{
include($phpbb_root_path . 'portal/block/user_menu.'.$phpEx);
}
else
{
include($phpbb_root_path . 'portal/block/login_box.'.$phpEx);
}
if ($portal_config['portal_main_menu'])
{
include($phpbb_root_path . 'portal/block/main_menu.'.$phpEx);
}
if ($portal_config['portal_user_menu'])
{
$template->assign_vars(array(
'S_DISPLAY_USERMENU' => true,
));
}
if ($portal_config['portal_custom_small'])
{
include($phpbb_root_path . 'portal/block/custom.'.$phpEx);
}
if ($portal_config['portal_birthdays'])
{
include($phpbb_root_path . 'portal/block/birthday_list.'.$phpEx);
}
if ($portal_config['portal_search'])
{
include($phpbb_root_path . 'portal/block/search.'.$phpEx);
}
if ($portal_config['portal_attachments'] && $config['allow_attachments'])
{
include($phpbb_root_path . 'portal/block/attachments.'.$phpEx);
}
if ($portal_config['portal_advanced_stat'])
{
include($phpbb_root_path . 'portal/block/statistics.'.$phpEx);
}
if ($portal_config['portal_minicalendar'])
{
include($phpbb_root_path . 'portal/block/mini_cal.'.$phpEx);
}
if ($portal_config['portal_link_us'])
{
include($phpbb_root_path . 'portal/block/link_us.'.$phpEx);
}
if ($portal_config['portal_leaders'] && $portal_config['portal_leaders_ext'])
{
include($phpbb_root_path . 'portal/block/leaders_ext.'.$phpEx);
}
elseif ($portal_config['portal_leaders'])
{
include($phpbb_root_path . 'portal/block/leaders.'.$phpEx);
}
if ($portal_config['portal_load_last_visited_bots'])
{
include($phpbb_root_path . 'portal/block/latest_bots.'.$phpEx);
}
if ($portal_config['portal_top_posters'])
{
include($phpbb_root_path . 'portal/block/top_posters.'.$phpEx);
}
if ($portal_config['portal_latest_members'])
{
include($phpbb_root_path . 'portal/block/latest_members.'.$phpEx);
}
if ($portal_config['portal_random_member'])
{
include($phpbb_root_path . 'portal/block/random_member.'.$phpEx);
}
if ($portal_config['portal_friends'])
{
include($phpbb_root_path . 'portal/block/friends.'.$phpEx);
}
if ($portal_config['portal_change_style'])
{
include($phpbb_root_path . 'portal/block/change_style.'.$phpEx);
}
if ($portal_config['portal_clock'])
{
$template->assign_vars(array(
'S_DISPLAY_CLOCK' => true,
));
}
if ($portal_config['portal_links'])
{
include($phpbb_root_path . 'portal/block/links.'.$phpEx);
}
if ($portal_config['portal_pay_s_block'] or ( $portal_config['portal_pay_c_block'] && $load_center === TRUE ) )
{
include($phpbb_root_path . 'portal/block/donate.'.$phpEx);
}
$template->assign_vars(array(
'PORTAL_LEFT_COLUMN' => $portal_config['portal_left_column_width'],
'PORTAL_RIGHT_COLUMN' => $portal_config['portal_right_column_width'],
));
?>
Der Rest dann wie üblich bei MOD's
open styles/prosilver/templates/overall_footer.html
find
Code: Select all
</div>
<div id="page-footer">
Code: Select all
<br /><div class="copyright">{L_PORTAL_COPY}</div>
</td>
<!-- [-] center block area -->
<td style="width:4px;" valign="top"> </td>
<!-- [+] right block area -->
<td valign="top" style="width: {PORTAL_RIGHT_COLUMN}px; padding-left:6px;">
<br style="clear:both" />
<!-- IF S_DISPLAY_USERMENU -->
<!-- IF not S_USER_LOGGED_IN -->
<!-- INCLUDE portal/block/login_box.html -->
<!-- ENDIF -->
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
<!-- INCLUDE portal/block/user_menu.html -->
<!-- ENDIF -->
<!-- ENDIF -->
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN and S_ZEBRA_ENABLED and S_DISPLAY_FRIENDS -->
<!-- INCLUDE portal/block/online_friends.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_ADVANCED_STAT -->
<!-- INCLUDE portal/block/statistics.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_MINICAL -->
<!-- INCLUDE portal/block/mini_calendar.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_LEADERS_EXT -->
<!-- INCLUDE portal/block/leaders_ext.html -->
<!-- ELSEIF S_DISPLAY_LEADERS -->
<!-- INCLUDE portal/block/leaders.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_LAST_BOTS and S_LAST_VISITED_BOTS -->
<!-- INCLUDE portal/block/latest_bots.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_LINKS -->
<!-- INCLUDE portal/block/links.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_PAY_S -->
<!-- INCLUDE portal/block/donation_small.html -->
<!-- ENDIF -->
</td>
<!-- [-] right block area -->
</tr>
</table>
open styles/prosilver/templates/overall_header.html
find:
Code: Select all
<div id="page-body">
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
<div id="message" 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 -->
Code: Select all
<!--version $Id: portal_body.html 347 2008-08-29 20:26:42Z kevin74 $ //-->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<!-- [+] left block area -->
<td valign="top" style="width: {PORTAL_LEFT_COLUMN}px; padding-right:6px;">
<br style="clear:both" />
<!-- IF S_DISPLAY_MAINMENU -->
<!-- INCLUDE portal/block/main_menu.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_BIRTHDAY_LIST -->
<!-- INCLUDE portal/block/birthday_list.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_CLOCK -->
<!-- INCLUDE portal/block/clock.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_PORTALSEARCH and S_DISPLAY_SEARCH -->
<!-- INCLUDE portal/block/search.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_RANDOM_MEMBER -->
<!-- INCLUDE portal/block/random_member.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_ATTACHMENTS -->
<!-- INCLUDE portal/block/attachments.html -->
<!-- ENDIF -->
<!-- IF S_CUSTOM_SMALL -->
<!-- INCLUDE portal/block/custom_small.html -->
<!-- ENDIF -->
<!-- IF S_STYLE_OPTIONS and S_DISPLAY_CHANGE_STYLE -->
<!-- INCLUDE portal/block/change_style.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_TOP_POSTERS -->
<!-- INCLUDE portal/block/top_poster.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_LATEST_MEMBERS -->
<!-- INCLUDE portal/block/latest_members.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_LINK_US -->
<!-- INCLUDE portal/block/link_us.html -->
<!-- ENDIF -->
</td>
<!-- [-] left block area -->
<td style="width:4px;" valign="top"></td>
<!-- [+] center block area -->
<td valign="top">
<br style="clear:both" />
open styles/prosilver/template/portal/portal_body.html
find and remove:
Code: Select all
<!--version $Id: portal_body.html 347 2008-08-29 20:26:42Z kevin74 $ //-->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<!-- [+] left block area -->
<td valign="top" style="width: {PORTAL_LEFT_COLUMN}px; padding-right:6px;">
<br style="clear:both" />
<!-- IF S_DISPLAY_MAINMENU -->
<!-- INCLUDE portal/block/main_menu.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_BIRTHDAY_LIST -->
<!-- INCLUDE portal/block/birthday_list.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_CLOCK -->
<!-- INCLUDE portal/block/clock.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_PORTALSEARCH and S_DISPLAY_SEARCH -->
<!-- INCLUDE portal/block/search.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_RANDOM_MEMBER -->
<!-- INCLUDE portal/block/random_member.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_ATTACHMENTS -->
<!-- INCLUDE portal/block/attachments.html -->
<!-- ENDIF -->
<!-- IF S_CUSTOM_SMALL -->
<!-- INCLUDE portal/block/custom_small.html -->
<!-- ENDIF -->
<!-- IF S_STYLE_OPTIONS and S_DISPLAY_CHANGE_STYLE -->
<!-- INCLUDE portal/block/change_style.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_TOP_POSTERS -->
<!-- INCLUDE portal/block/top_poster.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_LATEST_MEMBERS -->
<!-- INCLUDE portal/block/latest_members.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_LINK_US -->
<!-- INCLUDE portal/block/link_us.html -->
<!-- ENDIF -->
</td>
<!-- [-] left block area -->
<td style="width:4px;" valign="top"></td>
<!-- [+] center block area -->
<td valign="top">
<br style="clear:both" />
Code: Select all
<br /><div class="copyright">{L_PORTAL_COPY}</div>
</td>
<!-- [-] center block area -->
<td style="width:4px;" valign="top"> </td>
<!-- [+] right block area -->
<td valign="top" style="width: {PORTAL_RIGHT_COLUMN}px; padding-left:6px;">
<br style="clear:both" />
<!-- IF S_DISPLAY_USERMENU -->
<!-- IF not S_USER_LOGGED_IN -->
<!-- INCLUDE portal/block/login_box.html -->
<!-- ENDIF -->
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
<!-- INCLUDE portal/block/user_menu.html -->
<!-- ENDIF -->
<!-- ENDIF -->
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN and S_ZEBRA_ENABLED and S_DISPLAY_FRIENDS -->
<!-- INCLUDE portal/block/online_friends.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_TOPIC_CALENDAR -->
<!-- INCLUDE portal/block/calendar.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_ADVANCED_STAT -->
<!-- INCLUDE portal/block/statistics.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_MINICAL -->
<!-- INCLUDE portal/block/mini_calendar.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_LEADERS_EXT -->
<!-- INCLUDE portal/block/leaders_ext.html -->
<!-- ELSEIF S_DISPLAY_LEADERS -->
<!-- INCLUDE portal/block/leaders.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_LAST_BOTS and S_LAST_VISITED_BOTS -->
<!-- INCLUDE portal/block/latest_bots.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_LINKS -->
<!-- INCLUDE portal/block/links.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_PAY_S -->
<!-- INCLUDE portal/block/donation_small.html -->
<!-- ENDIF -->
</td>
<!-- [-] right block area -->
</tr>
</table>
open styles/subsilver2/templates/overall_footer.html
find
Code: Select all
<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
</div>
Code: Select all
<br />
<div class="copyright" align="center">{L_PORTAL_COPY}</div>
<br />
</td>
<!-- [-] center block area -->
<td style="width:4px;" valign="top"> </td>
<!-- [+] right block area -->
<td width="{PORTAL_RIGHT_COLUMN}px" valign="top" style="padding-left:6px;">
<!-- IF S_DISPLAY_USERMENU -->
<!-- IF not S_USER_LOGGED_IN -->
<!-- INCLUDE portal/block/login_box.html -->
<!-- ENDIF -->
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
<!-- INCLUDE portal/block/user_menu.html -->
<!-- ENDIF -->
<!-- ENDIF -->
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN and S_ZEBRA_ENABLED and S_DISPLAY_FRIENDS -->
<!-- INCLUDE portal/block/online_friends.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_ADVANCED_STAT -->
<!-- INCLUDE portal/block/statistics.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_MINICAL -->
<!-- INCLUDE portal/block/mini_calendar.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_LEADERS_EXT -->
<!-- INCLUDE portal/block/leaders_ext.html -->
<!-- ELSEIF S_DISPLAY_LEADERS -->
<!-- INCLUDE portal/block/leaders.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_LAST_BOTS and S_LAST_VISITED_BOTS -->
<!-- INCLUDE portal/block/latest_bots.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_LINKS -->
<!-- INCLUDE portal/block/links.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_PAY_S -->
<!-- INCLUDE portal/block/donation_small.html -->
<!-- ENDIF -->
</td>
<!-- [-] right block area -->
</tr>
</table>
find:
Code: Select all
<br style="clear: both;" />
<!-- INCLUDE breadcrumbs.html -->
<br />
<!-- ENDIF -->
Code: Select all
<!--version $Id: portal_body.html 347 2008-08-29 20:26:42Z kevin74 $ //-->
<!--
.gensmall {
margin: 1px 1px;
font-size: 10px;
}
small, .small {
font-size:10px;
font-weight:bold;
font-family:Arial, Helvetica, sans-serif;
}
/* Container for sub-navigation list */
#navigation {
padding-top: 0px;
font-size: 1.1em;
}
/* Link styles for the sub-section links */
#navigation a {
color: #105289;
font-weight: normal;
padding: 1px;
display:block;
}
#navigation a:hover {
color: #d31141;
}
//-->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
<!-- [+] left block area -->
<td width="{PORTAL_LEFT_COLUMN}px" valign="top" style="padding-right:6px;">
<!-- IF S_DISPLAY_MAINMENU -->
<!-- INCLUDE portal/block/main_menu.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_BIRTHDAY_LIST -->
<!-- INCLUDE portal/block/birthday_list.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_CLOCK -->
<!-- INCLUDE portal/block/clock.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_PORTALSEARCH and S_DISPLAY_SEARCH -->
<!-- INCLUDE portal/block/search.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_RANDOM_MEMBER -->
<!-- INCLUDE portal/block/random_member.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_ATTACHMENTS -->
<!-- INCLUDE portal/block/attachments.html -->
<!-- ENDIF -->
<!-- IF S_CUSTOM_SMALL -->
<!-- INCLUDE portal/block/custom_small.html -->
<!-- ENDIF -->
<!-- IF S_STYLE_OPTIONS and S_DISPLAY_CHANGE_STYLE -->
<!-- INCLUDE portal/block/change_style.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_TOP_POSTERS -->
<!-- INCLUDE portal/block/top_poster.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_LATEST_MEMBERS -->
<!-- INCLUDE portal/block/latest_members.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_LINK_US -->
<!-- INCLUDE portal/block/link_us.html -->
<!-- ENDIF -->
</td>
<!-- [-] left block area -->
<td style="width:4px;" valign="top"></td>
<!-- [+] center block area -->
<td valign="top">
open styles/subsilver2/template/portal/portal_body.html
find and remove:
Code: Select all
<!--version $Id: portal_body.html 347 2008-08-29 20:26:42Z kevin74 $ //-->
<!--
.gensmall {
margin: 1px 1px;
font-size: 10px;
}
small, .small {
font-size:10px;
font-weight:bold;
font-family:Arial, Helvetica, sans-serif;
}
/* Container for sub-navigation list */
#navigation {
padding-top: 0px;
font-size: 1.1em;
}
/* Link styles for the sub-section links */
#navigation a {
color: #105289;
font-weight: normal;
padding: 1px;
display:block;
}
#navigation a:hover {
color: #d31141;
}
//-->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
<!-- [+] left block area -->
<td width="{PORTAL_LEFT_COLUMN}px" valign="top" style="padding-right:6px;">
<!-- IF S_DISPLAY_MAINMENU -->
<!-- INCLUDE portal/block/main_menu.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_BIRTHDAY_LIST -->
<!-- INCLUDE portal/block/birthday_list.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_CLOCK -->
<!-- INCLUDE portal/block/clock.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_PORTALSEARCH and S_DISPLAY_SEARCH -->
<!-- INCLUDE portal/block/search.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_RANDOM_MEMBER -->
<!-- INCLUDE portal/block/random_member.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_ATTACHMENTS -->
<!-- INCLUDE portal/block/attachments.html -->
<!-- ENDIF -->
<!-- IF S_CUSTOM_SMALL -->
<!-- INCLUDE portal/block/custom_small.html -->
<!-- ENDIF -->
<!-- IF S_STYLE_OPTIONS and S_DISPLAY_CHANGE_STYLE -->
<!-- INCLUDE portal/block/change_style.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_TOP_POSTERS -->
<!-- INCLUDE portal/block/top_poster.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_LATEST_MEMBERS -->
<!-- INCLUDE portal/block/latest_members.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_LINK_US -->
<!-- INCLUDE portal/block/link_us.html -->
<!-- ENDIF -->
</td>
<!-- [-] left block area -->
<td style="width:4px;" valign="top"></td>
<!-- [+] center block area -->
<td valign="top">
Code: Select all
<br />
<div class="copyright" align="center">{L_PORTAL_COPY}</div>
<br />
</td>
<!-- [-] center block area -->
<td style="width:4px;" valign="top"> </td>
<!-- [+] right block area -->
<td width="{PORTAL_RIGHT_COLUMN}px" valign="top" style="padding-left:6px;">
<!-- IF S_DISPLAY_USERMENU -->
<!-- IF not S_USER_LOGGED_IN -->
<!-- INCLUDE portal/block/login_box.html -->
<!-- ENDIF -->
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
<!-- INCLUDE portal/block/user_menu.html -->
<!-- ENDIF -->
<!-- ENDIF -->
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN and S_ZEBRA_ENABLED and S_DISPLAY_FRIENDS -->
<!-- INCLUDE portal/block/online_friends.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_ADVANCED_STAT -->
<!-- INCLUDE portal/block/statistics.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_MINICAL -->
<!-- INCLUDE portal/block/mini_calendar.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_LEADERS_EXT -->
<!-- INCLUDE portal/block/leaders_ext.html -->
<!-- ELSEIF S_DISPLAY_LEADERS -->
<!-- INCLUDE portal/block/leaders.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_LAST_BOTS and S_LAST_VISITED_BOTS -->
<!-- INCLUDE portal/block/latest_bots.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_LINKS -->
<!-- INCLUDE portal/block/links.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_PAY_S -->
<!-- INCLUDE portal/block/donation_small.html -->
<!-- ENDIF -->
</td>
<!-- [-] right block area -->
</tr>
</table>
open index.php
find:
Code: Select all
$user->setup('viewforum');
Code: Select all
// Add for Portalview of complete Board
include($phpbb_root_path . 'portal/includes/portalview.' . $phpEx);
open faq.php
find:
Code: Select all
$user->setup();
Code: Select all
// Add for Portalview of complete Board
include($phpbb_root_path . 'portal/includes/portalview.' . $phpEx);
open mcp.php
find:
Code: Select all
$user->setup('mcp');
Code: Select all
// Add for Portalview of complete Board
include($phpbb_root_path . 'portal/includes/portalview.' . $phpEx);
open memberlist.php
find:
Code: Select all
$user->setup(array('memberlist', 'groups'));
Code: Select all
// Add for Portalview of complete Board
include($phpbb_root_path . 'portal/includes/portalview.' . $phpEx);
open posting.php
find:
Code: Select all
$auth->acl($user->data);
Code: Select all
// Add for Portalview of complete Board
include($phpbb_root_path . 'portal/includes/portalview.' . $phpEx);
open portal/includes/functions.php
find:
Code: Select all
include($phpbb_root_path . 'includes/message_parser.'.$phpEx);
Code: Select all
include_once($phpbb_root_path . 'includes/message_parser.'.$phpEx);
open search.php
find:
Code: Select all
$user->setup('search');
Code: Select all
// Add for Portalview of complete Board
include($phpbb_root_path . 'portal/includes/portalview.' . $phpEx);
Code: Select all
if ($show_results == 'posts')
{
include($phpbb_root_path . 'includes/functions_posting.' . $phpEx);
}
else
{
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
}
Code: Select all
if ($show_results == 'posts')
{
include($phpbb_root_path . 'includes/functions_posting.' . $phpEx);
}
else
{
include_once($phpbb_root_path . 'includes/functions_display.' . $phpEx);
}
open report.php
find:
Code: Select all
$user->setup('mcp');
Code: Select all
// Add for Portalview of complete Board
include($phpbb_root_path . 'portal/includes/portalview.' . $phpEx);
open ucp.php
find:
Code: Select all
// Generate the page, do not display/query online list
$module->display($module->get_page_title(), false);
Code: Select all
// Add for Portalview of complete Board
include($phpbb_root_path . 'portal/includes/portalview.' . $phpEx);
open viewforum.php
find:
Code: Select all
$auth->acl($user->data);
Code: Select all
// Add for Portalview of complete Board
include($phpbb_root_path . 'portal/includes/portalview.' . $phpEx);
open viewtopic.php
find:
Code: Select all
$auth->acl($user->data);
Code: Select all
// Add for Portalview of complete Board
include($phpbb_root_path . 'portal/includes/portalview.' . $phpEx);
open viewonline.php
find:
Code: Select all
$user->setup('memberlist');
Code: Select all
// Add for Portalview of complete Board
include($phpbb_root_path . 'portal/includes/portalview.' . $phpEx);
open portal/block/poll.php
find:
Code: Select all
'S_HAS_POLL' => $has_poll,
Code: Select all
'S_PORTAL_HAS_POLL' => $has_poll,
open styles/prosilver/template/portal/block/poll.html
find:
Code: Select all
<!-- IF S_HAS_POLL -->
Code: Select all
<!-- IF S_PORTAL_HAS_POLL -->
open styles/prosilver/template/portal/block/top_poster.html
find:
Code: Select all
<span style="float:right;padding-right:10px; padding-top:2px;"><a href="{top_poster.S_SEARCH_ACTION}">{top_poster.POSTER_POSTS}</a></span><br style="clear:both" />
Code: Select all
{top_poster.S_SEARCH_ACTION}
Code: Select all
{top_poster.S_PORTAL_SEARCH_ACTION}
open styles/subsilver2/template/portal/block/poll.html
find:
Code: Select all
<!-- IF S_HAS_POLL -->
Code: Select all
<!-- IF S_PORTAL_HAS_POLL -->
open styles/subsilver2/template/portal/block/top_poster.html
find:
Code: Select all
<span style="float:right;padding-right:10px; padding-top:2px;"><a href="{top_poster.S_SEARCH_ACTION}">{top_poster.POSTER_POSTS}</a></span><br style="clear:both" />
Code: Select all
{top_poster.S_SEARCH_ACTION}
Code: Select all
{top_poster.S_PORTAL_SEARCH_ACTION}
open portal/block/search.php
find:
Code: Select all
'S_SEARCH_ACTION' => append_sid("{$phpbb_root_path}search.$phpEx"),
Code: Select all
'S_PORTAL_SEARCH_ACTION' => append_sid("{$phpbb_root_path}search.$phpEx"),