Portal kp den Forumu portalın içinde göster diyerek forumu içeri alınız.Daha sonra forumunuza göre alttaki işlemleri eksiksiz yapınız.

Ipb 2.1.x

Yedek al / aç : forum_dizini/sources/classes/class_display.php

Bul {Find}

function do_output($output_array)
    {
        global $Debug;
Altına ekle{add below}

//added from MKportal
define ( 'IN_MKP', 1 );
$MK_PATH = "../";
require $MK_PATH."mkportal/conf_mk.php";
//end added
Bul {find}

$output_array['MEMBER_BAR'] = $this->ipsclass->compiled_templates['skin_global']->member_bar($msg_data);
Bununla değiştir {replace all}

//Mkportal edited
if(!$FORUM_VIEW) {
$output_array['MEMBER_BAR'] = $this->ipsclass->compiled_templates['skin_global']->member_bar($msg_data);
}
//end edited
Bul {find}

if ( $this->ipsclass->vars['ipb_img_url'] )
        {
            $this->ipsclass->skin['_wrapper'] = preg_replace( "#img\s+?src=[\"']style_(images|avatars|emoticons)(.+?)[\"'](.+?)?".">#is", "img src=\"".$this->ipsclass->vars['ipb_img_url']."style_\\1\\2\"\\3>", $this->ipsclass->skin['_wrapper'] );
        }
Altına ekle {add below}

//added from MKportal
if($FORUM_VIEW == 1) {
require_once $MK_PATH."mkportal/include/IPB/ipb_out.php";
$this->ipsclass->skin['_wrapper'] = mkportal_board_out($this->ipsclass->skin['_wrapper']);
}
//end added
kaydedip eskisiyle değiştirerek upload ediniz.



-------------------------------------------------------------------------

Ipb 1.3

Yedek al ve aç ;

forum_dizini/sources/functions.php

Bul {find}

//---------------------------------------
// Close this DB connection
//---------------------------------------
Altına ekle {add below}

//added from MKportal
define ( 'IN_MKP', 1 );
require_once "../mkportal/include/IPB13/ipb13_out.php";
$ibforums->skin['template'] = mkportal_board_out($ibforums->skin['template']);
//end added
Kaydedin ve eskisiyle değiştirerek upload edin.

---------------------------------------------------------------------------

SMF

Yedek al ve aç ;

forum_dizini/Sources/Subs.php

bul {find}

// For session check verfication.... don't switch browsers...
$_SESSION['USER_AGENT'] = $_SERVER['HTTP_USER_AGENT'];
Altına ekle {add below}

//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
Kaydedin ve eskisiyle değiştirerek upload edin.


---------------------------------------------------------------------------

VBulletin

Yedek al ve aç ;

forum_dizini/includes/functions.php

Bul {find}

if (!is_demo_mode())
{
($hook = vBulletinHook::fetch_hook('global_complete')) ? eval($hook) : false;
}
Altına ekle {add below}

//added from MKportal
define ( 'IN_MKP', 1 );
require_once "../mkportal/include/VB/vb_out.php";
$output = mkportal_board_out($output);
//end added
Kaydedin ve eskisiyle değiştirerek upload edin.

---------------------------------------------------------------------------

Php BB

Yedek al ve aç ;

forum_dizini/login.php

Bul {find}

redirect(append_sid($url, true));
Bununla değiştir {Replace all}

//$template->assign_block_vars('switch_enable_pm_popup', array());
kaydet ve upload et.


Yedek al ve aç ;

forum_dizini/includes/page_tail.php

Bul {find}

$template->pparse('overall_footer');
Altına ekle {add below}

//added from MKportal
global $Checkmkout, $ForumOut;
define ( 'IN_MKP', 1 );
$MK_PATH = "../";
require $MK_PATH."mkportal/conf_mk.php";
if($FORUM_VIEW == 1 && !$Checkmkout) {
require_once $MK_PATH."mkportal/include/PHPBB/php_out.php";
mkportal_board_out();
}
if($FORUM_VIEW == 1 && $Checkmkout) {
echo $ForumOut;
}
//end added
kaydet ve upload et.


Yedek al ve aç ;

forum_dizini/includes/template.php

Bul {find}

eval($this->compiled_code[$handle]);
Bununla değiştir {replace all}

// modificato da mkportal
global $ForumOut, $Checkmkout, $gen_simple_header;

if ($handle == "smiliesbody" || $handle == "reviewbody" || $_GET['mode'] == "searchuser" || $gen_simple_header) {
$Checkmkout = 1;
}
$MK_PATH = "./";
if (defined('IN_ADMIN')) {
$MK_PATH = "../";
}
require $MK_PATH."../mkportal/conf_mk.php";


if ( !defined('IN_ADMIN') && $FORUM_VIEW == 1) {
ob_start();
eval($this->compiled_code[$handle]);
$ForumOut .= ob_get_contents();
      ob_end_clean();
} else  {
    eval($this->compiled_code[$handle]);

}

// fine modificato
kaydet ve upload et.

Opsiyonel modifikasyon{header[forum logosunu] silmek istiyorsanız}


Yedek al ve aç ;

forum_dizini/templates/subSilver/overall_header.tpl

Bul {find}

<table width="100%" cellspacing="0" cellpadding="0" border="0">
            <tr>
                <td><a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
                <td align="center" width="100%" valign="middle"><span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}<br />  </span>
                <table cellspacing="0" cellpadding="2" border="0">
                    <tr>
                        <td align="center" valign="top" nowrap="nowrap"><span class="mainmenu"> <a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a></span><span class="mainmenu">   <a href="{U_SEARCH}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>   <a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>   <a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a> 
                          <!-- BEGIN switch_user_logged_out -->
                         <a href="{U_REGISTER}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a></span> 
                          <!-- END switch_user_logged_out -->
                        </td>
                    </tr>
                    <tr>
                        <td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu"> <a href="{U_PROFILE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>   <a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>   <a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a> </span></td>
                    </tr>
                </table></td>
            </tr>
        </table>
Kodu siliniz.

kaydet ve upload et.

Bu yazıyı kaynak göstermeden kullanmak yasaktır. Her hakkı mkportal.gen.tr ye aittir.