Announcement

Collapse
No announcement yet.

Make "New Posts" and "Today's Posts" display results only for current forum

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Make "New Posts" and "Today's Posts" display results only for current forum

    I had to modify vBulletin to display only results from current forum when using “Today’s Posts” (when not logged in) or “New Posts” (when logged in) link on the top.

    I made the following changes to header template in the appropriate style:

    Code:
                    <td><a href="search.php?$session[sessionurl]do=getnew&forumid=$foruminfo[forumid]" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                    <else />
                    <td><a href="search.php?$session[sessionurl]do=getdaily&forumid=$foruminfo[forumid]" accesskey="2">$vbphrase[todays_posts]</a></td>
    Also made the following changes to navbar template in the appropriate style:

    Code:
            <if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&forumid=$foruminfo[forumid]">$vbphrase[todays_posts]</a></td></tr></if>
    No plugin is required for this functionality.
Working...
X