Sto editando i file per installazione no dup mod ma è sorto un problema nel file viewtopic.php
Mi richiede di trovare il seguente codice
Codice: Seleziona tutto
'U_MINI_POST' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'p=' . $row['post_id']) . (($topic_data['topic_type'] == POST_GLOBAL) ? '&f=' . $forum_id : '') . '#p' . $row['post_id'],
e di sostituirlo con questo
Codice: Seleziona tutto
// www.phpBB-SEO.com SEO TOOLKIT BEGIN -> no dupe
'U_MINI_POST' => !empty($phpbb_seo->seo_opt['no_dupe']['on']) ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", 't=' . $topic_id . '&f=' . $forum_id . '&start=' . $start ) . '#p' . $row['post_id'] : append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'p=' . $row['post_id'] . (($topic_data['topic_type'] == POST_GLOBAL) ? '&f=' . $forum_id : '')) . '#p' . $row['post_id'],
// www.phpBB-SEO.com SEO TOOLKIT END -> no dupe
Ma sul mio viewtopic il codice da cambiare fa parte di una modifica gia effettuata per la SEO MOD
Codice: Seleziona tutto
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
'U_MINI_POST' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'p=' . $row['post_id'] . (($topic_data['topic_type'] == POST_GLOBAL) ? '&f=' . $forum_id : '')) . '#p' . $row['post_id'],
// www.phpBB-SEO.com SEO TOOLKIT END
Come mi comporto?