there needs to be a comma after "phpbb_posts p"
Handy man, Can you tell me how to fix it. How can i add a comma?
Give me instruction. Thanks

there needs to be a comma after "phpbb_posts p"



FROM ' . POSTS_TABLE . ' p FROM ' . POSTS_TABLE . ' p,


return $url . (($append_url) ? $url_delim . $append_url . $amp_delim : $url_delim) . $params . ((!$session_id) ? '' : $amp_delim . 'sid=' . $session_id);return trim($url . (($append_url) ? $url_delim . $append_url . $amp_delim : $url_delim) . $params . ((!$session_id) ? '' : $amp_delim . 'sid=' . $session_id), '-');'U_MARK_TOPICS' => ($user->data['is_registered'] || $config['load_anon_lastread']) ? format_url($forum_name, "f$forum_id", 0, 'mark=topics') : '','U_MARK_TOPICS' => ($user->data['is_registered'] || $config['load_anon_lastread']) ? format_url($forum_name, "f$forum_id", 0, 'mark=topics&hash=' . generate_link_hash('global')) : '',



cyba wrote:Discovered the issues and made these fixes.
Don't fully understand why it decides to add an extra '-' at the end of the link, but hey, heres how to get rid of it.
Open includes/functions_seo.php
Find:
- Code: Select all
return $url . (($append_url) ? $url_delim . $append_url . $amp_delim : $url_delim) . $params . ((!$session_id) ? '' : $amp_delim . 'sid=' . $session_id);
Replace With:
- Code: Select all
return trim($url . (($append_url) ? $url_delim . $append_url . $amp_delim : $url_delim) . $params . ((!$session_id) ? '' : $amp_delim . 'sid=' . $session_id), '-');
A hash has been added (for security) when marking topics read, here is a fix for the "mark topics read bug":
Open viewforum.php:
Find:
- Code: Select all
'U_MARK_TOPICS' => ($user->data['is_registered'] || $config['load_anon_lastread']) ? format_url($forum_name, "f$forum_id", 0, 'mark=topics') : '',
Replace With:
- Code: Select all
'U_MARK_TOPICS' => ($user->data['is_registered'] || $config['load_anon_lastread']) ? format_url($forum_name, "f$forum_id", 0, 'mark=topics&hash=' . generate_link_hash('global')) : '',
Problem solved!
The official developers of the mod may not be happy with these fixes, so please check back to see what they say.





[
SEO MOD © 2007 StarTrekGuide ]




Return to Miscellaneous MODs, Hacks and Downloads
Users browsing this forum: JikeSpider and 11 guests