File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ function b_newbb_show($options)
188188 // START irmtfan remove hardcoded html in URLs - add $seo_topic_url
189189 //$seo_url = XOOPS_URL . '/' . SEO_MODULE_NAME . '/viewtopic.php?post_id=' . $topic['post_id'];
190190 //BigKev73 > Change to support jumping directly to that post, vs just the page that the topic is on
191- $ seo_url = XOOPS_URL . '/ ' . SEO_MODULE_NAME . '/viewtopic.php?post_id = ' . $ topic ['post_id ' ] . '#forumpost ' . $ topic ['post_id ' ];
191+ $ seo_url = XOOPS_URL . '/ ' . SEO_MODULE_NAME . '/viewtopic.php?topic_id = ' . $ topic ['id ' ] . '&post_id= ' . $ topic [ ' post_id ' ]. " #forumpost " . $ topic ['post_id ' ];
192192 $ seo_topic_url = XOOPS_URL . '/ ' . SEO_MODULE_NAME . '/viewtopic.php?topic_id= ' . $ topic ['id ' ];
193193 $ seo_forum_url = XOOPS_URL . '/ ' . SEO_MODULE_NAME . '/viewforum.php?forum= ' . $ topic ['forum_id ' ];
194194 if (!empty ($ newbbConfig ['do_rewrite ' ])) {
You can’t perform that action at this time.
0 commit comments