değişiklik yapılan dosyalar:
==========================
includes/functions.php,
memberlist.php,
search.php,
styles/prosilver/template/simple_header.html,
viewtopic.php.
==========================
öncelikle functions.php haricinde değişiklik yapılacak olan tüm dosyaları düzenledim. functions.php yapılan ve aşağıdaki yazdığım kod değişikliğini yaptım ve site sayfasını yineledim ve log out yaptı sistem beni ..
daha sonra functions.php deki yapılacak olan değişiklikleri tersten başlayarak ayrıca farklı şekillerde kaydederek denedim hangi kod da var bu sorun diye ama sorun olmadı yanlız aşağıdaki kodları eklediğimde atıyor siteden..
aşağıdaki kod bloğunu eski haline getirdiğimde (0.4.2) siteye giriş yapabiliyorum .. functions da yapılması gereken dört değişiklik yapılmış halde iken de..
Aklıma gelen tek şey 3.0.2 güncellemesini el ile yaptım acaba functions.php hata mı yaptım diyeceğim ama sorun olan bir şey de görünmüyor site genelinde (localhost) ?..
coder olmadığım için yorum yapamıyorum nedir ne değildir diye..
teşekkürler
0.4.2 Seo functions.php- Kod: Tümünü seç
function append_sid($url, $params = false, $is_amp = true, $session_id = false)
{
global $_SID, $_EXTRA_URL, $phpbb_hook;
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
global $phpbb_seo;
// www.phpBB-SEO.com SEO TOOLKIT END
// Developers using the hook function need to globalise the $_SID and $_EXTRA_URL on their own and also handle it appropiatly.
// They could mimick most of what is within this function
if (!empty($phpbb_hook) && $phpbb_hook->call_hook(__FUNCTION__, $url, $params, $is_amp, $session_id))
{
if ($phpbb_hook->hook_return(__FUNCTION__))
{
return $phpbb_hook->hook_return_result(__FUNCTION__);
}
}
0.4.4 Seo lu güncellenmiş functions.php- Kod: Tümünü seç
function append_sid($url, $params = false, $is_amp = true, $session_id = false)
{
global $_SID, $_EXTRA_URL, $phpbb_hook;
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
// We bypass the hook function here, the same effect as a standalone hook, which we want, but faster ;-)
global $phpbb_seo;
if (!empty($phpbb_seo->seo_opt['url_rewrite'])) {
return $phpbb_seo->url_rewrite($url, $params, $is_amp, $session_id);
} else
// Developers using the hook function need to globalise the $_SID and $_EXTRA_URL on their own and also handle it appropiatly.
// They could mimick most of what is within this function
if (!empty($phpbb_hook) && $phpbb_hook->call_hook(__FUNCTION__, $url, $params, $is_amp, $session_id))
{
if ($phpbb_hook->hook_return(__FUNCTION__))
{
return $phpbb_hook->hook_return_result(__FUNCTION__);
}
}