vB3.8 "Click here to view latest topics" beneath forum category

Discussion in 'Add Ons' started by Graeme, Aug 14, 2010.

  1. Graeme The professional mage

    Likes Received:
    0
    vBulletin 3.8x - "Click here to view latest topics" beneath forum category

    From my thread on vBulletin.org: (click here).

    Aaaaaand goes my first minor modification! :D

    Description:
    This minor modification allows you to click a link below the category name in order to view the latest topics in XX category. It won't serve as a replacement for the forum description, so if you'd like to add a description as well, it (probably) won't interfere.

    Instructions:
    Go to your Style Manager in AdminCP and navigate to the following template: forumhome_forumbit_level1_nopost. Once there, you'll come across the following bit of code:
    Code:
    <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
    <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
    
    Between the first and second line, add the following:
    Code:
    <br />
    <span class="smallfont"><a href="search.php?do=getdaily&forumid=$forum[forumid]&childforums=<if condition="$childforumbits">1</if>&saveprefs=false">Click here to view the latest topics in this category</a></span>
    
    You can change the text accordingly. The if conditional is to check whether your category contains childforums or not, and sets it to 0 if the latter.

    There goes my first modification!

    Attached Files:

Share This Page