| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
angelus
Joined: 10 Nov 2007 Posts: 25
|
Posted: Tue Jul 22, 2008 9:02 pm Post subject: 0.4.2 => 0.4.4 update problem.. |
|
|
0.4.2 => 0.4.4 update
I am adding this code but this code log out forum me
I don't understand
thanks,sorry my english..
-------------------
server: localhost
phpbb v. : 3.0.2
includes/functions.php
| Code: | #
#-----[ FIND ]------------------------------------------
#
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
#
#-----[ REPLACE WITH ]------------------------------------------
#
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
|
|
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
Posted: Wed Jul 23, 2008 8:34 am Post subject: Re: 0.4.2 => 0.4.4 update problem.. |
|
|
Well these instruction are for when you would update the mod rewrite, the 3.0.2 files do not contain the mod rewrite code, it could only be this.
All you need to do for the whole append_sid function is to add :
| Code: | // 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
// www.phpBB-SEO.com SEO TOOLKIT END |
after :
| Code: | function append_sid($url, $params = false, $is_amp = true, $session_id = false)
{
global $_SID, $_EXTRA_URL, $phpbb_hook; |
if you start from a the original code of the append_sid function. |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |