################################################################
# phpBB Plus'da Giriş Yaptıktan Sonra Foruma Yönlendirme #
# #
# Kaynak: http://www.phpbb2.de/kb.php?mode=article&k=2 #
# #
# Türkçe Çeviri: Sercan Çelik sercancelik[at]gmail[dot]com #
# #
################################################################
Düzenlenmesi gereken dosyalar
login.php
templates/fisubsilversh/portal_body.tpl
templates/fisubsilversh/index_body_plus.tpl
Aç
login.php
Bul
redirect(append_sid("portal.$phpEx", true));
Değiştir
redirect(append_sid("index.$phpEx", true));
Bul
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "portal.$phpEx";
Değiştir
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "index.$phpEx";
Bul
redirect(append_sid("portal.$phpEx", true));
Değiştir
redirect(append_sid("index.$phpEx", true));
Bul
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "portal.$phpEx";
Değiştir
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "index.$phpEx";
Bul
redirect(append_sid("portal.$phpEx", true));
Değiştir
redirect(append_sid("index.$phpEx", true));
Kaydet - Kapat
Aç
templates/fisubsilversh/portal_body.tpl
Bul
<input type="hidden" name="redirect" value="{U_PORTAL}" />
Değiştir
<input type="hidden" name="redirect" value="{U_INDEX}" />
Kaydet - Kapat
Aç
templates/fisubsilversh/index_body_plus.tpl
Bul
<input type="hidden" name="redirect" value="{U_PORTAL}" />
Değiştir
<input type="hidden" name="redirect" value="{U_INDEX}" />
Kaydet - Kapat
Sibel yazdı:ALEXIS yazdı:.htaccess dosyasını aç
DirectoryIndex portal.php ....
satırını
DirectoryIndex index.php
diye değiştir.
overall_header.tpl gibi yerlerden portal linklerini kaldır.
En hızlı ve kolay yöntem budur.
en iyi yöntemi sölemişler
Bu forumu görüntüleyenler: Kayıtlı kullanıcı yok ve 0 misafir