1 sayfadan 1. sayfa

Cvp: [MAKALE] phpBB2 Plus ta kullanıcıları portal yerine ind

İletiTarih: 25.11.2005, 15:09
bdemircan
merhaba alexis,
makele benim tam aradigim sey fakat daha uygulamaya basladigim
ilk anda bazi sorunlar var.

74.satirda bulacaksiniz dedigin sey 72.satirda.
98.satirda bulacaksin dedigin ise farkli bir sekilde 97.satirda var.
farkli dedigim ise söyle:
senin dedigin

$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "portal.$phpEx";


benim buldugum:
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "portal.$phpEx";


ben phpbb plus 1.52 kullaniyorum.sence sorun versiyon farki mi? ne önerirsin?
selamlar

Cvp: phpBB2 Plus ta kullanıcıları portal yerine index'e yönl

İletiTarih: 27.11.2005, 22:54
bdemircan
phpbb plus 1.52 icin asagidakiler hep birlikte yapilirsa sorun cözülüyor.

bilgiyi http://www.phpbb2.de/ftopic33848-0-asc-0.html adresinden edindim ama
orada bir yanlislik vardi.o kismin duzeltilmis halini veriyorum. mesajda index_body.tpl
dosyasi da edit edilmeli diyor ama bahsi gecen yer o dosyada yok!
Bilginize.

Reliable yazdı:YOu don't need a code to do this, just edit your login.php

Find all
Kod: Tümünü seç
redirect(append_sid("portal.$phpEx", true));


Replace with
Kod: Tümünü seç
redirect(append_sid("index.$phpEx", true));




Reliable yazdı:There's one additional file you will need to edit... Actually, two other files. You'll need to edit your index_body_plus.tpl, portal_body.tpl. I was thinking that you were using phpBB vanilla, but with plus there were some modifications for the portal mod.

Find (in all three files)
Kod: Tümünü seç
<input type="hidden" name="redirect" value="{U_PORTAL}" />


Replace (in all three files) with
Kod: Tümünü seç
<input type="hidden" name="redirect" value="{U_INDEX}" />