Announcement

Collapse
No announcement yet.

Custom searches

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

  • 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?

  • #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


    • #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


      • #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 - Full / Mobile
        Vote for your favorite feature requests and the bugs you want to see fixed.

        Comment


        • #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...
          X