webmaster forumu
  #4  
Arama 21-11-2007, 09:17
banias - ait Kullanıcı Resmi (Avatar)
banias banias forumda değil
Pseudo Coder
Üyelik Tarihi: 23/08/07
Mesajlar: 1.177
 
     WS-Ticareti: (2)
Blog Yazıları: 2
Teşekkürleri: 9
99 Msg. 177 Tşkr.
Rep Gücü: 100 banias has much to be proud ofbanias has much to be proud ofbanias has much to be proud ofbanias has much to be proud ofbanias has much to be proud ofbanias has much to be proud ofbanias has much to be proud ofbanias has much to be proud of
forumu mkportalın içine alma (mkportalın içinde forumu gösterme)

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}

Kod:
function do_output($output_array)
{
global $Debug;


Altına ekle{add below}

Kod:
//added from MKportal
define ( 'IN_MKP', 1 );
$MK_PATH = "../";
require $MK_PATH."mkportal/conf_mk.php";
//end added


Bul {find}

Kod:
$output_array['MEMBER_BAR'] = $this->ipsclass->compiled_templates['skin_global']->member_bar($msg_data);


Bununla değiştir {replace all}

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


Bul {find}

Kod:
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}

Kod:
//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}

Kod:
//---------------------------------------
// Close this DB connection
//---------------------------------------


Altına ekle {add below}

Kod:
//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}

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


Altına ekle {add below}

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


Kaydedin ve eskisiyle değiştirerek upload edin.


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

VBulletin

Yedek al ve aç ;

forum_dizini/includes/functions.php

Bul {find}

Kod:
if (!is_demo_mode())
{
($hook = vBulletinHook::fetch_hook('global_complete')) ? eval($hook) : false;
}


Altına ekle {add below}

Kod:
//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}

Kod:
redirect(append_sid($url, true));


Bununla değiştir {Replace all}

Kod:
//$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}

Kod:
$template->pparse('overall_footer');


Altına ekle {add below}

Kod:
//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}

Kod:
eval($this->compiled_code[$handle]);


Bununla değiştir {replace all}

Kod:
// 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}

Kod:
<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.
__________________
| | |
| |
|
|
|
Alıntı ile Cevapla
banias için teşekkür eden üyeler: