Alors, déjà le patch mod rewrite avancé et Intermédiaire pour glance :
- Code: Tout sélectionner
#
#-----[ OPEN ]------------------------------------------
#
glance.php
#
#-----[ FIND ]------------------------------------------
#
// set the topic title sql depending on the character limit set in glance_config
$sql_title = ($glance_topic_length) ? ", LEFT(t.topic_title, " . $glance_topic_length . ") as topic_title" : ", t.topic_title";
#
#-----[ REPLACE WITH ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
// set the topic title sql depending on the character limit set in glance_config - we want the full URL here
//$sql_title = ($glance_topic_length) ? ", LEFT(t.topic_title, " . $glance_topic_length . ") as topic_title" : ", t.topic_title";
$sql_title = ", t.topic_title";
// www.phpBB-SEO.com SEO TOOLKIT END
#
#-----[ FIND ]------------------------------------------
#
$last_poster = ($latest_news[$i]['poster_id'] == ANONYMOUS ) ? ( ($latest_news[$i]['last_username'] != '' ) ? $latest_news[$i]['last_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $latest_news[$i]['poster_id']) . '">' . $latest_news[$i]['last_username'] . '</a> ';
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
if ( !isset($phpbb_seo->seo_url['topic'][$latest_news[$i]['topic_id']]) ) {
$phpbb_seo->seo_url['topic'][$latest_news[$i]['topic_id']] = $phpbb_seo->format_url($latest_news[$i]['topic_title']);
}
if ( !isset($phpbb_seo->seo_url['forum'][$latest_news[$i]['forum_id']]) ) {
$phpbb_seo->seo_url['forum'][$latest_news[$i]['forum_id']] = $phpbb_seo->format_url($latest_news[$i]['forum_name'], $phpbb_seo->seo_static['forum']);
}
//Restore topic title length limit
$latest_news[$i]['topic_title'] = ($glance_topic_length) ? substr($latest_news[$i]['topic_title'], 0, $glance_topic_length) . "..." : $latest_news[$i]['topic_title'];
// www.phpBB-SEO.com SEO TOOLKIT END
#
#-----[ FIND ]------------------------------------------
#
'TOPIC_LINK' => $topic_link,
#
#-----[ REPLACE WITH ]------------------------------------------
#
'TOPIC_LINK' => append_sid($topic_link),
#
#-----[ FIND ]------------------------------------------
#
'FORUM_LINK' => $glance_forum_dir . 'viewforum.php?f=' . $latest_news[$i]['forum_id'])
#
#-----[ REPLACE WITH ]------------------------------------------
#
'FORUM_LINK' => append_sid($glance_forum_dir . 'viewforum.php?f=' . $latest_news[$i]['forum_id']))
#
#-----[ FIND ]------------------------------------------
#
$topic_poster = ($latest_topics[$i]['topic_poster'] == ANONYMOUS ) ? ( ($latest_topics[$i]['author_username'] != '' ) ? $latest_topics[$i]['author_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $latest_topics[$i]['topic_poster']) . '">' . $latest_topics[$i]['author_username'] . '</a> ';
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
if ( !isset($phpbb_seo->seo_url['topic'][$latest_topics[$i]['topic_id']]) ) {
$phpbb_seo->seo_url['topic'][$latest_topics[$i]['topic_id']] = $phpbb_seo->format_url($latest_topics[$i]['topic_title']);
}
if ( !isset($phpbb_seo->seo_url['forum'][$latest_topics[$i]['forum_id']]) ) {
$phpbb_seo->seo_url['forum'][$latest_topics[$i]['forum_id']] = $phpbb_seo->format_url($latest_topics[$i]['forum_name'], $phpbb_seo->seo_static['forum']);
}
//Restore topic title length limit
$latest_topics[$i]['topic_title'] = ($glance_topic_length) ? substr($latest_topics[$i]['topic_title'], 0, $glance_topic_length) . "...": $latest_topics[$i]['topic_title'];
// www.phpBB-SEO.com SEO TOOLKIT END
#
#-----[ FIND ]------------------------------------------
#
'TOPIC_LINK' => $topic_link,
#
#-----[ REPLACE WITH ]------------------------------------------
#
'TOPIC_LINK' => append_sid($topic_link),
#
#-----[ FIND ]------------------------------------------
#
'FORUM_LINK' => $glance_forum_dir . 'viewforum.php?f=' . $latest_topics[$i]['forum_id'])
#
#-----[ REPLACE WITH ]------------------------------------------
#
'FORUM_LINK' => append_sid($glance_forum_dir . 'viewforum.php?f=' . $latest_topics[$i]['forum_id']))
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Après désinatllation de l'ancien

Et pour le zero dupe, il faut autoriser la variable glance_recent_offset.
Donc, dans index.php, dans le code du zero dupe, trouves :
- Code: Tout sélectionner
if ( $phpbb_seo->do_redir) {
Remplaces par :
- Code: Tout sélectionner
if ( $phpbb_seo->do_redir && empty($_GET['glance_recent_offset']) ) {
Je pense que la version final du patch glance fera une belle réécriture de al pagniation du mod
Mais là, ça doit être bon
++