bu biraz saçma geldi bana

xml dosyası koymuşlar ondaki anlatım da eksik gibi geldi..yapmak isteyenler bunu kursun gayet güzel çalışıyor ben kurdum
Kod: Tümünü seç
Kod:####################################################
## MOD Ismi TR: Mesaja Direk Geçis
## MOD Ismi EN: Redirect to Post
## MOD Sürümü: 2.2.0
## MOD Yazari: Thoul http://darkmods.sourceforge.net
##
## MOD Açiklamasi: Mesaj yazdiktan, düzenledikten
## veya sildikten sonra direk
## mesajlara veya konuya yönlendirir.
##
## Kurulum Seviyesi: Kolay
## Kurulum Süresi: 2 Dakika
##
## Degisecek Dosyalar: 2
## posting.php
## privmsg.php
##
## Eklenecek Dosyalar: Yok
##
#######################################################
## Lütfen güvenlik açisindan ve MOD'un son sürümüne sahip olmak için, devamli
## http://www.phpbb.com/mods/ adresini takip edin. Bu MOD'u baska sitelerden indirdiginizde
## çok dikkatli olun, içerisinde phpBB forumunuza zarar verebilecek kodlar bulunabilir.
## http://www.phpbb.com/mods/ arsivinde bulunmayan MOD'lar phpBB tarafindan desteklenmez.
#######################################################
## Bu MOD'u kurmadan önce, degisecek tüm dosyalarin yedegini almanizi tavsiye ederiz.
#######################################################
#
#-----[ AÇ ]-----
#
posting.php
#
#-----[ BUL ]-----
#
$template->assign_vars(array(
'META' => $return_meta)
);
#
#-----[ ÖNCESINE EKLE ]-----
#
//
// MOD: Redirect to Post (normal post)
//
if ( $mode == 'delete' && $post_data['first_post'] && $post_data['last_post'] )
{
// URL for redirection after deleting an entire topic
$redirect = "viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id";
// If the above URL points to a location outside the phpBB directories
// move the slashes on the next line to the start of the following line:
//redirect(append_sid($redirect, true), true);
redirect(append_sid($redirect, true));
}
elseif ( $mode == 'delete' )
{
// URL for redirection after deleting a post
$redirect = "viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id";
// If the above URL points to a location outside the phpBB directories
// move the slashes on the next line to the start of the following line:
//redirect(append_sid($redirect, true), true);
redirect(append_sid($redirect, true));
}
elseif ( $mode == 'reply' || $mode == 'editpost' || $mode == 'newtopic' )
{
// URL for redirection after posting or editing a post
$redirect = "viewtopic.$phpEx?" . POST_POST_URL . "=$post_id";
$post_append = "#$post_id";
// If the above URL points to a location outside the phpBB directories
// move the slashes on the next line to the start of the following line:
//redirect(append_sid($redirect, true) . $post_append, true);
redirect(append_sid($redirect, true) . $post_append);
}
//
// MOD: -END-
//
#
#-----[ AÇ ]-----
#
privmsg.php
#
#-----[ BUL ]-----
#
$template->assign_vars(array(
'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid("privmsg.$phpEx?folder=inbox") . '">')
);
$msg = $lang['Message_sent'] . '<br /><br />' . sprintf($lang['Click_return_inbox'], '<a href="' . append_sid("privmsg.$phpEx?folder=inbox") . '">', '</a> ') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
message_die(GENERAL_MESSAGE, $msg);
#
#-----[ BUNUNLA DEGISTIR ]-----
#
/* Original phpBB code - commented out for Redirection Suite MOD
$template->assign_vars(array(
'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid("privmsg.$phpEx?folder=inbox") . '">')
);
$msg = $lang['Message_sent'] . '<br /><br />' . sprintf($lang['Click_return_inbox'], '<a href="' . append_sid("privmsg.$phpEx?folder=inbox") . '">', '</a> ') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
message_die(GENERAL_MESSAGE, $msg);
*/
//
// MOD: Redirect to Post (private messages)
//
// URL to redirect to after sending private message
$pm_redirect_url = "privmsg.$phpEx?folder=inbox";
// If the above URL points to a location outside the phpBB directories
// move the slashes on the next line to the start of the following line:
//redirect(append_sid($pm_redirect_url, true), true);
redirect(append_sid($pm_redirect_url, true));
//
// MOD: -END-
//
#
#-----[ TÜM DOSYALARI KAPAT/KAYDET ]-----
#
# SoN