Skip to content

Commit 44e6fe5

Browse files
authored
Update newbb_index.tpl
Changes needed at TOPIC ID to direct post links, which are required for the notification options box to appear.
1 parent 0788412 commit 44e6fe5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

templates/newbb_index.tpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
<{if $forum.forum_lastpost_subject|default:''}>
133133
<{$forum.forum_lastpost_time}> <{$smarty.const._MD_NEWBB_BY}> <{$forum.forum_lastpost_user}>
134134
<br>
135-
<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?post_id=<{$forum.forum_lastpost_id}>">
135+
<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?topic_id=<{$forum.forum_lastpost_topicid}>&amp;post_id=<{$forum.forum_lastpost_id}>#forumpost<{$forum.forum_lastpost_id}>">
136136
<{$forum.forum_lastpost_subject}>&nbsp;&nbsp;
137137
<{* irmtfan remove icon_path *}>
138138
<{$forum.forum_lastpost_icon}>
@@ -187,7 +187,7 @@
187187
<{if $subforum.forum_lastpost_subject|default:''}>
188188
<{$subforum.forum_lastpost_time}> <{$smarty.const._MD_NEWBB_BY}> <{$subforum.forum_lastpost_user}>
189189
<br>
190-
<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?post_id=<{$subforum.forum_lastpost_id}>">
190+
<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?topic_id=<{$forum.forum_lastpost_topicid}>&amp;post_id=<{$subforum.forum_lastpost_id}>#forumpost<{$forum.forum_lastpost_id}>">
191191
<{$subforum.forum_lastpost_subject}>&nbsp;&nbsp;
192192
<{* irmtfan remove icon_path *}>
193193
<{$subforum.forum_lastpost_icon}>
@@ -241,7 +241,7 @@
241241
<{if $forum.forum_lastpost_subject|default:''}>
242242
<{$forum.forum_lastpost_time}> <{$smarty.const._MD_NEWBB_BY}> <{$forum.forum_lastpost_user}>
243243
<br>
244-
<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?post_id=<{$forum.forum_lastpost_id}>">
244+
<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?topic_id=<{$forum.forum_lastpost_topicid}>&amp;post_id=<{$forum.forum_lastpost_id}>#forumpost<{$forum.forum_lastpost_id}>">
245245
<{$forum.forum_lastpost_subject}>&nbsp;&nbsp;
246246
<{* irmtfan remove icon_path *}>
247247
<{$forum.forum_lastpost_icon}>
@@ -302,7 +302,7 @@
302302
<{if $forum.forum_lastpost_subject|default:''}>
303303
<{$forum.forum_lastpost_time}> <{$smarty.const._MD_NEWBB_BY}> <{$forum.forum_lastpost_user}>
304304
<br>
305-
<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?post_id=<{$forum.forum_lastpost_id}>">
305+
<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?topic_id=<{$forum.forum_lastpost_topicid}>&amp;post_id=<{$forum.forum_lastpost_id}>#forumpost<{$forum.forum_lastpost_id}>">
306306
<{$forum.forum_lastpost_subject}>&nbsp;&nbsp;
307307
<{* irmtfan remove icon_path *}>
308308
<{$forum.forum_lastpost_icon}>

0 commit comments

Comments
 (0)