MK 1.1 de SMF 1.1 RC2 yi nasıl portal içine alırım

Cevap: Subs.php içerisinde

bu kodu bulun

Kod:
Kod:
// For session check verfication.... don't switch browsers...
	$_SESSION['USER_AGENT'] = $_SERVER['HTTP_USER_AGENT'];

altına ekleyin

Kod:

Kod:
//added from MKportal
	if ($header !== false && in_array('main', $context['template_layers'])) {
	define ( 'IN_MKP', 1 );
	require_once "../mkportal/include/SMF/smf_out.php";
	mkportal_board_out();
	}
	//end added