| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
GoBieN PR0

Joined: 10 Mar 2008 Posts: 53 Location: Belgium
|
Posted: Tue Apr 29, 2008 8:48 pm Post subject: Re: Rewrite of phpBB3 Gallery index.php |
|
|
Just installed phpBB Gallery 0.3.1 on phpBB 3.0.1 SEO PREMOD and i followed my directions, and it's working. So still ok for newest versions.
Just know, that i had to adjust the gallery install script to get it to work. Because the script asumes that the module ID's are the same for everyone. And with the SEO premod, the module ID's of like UCP_MAIN and ACP_CAT_DOT_MODS are different. I adjuested the script you can find my script here: http://www.flying-bits.org/viewtopic.php?f=27&t=337&p=1515#p1515 |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
Stitch
Joined: 23 May 2007 Posts: 27
|
Posted: Sun May 25, 2008 9:06 am Post subject: Re: Rewrite of phpBB3 Gallery index.php |
|
|
Salut,
Je viens de faire les modifs pour adapter phpbb gallery 0.3.1 avec les dernier seo mais je me retrouve avec cette erreur dans le header
| Code: | [phpBB Debug] PHP Notice: in file /gallery/gallery.php on line 92: Division by zero
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3598: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2991)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3600: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2991)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3601: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2991)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3602: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2991)
|
Autre probleme, je n'ai pas pu faire la modif dans "phpbb_seo_class.php"
| GoBieN wrote: | in php_seo_class.php
FIND:
| Code: | if ( !$user->data['is_registered'] ) {
if ( $this->seo_opt['rem_sid'] ) {
unset($this->get_vars['sid']);
}
if ( $this->seo_opt['rem_hilit'] ) {
unset($this->get_vars['hilit']);
}
} |
REPLACE WITH:
| Code: | if (!defined('IN_GALLERY')){
if ( !$user->data['is_registered'] ) {
if ( $this->seo_opt['rem_sid'] ) {
unset($this->get_vars['sid']);
}
if ( $this->seo_opt['rem_hilit'] ) {
unset($this->get_vars['hilit']);
}
}
} |
|
|
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3103
|
Posted: Sun May 25, 2008 1:22 pm Post subject: Re: Rewrite of phpBB3 Gallery index.php |
|
|
| You do not seem to use the proper version of the gallery mod, try the one from http://www.flying-bits.org |
_________________
|
|
| Back to top |
|
 |
Stitch
Joined: 23 May 2007 Posts: 27
|
Posted: Sun May 25, 2008 2:16 pm Post subject: Re: Rewrite of phpBB3 Gallery index.php |
|
|
| Ok c'est bon sa fonction merci beaucoup |
|
|
| Back to top |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |