his is the best and the simplest seo mod there ever was and so mean of him not to integrate all the fixes into the new version and publish it somewhere:)





'U_MARK_FORUMS' => ($user->data['is_registered'] || $config['load_anon_lastread']) ? append_sid("{$phpbb_root_path}index.$phpEx", 'mark=forums') : '',
'U_MARK_FORUMS' => ($user->data['is_registered'] || $config['load_anon_lastread']) ? '?mark=forums' : '', // Redirect to login or to the correct post upon emailed notification links
if (isset($_GET['e']))
{
$jump_to = request_var('e', 0);
$redirect_url = format_url($topic_title, "t$topic_id");
if ($user->data['user_id'] == ANONYMOUS)
{
login_box($redirect_url . "&p=$post_id&e=$jump_to", user->lang['LOGIN_NOTIFY_TOPIC']);
}
if ($jump_to > 0)
{
// We direct the already logged in user to the correct post...
redirect($redirect_url . ((!$post_id) ? "&p=$jump_to" : "&p=$post_id") . "#p$jump_to");
}
} // Redirect to login or to the correct post upon emailed notification links
if (isset($_GET['e']))
{
$jump_to = request_var('e', 0);
$redirect_url = format_url($topic_title, "t$topic_id");
if ($user->data['user_id'] == ANONYMOUS)
{
login_box($redirect_url . "#p$jump_to", $user->lang['LOGIN_NOTIFY_TOPIC']);
}
if ($jump_to > 0)
{
// We direct the already logged in user to the correct post...
redirect($redirect_url . "#p$jump_to");
}
} 'U_VIEW_UNREAD_POST' => format_url($topic_title, "t$topic_id", 0, 'view=unread'), 'U_VIEW_UNREAD_POST' => format_url($topic_title, "t$topic_id", 0, 'view=unread#unread'), 'U_VIEW_UNREAD_POST' => format_url($topic_title, "t$topic_id", 0, 'view=unread'), 'U_VIEW_UNREAD_POST' => format_url($topic_title, "t$topic_id", 0, 'view=unread#unread'), $forum_id = $row['forum_id']; $forum_name = $row['forum_name']; $topic_id = $row['topic_id']; $topic_title = $row['topic_title']; 'U_NEWEST_POST' => $view_topic_url . '&view=unread#unread', 'U_NEWEST_POST' => $view_topic_url . '-view=unread#unread', $user->setup(array('memberlist', 'groups')); $forum_folder = (strlen($config['script_path']) > 1) ? $config['script_path'] . '/' : '/' ; $messenger->assign_vars(array(
'TOPIC_NAME' => htmlspecialchars_decode($row['topic_title']),
'U_TOPIC' => format_url($row['topic_title'], "t$topic_id")
); $topic_seo_link = format_url($row['topic_title'], "t$topic_id");
$topic_seo_link = str_replace('./', $config['server_protocol'] . $config['server_name'] . $forum_folder, $topic_seo_link);
$messenger->assign_vars(array(
'TOPIC_NAME' => htmlspecialchars_decode($row['topic_title']),
'U_TOPIC' => $topic_seo_link)
); function jumpto()
{
var page = prompt(jump_page, on_page);
if (page !== null && !isNaN(page) && page > 0)
{
document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);
}
}
function jumpto(base_url, seo_ext)
{
var page = prompt(jump_page, on_page);
if (page !== null && !isNaN(page) && page > 0)
{
document.location.href = base_url.replace(/&/g, '&') + 's' + ((page - 1) * per_page) + seo_ext;
}
}
<a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}"><a href="#" onclick="jumpto('{BASE_URL}','{SEO_EXT}'); return false;" title="{L_JUMP_TO_PAGE}"><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}"><a href="#" onclick="jumpto('{BASE_URL}','{SEO_EXT}'); return false;" title="{L_JUMP_TO_PAGE}"> <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}"> <a href="#" onclick="jumpto('{BASE_URL}','{SEO_EXT}'); return false;" title="{L_JUMP_TO_PAGE}"> <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}"> <a href="#" onclick="jumpto('{BASE_URL}','{SEO_EXT}'); return false;" title="{L_JUMP_TO_PAGE}">



'U_NEWEST_POST' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", $view_topic_url_params . '&view=unread') . '#unread',




'U_NEWEST_POST' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", $view_topic_url_params . '&view=unread') . '#unread',




Return to phpBB3 Coding Assistance
Users browsing this forum: Baidu [spider], Exabot [Bot] and 12 guests