11
ackbarr
Re: How do you link to a post in a forum thread?

peekay - you bring up a good point. I came up with a quick hack to the template set in newbb that gives you the URL to a specific post. It is currently active on xoops.org's forums. The post 'number' is now a link to the post itself, so to get the url, rightclick on post number, and copy URL to clipboard.

In modules/newbb/templates/newbb_thread.html change:
<th width="80%" align="left"><div class="comTitle"><{$topic_post.post_title}></div></th><th align="right"><div class="comTitle" align="right">#<{$topic_post.post_no}></div></th>

to:
<th width="80%" align="left"><div class="comTitle"><{$topic_post.post_title}></div></th><th align="right"><div class="comTitle" align="right">[color=008000][b]<a href="#forumpost<{$topic_post.post_id}>">[/b][/color]#<{$topic_post.post_no}>[color=008000][b]</a>[/b][/color]</div></th>

12
script_fu
Re: How do you link to a post in a forum thread?

Nice one ackbarr im adding this one right now.

13
Peekay
Re: How do you link to a post in a forum thread?
  • 2004/12/6 23:17

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Ackbarr... you move faster than a speeding bullet! ...and if anyone says otherwise, I can now direct them to this EXACT post!

Login

Who's Online

175 user(s) are online (97 user(s) are browsing Support Forums)


Members: 0


Guests: 175


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits