Le support de ce mod se fait dans le forum
Mods phpBB SEO.
Merci de mettre
[Gallery] dans le titres des sujets demandant du support pour ce mod.
Cliquez sur le
lien Surveiller ce sujet pour être tenu au courant des mises à jour.
Mise à Jour :- Pour mettre à jour depuis le patch 1.0.1RC1, voici les différence concernant les ajouts de phpBB SEO :
- Pour 1.0.RC1, Il y avait :
- Code: Tout sélectionner
#
#-----[ OPEN ]------------------------------------------
#
gallery/album.php
#
#-----[ FIND ]------------------------------------------
#
page_header($user->lang['VIEW_ALBUM'] . ' - ' . $album_data['album_name']);
#
#-----[ REPLACE WITH ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN - TITLE
$extra_title = (@$start > 0) ? ' - ' . @$user->lang['Page'] . ( floor( ($start / $images_per_page) ) + 1 ) : '';
page_header($album_data['album_name'] . $extra_title);
// www.phpBB-SEO.com SEO TOOLKIT END - TITLE
- Pour 1.0.3, il y a :
- Code: Tout sélectionner
#
#-----[ OPEN ]------------------------------------------
#
gallery/album.php
#
#-----[ FIND ]------------------------------------------
#
if (version_compare($config['version'], '3.0.5', '>'))
{
page_header($user->lang['VIEW_ALBUM'] . ' - ' . $album_data['album_name'], true, $album_id, 'album');
}
else
{
// Backwards compatible
cheat_phpbb_31975();
page_header($user->lang['VIEW_ALBUM'] . ' - ' . $album_data['album_name']);
}
#
#-----[ REPLACE WITH ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN - TITLE
$extra_title = (@$start > 0) ? ' - ' . @$user->lang['Page'] . ( floor( ($start / $images_per_page) ) + 1 ) : '';
if (version_compare($config['version'], '3.0.5', '>'))
{
page_header($album_data['album_name'] . $extra_title, true, $album_id, 'album');
}
else
{
// Backwards compatible
cheat_phpbb_31975();
page_header($album_data['album_name'] . $extra_title);
}
// www.phpBB-SEO.com SEO TOOLKIT END - TITLE
- Pour 1.0.RC1, Il y avait :
- Code: Tout sélectionner
#
#-----[ OPEN ]------------------------------------------
#
gallery/includes/common.php
#
#-----[ FIND ]------------------------------------------
#
$gallery_config = load_gallery_config();
#
#-----[ AFTER, ADD]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$phpbb_seo->phpbb_filter['album']['album'] = array('sk' => $gallery_config['sort_method'], 'sd' => $gallery_config['sort_order'], 'st' => 0);
$phpbb_seo->phpbb_filter['album']['search'] = array('sk' => $gallery_config['sort_method'], 'sd' => $gallery_config['sort_order'], 'st' => 0);
// www.phpBB-SEO.com SEO TOOLKIT END
- Pour 1.0.3, il y a :
- Code: Tout sélectionner
#
#-----[ OPEN ]------------------------------------------
#
gallery/includes/common.php
#
#-----[ FIND ]------------------------------------------
#
$gallery_config = load_gallery_config();
#
#-----[ AFTER, ADD]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$phpbb_seo->phpbb_filter['album']['album'] = array('sk' => $gallery_config['sort_method'], 'sd' => $gallery_config['sort_order'], 'st' => 0);
$phpbb_seo->phpbb_filter['album']['search'] = array('sk' => $gallery_config['sort_method'], 'sd' => $gallery_config['sort_order'], 'st' => 0);
$phpbb_seo->phpbb_filter['album']['pic'] = array('sk' => $gallery_config['sort_method'], 'sd' => $gallery_config['sort_order'], 'st' => 0);
// www.phpBB-SEO.com SEO TOOLKIT END
- Pour 1.0.RC1, Il y avait :
- Code: Tout sélectionner
#
#-----[ OPEN ]------------------------------------------
#
gallery/image_page.php
#
#-----[ FIND ]------------------------------------------
#
page_header($user->lang['VIEW_IMAGE'] . ' - ' . $image_data['image_name']);
#
#-----[ REPLACE WITH ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN - TITLE
$extra_title = (@$start > 0) ? ' - ' . @$user->lang['Page'] . ( floor( ($start / $config['posts_per_page']) ) + 1 ) : '';
page_header($image_data['image_name'] . ' : ' . $album_data['album_name'] . $extra_title);
// www.phpBB-SEO.com SEO TOOLKIT END - TITLE
- Pour 1.0.3, il y a :
- Code: Tout sélectionner
#
#-----[ OPEN ]------------------------------------------
#
gallery/image_page.php
#
#-----[ FIND ]------------------------------------------
#
page_header($user->lang['VIEW_IMAGE'] . ' - ' . $image_data['image_name'], false);
#
#-----[ REPLACE WITH ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN - TITLE
$extra_title = (@$start > 0) ? ' - ' . @$user->lang['Page'] . ( floor( ($start / $config['posts_per_page']) ) + 1 ) : '';
page_header($image_data['image_name'] . ' : ' . $album_data['album_name'] . $extra_title, false);
// www.phpBB-SEO.com SEO TOOLKIT END - TITLE
- Pour 1.0.RC1, Il y avait :
dans phpbb_seo_class.php :
- Code: Tout sélectionner
$this->phpbb_filter['album']['pic'] = array('sort_order' => 'ASC');
- Pour 1.0.3, il y a :
dans phpbb_seo_class.php :
- Code: Tout sélectionner
$this->phpbb_filter['album']['pic'] = array('sk' => 't', 'sd' => 'd', 'st' => 0);
- Pour 1.0.RC1, Il y avait :
dans phpbb_seo_class.php :
- Code: Tout sélectionner
unset($this->get_vars['album_id'], $this->get_vars['id']);
- Pour 1.0.3, il y a :
dans phpbb_seo_class.php :
- Code: Tout sélectionner
unset($this->get_vars['album_id'], $this->get_vars['id'], $this->get_vars['u']);
Le plus rapide est d'utiliser les fichiers prémoddés du dossier contrib/ si vous ne les avez pas modifié vous même.