Adding a "Back to forum" link at bottom of thread

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Loony BoB
    Senior Member
    • Sep 2003
    • 175
    • 4.2.X

    [Forum] Adding a "Back to forum" link at bottom of thread

    ... proved to be more of a challenge than I thought it would be!

    Before the upgrade to vB4, many of our users used the "Go" button in the Quick navigation at the bottom of a thread to get back to the containing forum, which is now not an option. I figured it would be easy to add a link that leads back to the forum the thread is in, but I've had no luck finding the right variable to use - I've tried many different combinations in both showthread and forumjump.

    Any help?
    Eyes on Final Fantasy Forums - An Online Community of Final Fantasy Fans
    Eyes on Final Fantasy (Site) - The Most In-Depth Final Fantasy Site Online
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 73981

    #2
    The basic link the showthread template would be:

    <a href="forumdisplay.php?f={vb:raw threadinfo.forumid}">back</a>

    You can also use something like

    <a href="javascript:history.back(1)">back</a>
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • Dirt Bike Addict
      Senior Member
      • May 2010
      • 828
      • 4.1.x

      #3
      Another idea would be to also add the breadcrumbs to the bottom of the page. I currently have this on my forum and wouldn't have it any other way.

      Last edited by Dirt Bike Addict; Sun 9 Jan '11, 4:14pm.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...