Мод пока не адаптирован под 3.0.4
Работает, кроме отображения профилей
Для исправления открыть includes/functions_content.php
найти
Код: Выделить всё
if (empty($_base_profile_url))
{
$_base_profile_url = append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=viewprofile&u={USER_ID}');
}
$profile_url = ($custom_profile_url !== false) ? $custom_profile_url . '&u=' . (int) $user_id : str_replace('={USER_ID}', '=' . (int) $user_id, $_base_profile_url);
Код: Выделить всё
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
/*if (empty($_base_profile_url))
{
$_base_profile_url = append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=viewprofile&u={USER_ID}');
}
$profile_url = ($custom_profile_url !== false) ? $custom_profile_url . '&u=' . (int) $user_id : str_replace('={USER_ID}', '=' . (int) $user_id, $_base_profile_url);*/
global $phpbb_seo;
$phpbb_seo->set_user_url( strip_tags($username), $user_id );
$profile_url = ($custom_profile_url !== false) ? $custom_profile_url . '&u=' . (int) $user_id : append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=viewprofile&u=' . (int) $user_id);
// www.phpBB-SEO.com SEO TOOLKIT END