Thanks man, I am not familiar with framesets. This is the code I am doing it with now, could you help me with how I could do it with a framesets instead of the iframe, and with frameset would I have a scroll bar or would the boxes content fit-to-height dynamically?
Code:
<?
require_once( 'inc/header.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'profiles.inc.php' );
// --------------- page variables and login
$_page['name_index'] = forum;
$_page['css_name'] = 'privacy.css';
if ( !( $logged['admin'] = member_auth( 1, false ) ) )
if ( !( $logged['member'] = member_auth( 0, true ) ) )
if ( !( $logged['aff'] = member_auth( 2, false )) )
$logged['moderator'] = member_auth( 3, false );
$_page['header'] = _t( "Forum" );
$_page['header_text'] = _t( "Forum" );
$after = $_GET["after"];
$after = str_replace("nextvar", "&", $after);
// --------------- page components
$_ni = $_page['name_index'];
$_page_cont[$_ni]['page_main_code'] = PageCompMainCode($after);
// --------------- [END] page components
PageCode();
// --------------- page components functions
/**
* page code function
*/
function PageCompMainCode($after)
{
global $oTemplConfig;
$ret = "<iframe src='/forum/".$after."' scrolling='no' width='920px' height='1500px' frameborder='0'></iframe>";
return DesignBoxContent( _t( "_PRIVACY_H1" ), $ret, $oTemplConfig -> PageCompThird_db_num);
}
?>