Custom searches

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pcg
    Member
    • Mar 2007
    • 30
    • 3.6.x

    Custom searches

    In prior versions, custom searches looked like this fpor the last 5 days.
    http://www.forumname.com/forums/search?do=getdaily&days=5

    this no longer works in vb5. How can we have links for last x days?
  • TLMD
    Senior Member
    • Sep 2012
    • 1766
    • 5.6.X

    #2
    Your links shows the following: "Sorry, you are not authorized to view this page. Please make sure ..."

    There is a date range available in the Advanced Search, if you want to search for posts within a certain period.

    Comment

    • pcg
      Member
      • Mar 2007
      • 30
      • 3.6.x

      #3
      The link was not for my site. My site is private, however my question was, how do I conduct links (as in Nav bar) on search x days? Just need help with the search string. I can add the Nav Links

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 73981

        #4
        Quickest and easiest way? Use the search module. Set your options, including days to look. Save the search module. Edit it and click on JSON tab. You'll get your code.

        search?searchJSON=code here
        Translations provided by Google.

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

        Comment

        • pcg
          Member
          • Mar 2007
          • 30
          • 3.6.x

          #5
          Thanks, my JSON code is
          {"date":{"from":"5"},"type":["vBForum_Text"],"channel":["13"],"sort":{"relevance":"desc"},"view":"","exclude_type":["vBForum_PrivateMessage"]}

          when I add that to the search I get the main search screen. I asked for 5 days back in the code.

          Comment

          Related Topics

          Collapse

          Working...