Change sort order of View New Posts?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • samtha25
    Senior Member
    • Feb 2001
    • 325

    Change sort order of View New Posts?

    Can I change the sort order of the search results from View New Posts, so that the threads are sorted first by forum then by date from oldest to newest?
  • Chen
    Senior Member
    • Jun 2001
    • 8388

    #2
    See this line in search.php?
    Code:
        eval("standardredirect(\"".gettemplate("redirect_search")."\",\"search.php?s=$session[sessionhash]&action=showresults&getnew=true&searchid=$searchid\");");
    change it to this line:
    Code:
        eval("standardredirect(\"".gettemplate("redirect_search")."\",\"search.php?s=$session[sessionhash]&action=showresults&getnew=true&searchid=$searchid[color=red]&sortby=forum[/color]\");");
    Chen Avinadav
    Better to remain silent and be thought a fool than to speak out and remove all doubt.

    גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

    Comment

    • rosey
      Member
      • Feb 2007
      • 78
      • 4.1.x

      #3
      Sort threads by Forum in search or New Posts

      Does anyone have an update for this for vB vBulletin 3.6.4?
      The string that Chen cites is not in this version in search.php.

      Comment

      • peterska2
        Senior Member
        • Oct 2003
        • 8869
        • 3.7.x

        #4
        We can't offer official support for code modifications or for forums running modified code. But we do have a hacking site and forums, however, with people that may be willing to help you with this.

        Please visit http://www.vbulletin.org/forum/ and ask for help there in the appropriate forum.

        Comment

        Related Topics

        Collapse

        Working...