This MOD was created for IntegraMOD 1.4.0.
On some pages that are called by the message_die() function call, the IntegraMod headers (left column) does not display. This will allow the headers to be displayed on all pages.
OPEN: includes/functions.php
FIND:
//+MOD: Fix message_die for multiple errors MOD
static $msg_history;
if( !isset($msg_history) )
{
$msg_history = array();
}
$msg_history[] = array(
'msg_code' => $msg_code,
'msg_text' => $msg_text,
'msg_title' => $msg_title,
'err_line' => $err_line,
'err_file' => $err_file,
'sql' => $sql
);
//-MOD: Fix message_die for multiple errors MOD
AFTER, ADD:
//--- Fix Global Headers ---
$sql_store = $sql;
if ( !defined('HEADER_INC') )
{
if ( !defined('IN_ADMIN') )
{
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
}
else
{
include($phpbb_root_path . 'admin/page_header_admin.'.$phpEx);
}
}
//--- ---
FIND:
$sql_store = $sql;
REPLACE WITH:
//--- Fix Global Headers ---
// $sql_store = $sql;
//--- ---
FIND:
//
// Load the Page Header
//
if ( !defined('IN_ADMIN') && !defined('HEADER_INC') )
{
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
}
else
{
include($phpbb_root_path . 'admin/page_header_admin.'.$phpEx);
}
REPLACE WITH:
//--- Fix Global Headers ---
/*
//
// Load the Page Header
//
if ( !defined('IN_ADMIN') && !defined('HEADER_INC') )
{
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
}
else
{
include($phpbb_root_path . 'admin/page_header_admin.'.$phpEx);
}
*/
//--- ---
This is a fix for No Thread Stretch to fill the entire message cell in all browsers.
This applies to IntegraMOD 1.4.0 and the FISubice Theme.
OPEN: templates\\no_thread_stretch.js
FIND:
//document.write('<link rel="stylesheet" type="text/css" href="templates/overflow' + cssname + '.css">');
AFTER ADD:
var width;
if (window.innerWidth) //if browser supports window.innerWidth
{
width = window.innerWidth;
}
else if (document.documentElement && document.documentElement.clientHeight) // Explorer 6 Strict Mode
{
width = document.documentElement.clientWidth + 20;
}
else if (document.all) //else if browser supports document.all (IE 4+)
{
width = document.body.clientWidth + 20;
}
FIND:
document.write(' width: ' + (screen.width - size) + 'px;');
REPLACE:
document.write(' width: ' + (width - size) + 'px;');
if (document.all)
document.write(' padding-bottom: 20px;');
The full file should look something like this:
function no_thread_stretch(size)
{
//document.write('<link rel="stylesheet" type="text/css" href="templates/overflow' + cssname + '.css">');
var width;
if (window.innerWidth) //if browser supports window.innerWidth
{
width = window.innerWidth;
}
else if (document.documentElement && document.documentElement.clientHeight) // Explorer 6 Strict Mode
{
width = document.documentElement.clientWidth + 20;
}
else if (document.all) //else if browser supports document.all (IE 4+)
{
width = document.body.clientWidth + 20;
}
document.write('<style type="text/css">');
document.write('<!--');
document.write('.postoverflow');
document.write('{');
document.write(' width: ' + (width - size) + 'px;');
if (document.all)
document.write(' padding-bottom: 20px;');
document.write(' overflow: auto;');
document.write('}');
document.write('-->');
document.write('</style>');
}
OPEN: templates\\fisubice\\viewtopic_body.tpl
FIND:
no_thread_stretch({BLOCK_WIDTH}+233);
REPLACE WITH:
no_thread_stretch({BLOCK_WIDTH}+240);
This MOD was created for IntegraMOD 1.4.0.
By default, logging into IntegraMOD takes the user to the portal page. There are times, though, that a user may be reading a thread, and instead of logging in and navigating back to the appropriate thread, the user is taken directly back to the thread they were viewing so they can add their comments. This MOD will allow for that functionality.
In order for this to work, the User Info Block needs to be visible on all pages. Usually in the left (header) in the IM Portal configuration in the ACP.
This MOD was created for IntegraMOD 1.4.0 and works only for that version.
This MOD replaces and updates the existing bbcode_box included with IntegraMOD 1.4.0. It updates the existing features, adds new features, and creates a cleaner layout based on Office 2003. It is based on the Advanced BBCode Box by Disturbed One (which was updated from the BBCode Box by Al Tnen).
Updating the code requires deleting the old BBCode Box folder and replacing the old BBCode Box information. It is important that you backup your files before you make any changes or deletions.
Premodded files have been added to the Advanced BBCode Box ZIP file as of Thursday, May 11. If you have downloaded the Mod previously, and would like the premodded files, of if you wish to have the premodded files only, download this file. Please note that these premodded files only work on a base install of IntegraMod 1.4.0, with no additional modifications added. If you have added your own modifications, you should use the manual install method.
MOD last updated: June 5, 2006