"New Topics" and "Today's Posts" replaced this week

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anwar513
    Senior Member
    • Sep 2010
    • 277
    • 5.2.x

    "New Topics" and "Today's Posts" replaced this week

    New Topics code;
    Code:
    search?searchJSON=%7B%22date%22%3A%22lastVisit%22%2C%22view%22%3A%22topic%22%2C%22unread_only%22%3A1%2C%22sort%22%3A%7B%22lastcontent%22%3A%22desc%22%7D%2C%22exclude_type%22%3A%5B%22vBForum_PrivateMessage%22%5D%7D
    The above code Replace "Week Topics" how to write code or how to change the code?

    Today's Posts code;
    Code:
    search?searchJSON=%7B%22last%22%3A%7B%22from%22%3A%22lastDay%22%7D%2C%22view%22%3A%22topic%22%2C%22starter_only%22%3A+1%2C%22sort%22%3A%7B%22lastcontent%22%3A%22desc%22%7D%2C%22exclude_type%22%3A%5B%22vBForum_PrivateMessage%22%5D%7D
    The above code Replace "Week Posts" how to write code or how to change the code?
  • anwar513
    Senior Member
    • Sep 2010
    • 277
    • 5.2.x

    #2
    For example, the following code official website and Mark.B website can be used, I used to display an error, why so?
    Code:
    search?searchJSON=%7B%22view%22%3A%22topic%22%2C%22unread_only%22%3A1%2C%22sort%22%3A%7B%22lastcontent%22%3A%22desc%22%7D%2C%22exclude_type%22%3A%5B%22vBForum_PrivateMessage%22%2C%22vBForum_VisitorMessage%22%2C%22vBForum_Report%22%2C%22vBForum_Redirect%22%5D%7D

    Comment

    • Mark.B
      vBulletin Support
      • Feb 2004
      • 24287
      • 6.0.X

      #3
      You can't make New Topics go back a week...it's not time based, it's based off what people have read.

      For Today's Posts, replace lastDay with lastWeek in the URL.
      MARK.B
      vBulletin Support
      ------------
      My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
      My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

      Comment

      • anwar513
        Senior Member
        • Sep 2010
        • 277
        • 5.2.x

        #4
        Thank you for your reply

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...