Jak wmontować ipb do mkportal-u


(Okmiwww) #1

No więc tak mam zainstalowany mkportal i ipb i wszystko działa ale jak sie włancza forum włancza sie w całym oknie a ja bym chciał zeby włanczało sie pomiedzy blokami jednym słowem w srodku portalu.Czytałem instrukje jak to zrobić i w pliku /sources/classes/class_display.php zrobiłem tak jak było napisane a w index.php było trzeba zmienić

open /index.php

find string (about line 45):

define ( 'USE_SHUTDOWN', 1 );

remove it and insert instead:

define ( 'USE_SHUTDOWN', 0 );

A ja nie moge znaleść tej lini bo tam jej nie ma i co ja mam zrobić???

Tak wygląda plik index.php

<?

/*

+--------------------------------------------------------------------------

| MkPortal

| ========================================

| by Meo aka Luponero

|

| © 2004 mkportal.it

| http://www.mkportal.it

| Email: luponero@mclink.it

|

+---------------------------------------------------------------------------

|

| > MKPortal

| > Written By Amedeo de longis

| > Date started: 9.2.2004

|

+--------------------------------------------------------------------------

*/

define ( 'IN_MKP', 1 );

$MK_PATH = "./";

require $MK_PATH."mkportal/conf_mk.php";

switch($MK_BOARD) {

case 'IPB':

$driverf = "ipb_driverf.php";

$board_functions = "ipb_board_functions.php";

break;

case 'PHPBB':

$driverf = "php_driverf.php";

$board_functions = "php_board_functions.php";

break;

case 'VB':

$driverf = "vb_driverf.php";

$board_functions = "vb_board_functions.php";

break;

case 'OXY':

$driverf = "oxy_driverf.php";

$board_functions = "oxy_board_functions.php";

break;

default:

$driverf = "smf_driverf.php";

$board_functions = "smf_board_functions.php";

break;

}

require $MK_PATH."mkportal/include/$driverf";

require $MK_PATH."mkportal/include/functions.php";

require $MK_PATH."mkportal/include/$board_functions";

require "$mklib->template/tpl_main.php";

$mkportals->input = $mklib->mkp_input();

if($MK_OFFLINE && !$mkportals->member['g_access_cp'] && !$mklib->member['g_access_cpa']) {

$message = $mklib->lang['offline'];

$mklib->off_line_page($message);

exit;

}

$switch = array('blog' => "blog",

'chat' => "chat",

'contents' => "contents",

'downloads' => "downloads",

'gallery' => "gallery",

'news' => "news",

'quote' => "quote",

'reviews' => "reviews",

'search' => "search",

'topsite' => "topsite",

'urlobox' => "urlobox",

'xebook' => "xebook"

);

if (!isset($switch[$mkportals->input['ind']])) {

$mkportals->input['ind'] = "contents";

}

require "./mkportal/modules/{$switch[$mkportals->input['ind']]}/index.php";

?>


(Adam) #2

Bo to trzeba zmienić w index.php forum 8)