##############################################################
## MOD Title: How to include Global Blocks in another side
## MOD Author: KugeLSichA < admin@caromonline.de > (HoLLe) http://www.caromonline.de
## MOD Description: Explains in a examble (here its ACTIVITY) what files you
## have to edit to get Global Blocks from Icy Phoenix
## working in a other page.
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 5-10min
## Files To Edit: 4
## activity.php
## cms_auth.php
## language/lang_*.*/lang_admin.php
## templates/cms_pages_auth_body.tpl
## Included Files: n/a
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MODs not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ SQL ]------------------------------------------
#
INSERT INTO `phpbb_config` (`config_name`, `config_value`) VALUES ('auth_view_activity', '1');
INSERT INTO `phpbb_config` (`config_name`, `config_value`) VALUES ('wide_blocks_activity', '1');
#
#-----[ OPEN ]------------------------------------------
#
cms_auth.php
#
#-----[ FIND ]------------------------------------------
#
$auth_view['custom_pages'] = auth_select($new['auth_view_custom_pages'], 'auth_view_custom_pages');
#
#-----[ AFTER, ADD ]------------------------------------------
#
$auth_view['activity'] = auth_select($new['auth_view_activity'], 'auth_view_activity');
#
#-----[ FIND ]------------------------------------------
#
$wide_blocks_custom_pages_yes = ( $new['wide_blocks_custom_pages'] ) ? "checked="checked"" : "";
$wide_blocks_custom_pages_no = ( !$new['wide_blocks_custom_pages'] ) ? "checked="checked"" : "";
#
#-----[ AFTER, ADD ]------------------------------------------
#
$wide_blocks_activity_yes = ( $new['wide_blocks_activity'] ) ? "checked="checked"" : "";
$wide_blocks_activity_no = ( !$new['wide_blocks_activity'] ) ? "checked="checked"" : "";
#
#-----[ FIND ]------------------------------------------
#
'L_AUTH_VIEW_CUSTOM_PAGES' => $lang['auth_view_custom_pages'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_AUTH_VIEW_ACTIVITY' => $lang['auth_view_activity'],
#
#-----[ FIND ]------------------------------------------
#
'S_AUTH_VIEW_CUSTOM_PAGES' => $auth_view['custom_pages'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'S_AUTH_VIEW_ACTIVITY' => $auth_view['activity'],
#
#-----[ FIND ]------------------------------------------
#
'WIDE_BLOCKS_CUSTOM_PAGES_YES' => $wide_blocks_custom_pages_yes,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'WIDE_BLOCKS_ACTIVITY_YES' => $wide_blocks_activity_yes,
#
#-----[ FIND ]------------------------------------------
#
'WIDE_BLOCKS_CUSTOM_PAGES_NO' => $wide_blocks_custom_pages_no,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'WIDE_BLOCKS_ACTIVITY_NO' => $wide_blocks_activity_no,
#
#-----[ OPEN ]------------------------------------------
#
language/lang_*.*/lang_admin.php
#
#-----[ FIND ]------------------------------------------
#
$lang['auth_view_custom_pages'] = 'Benutzerdefinierte Seiten';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['auth_view_activity'] = 'Activity';
#
#-----[ OPEN ]------------------------------------------
#
templates/cms_pages_auth_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<tr>
<td class="row1">{L_AUTH_VIEW_CUSTOM_PAGES}</td>
<td class="row2 row-center">{S_AUTH_VIEW_CUSTOM_PAGES}</td>
<td class="row2 row-center">
<!--
<input type="radio" name="wide_blocks_custom_pages" value="1" {WIDE_BLOCKS_CUSTOM_PAGES_YES} /> {L_YES} <input type="radio" name="wide_blocks_custom_pages" value="0" {WIDE_BLOCKS_CUSTOM_PAGES_NO} /> {L_NO}
-->
</td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<tr>
<td class="row1">{L_AUTH_VIEW_ACTIVITY}</td>
<td class="row2 row-center">{S_AUTH_VIEW_ACTIVITY}</td>
<td class="row2 row-center">
<!--
<input type="radio" name="wide_blocks_activity" value="1" {WIDE_BLOCKS_ACTIVITY_YES} /> {L_YES} <input type="radio" name="wide_blocks_activity" value="0" {WIDE_BLOCKS_ACTIVITY_NO} /> {L_NO}
-->
</td>
</tr>
#
#-----[ OPEN ]------------------------------------------
#
activity.php
#
#-----[ FIND ]------------------------------------------
#
# Or something similar to this
#
// Start session management
$userdata = session_pagestart($user_ip, PAGE_ACTIVITY);
init_userprefs($userdata);
// End session management
#
#-----[ AFTER, ADD ]------------------------------------------
#
$importal_wide = ($board_config['wide_blocks_activity'] == 1) ? true : false;
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
## MOD Title: How to include Global Blocks in another side
## MOD Author: KugeLSichA < admin@caromonline.de > (HoLLe) http://www.caromonline.de
## MOD Description: Explains in a examble (here its ACTIVITY) what files you
## have to edit to get Global Blocks from Icy Phoenix
## working in a other page.
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 5-10min
## Files To Edit: 4
## activity.php
## cms_auth.php
## language/lang_*.*/lang_admin.php
## templates/cms_pages_auth_body.tpl
## Included Files: n/a
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MODs not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ SQL ]------------------------------------------
#
INSERT INTO `phpbb_config` (`config_name`, `config_value`) VALUES ('auth_view_activity', '1');
INSERT INTO `phpbb_config` (`config_name`, `config_value`) VALUES ('wide_blocks_activity', '1');
#
#-----[ OPEN ]------------------------------------------
#
cms_auth.php
#
#-----[ FIND ]------------------------------------------
#
$auth_view['custom_pages'] = auth_select($new['auth_view_custom_pages'], 'auth_view_custom_pages');
#
#-----[ AFTER, ADD ]------------------------------------------
#
$auth_view['activity'] = auth_select($new['auth_view_activity'], 'auth_view_activity');
#
#-----[ FIND ]------------------------------------------
#
$wide_blocks_custom_pages_yes = ( $new['wide_blocks_custom_pages'] ) ? "checked="checked"" : "";
$wide_blocks_custom_pages_no = ( !$new['wide_blocks_custom_pages'] ) ? "checked="checked"" : "";
#
#-----[ AFTER, ADD ]------------------------------------------
#
$wide_blocks_activity_yes = ( $new['wide_blocks_activity'] ) ? "checked="checked"" : "";
$wide_blocks_activity_no = ( !$new['wide_blocks_activity'] ) ? "checked="checked"" : "";
#
#-----[ FIND ]------------------------------------------
#
'L_AUTH_VIEW_CUSTOM_PAGES' => $lang['auth_view_custom_pages'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_AUTH_VIEW_ACTIVITY' => $lang['auth_view_activity'],
#
#-----[ FIND ]------------------------------------------
#
'S_AUTH_VIEW_CUSTOM_PAGES' => $auth_view['custom_pages'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'S_AUTH_VIEW_ACTIVITY' => $auth_view['activity'],
#
#-----[ FIND ]------------------------------------------
#
'WIDE_BLOCKS_CUSTOM_PAGES_YES' => $wide_blocks_custom_pages_yes,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'WIDE_BLOCKS_ACTIVITY_YES' => $wide_blocks_activity_yes,
#
#-----[ FIND ]------------------------------------------
#
'WIDE_BLOCKS_CUSTOM_PAGES_NO' => $wide_blocks_custom_pages_no,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'WIDE_BLOCKS_ACTIVITY_NO' => $wide_blocks_activity_no,
#
#-----[ OPEN ]------------------------------------------
#
language/lang_*.*/lang_admin.php
#
#-----[ FIND ]------------------------------------------
#
$lang['auth_view_custom_pages'] = 'Benutzerdefinierte Seiten';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['auth_view_activity'] = 'Activity';
#
#-----[ OPEN ]------------------------------------------
#
templates/cms_pages_auth_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<tr>
<td class="row1">{L_AUTH_VIEW_CUSTOM_PAGES}</td>
<td class="row2 row-center">{S_AUTH_VIEW_CUSTOM_PAGES}</td>
<td class="row2 row-center">
<!--
<input type="radio" name="wide_blocks_custom_pages" value="1" {WIDE_BLOCKS_CUSTOM_PAGES_YES} /> {L_YES} <input type="radio" name="wide_blocks_custom_pages" value="0" {WIDE_BLOCKS_CUSTOM_PAGES_NO} /> {L_NO}
-->
</td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<tr>
<td class="row1">{L_AUTH_VIEW_ACTIVITY}</td>
<td class="row2 row-center">{S_AUTH_VIEW_ACTIVITY}</td>
<td class="row2 row-center">
<!--
<input type="radio" name="wide_blocks_activity" value="1" {WIDE_BLOCKS_ACTIVITY_YES} /> {L_YES} <input type="radio" name="wide_blocks_activity" value="0" {WIDE_BLOCKS_ACTIVITY_NO} /> {L_NO}
-->
</td>
</tr>
#
#-----[ OPEN ]------------------------------------------
#
activity.php
#
#-----[ FIND ]------------------------------------------
#
# Or something similar to this
#
// Start session management
$userdata = session_pagestart($user_ip, PAGE_ACTIVITY);
init_userprefs($userdata);
// End session management
#
#-----[ AFTER, ADD ]------------------------------------------
#
$importal_wide = ($board_config['wide_blocks_activity'] == 1) ? true : false;
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Not tested with this example, but it should work.