1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Add an ACP option to change the time limit for the What's New page

Discussion in 'Closed Suggestions' started by Brogan, Oct 21, 2010.

  1. Brogan

    Brogan XenForo Moderator Staff Member

    As per the original thread here (http://xenforo.com/community/threads/forum-what´s-new-it-shows-no-results-found.5925/), it would be useful if there was an easy way to adjust the time limit for which "new" threads are displayed on the What's New Page.

    For smaller, less busy forums, it can be a little disconcerting to constantly see the "No results found." message.

    Increasing the time limit to 5 or even 7 days will help to at least make the forum appear busier than it actually is, thereby promoting more activity.

    Currently it is set at 3 days/72 hours.
    If you want to change it then you need to edit library/xenforo/controllerpublic/findnew.php
    if ($days 1)
    $days 3;
    If you want it be set to 5 days for example, change it to:
    if ($days 1)
    $days 5;
    It would just be easier if this was an ACP setting to avoid having to manually edit the file.
    Andrej, CallieJo, DRE and 13 others like this.
  2. Jamie

    Jamie Well-Known Member

    Can I add to this suggestion as well?

    I would like the option for my members to be able to easily search for a posts from a period of time. Say the last 24 hours, or 48 hours, or the last week, the last 6 month period.

    In vB there was a mod that did this and when I moved to IPB it was one of the biggest things my members missed. I hacked a solution together using IPB Active Topic link which gives my members a drop down list where they can choose the range of their search of posts.

    The drop down list includes these options:
    View Unread Content
    12 hour
    24 hours
    2 days
    4 days
    Your Content

    So, I would like to add to this suggestion that it not only give us a way to increase the time limit, but would also allow us to offer more choices to our members in their search for new posts.


  3. erich37

    erich37 Well-Known Member

    at my XF-website, the posts are disappearing from the "What´s new" after 20 minutes.
    So a reply to a certain post only remained for 20 minutes in the "What´s new" section.

    This really needs to be adjustable in terms of how long threads show as "new".
  4. Dean

    Dean Well-Known Member

    That makes no sense to me, the minimum time is 1 day when posts are marked as read, when they have not been read. Could you be thinking of the Alerts?

    Admincp -> options -> Threads, Discussions and Conversations -> Read Marking Data Lifetime = number of days threads will be set to unread (if they have not been read)
  5. erich37

    erich37 Well-Known Member

    no, I am talking about "What´s new".
  6. Digital Doctor

    Digital Doctor Well-Known Member

  7. Dean

    Dean Well-Known Member

    Did you see the 'all recent messages' link on the far right, which will go back farther in time?

    "Whats New" then to the far right hand side... (it may show up differently if there are no newish posts, I've not tried it).
  8. Jamie

    Jamie Well-Known Member

    I think what would be nice is if the What's New search didn't find any results then it would automatically pull up the all recent messages and give a phrase at the top stating that there isn't any new threads, but here are some of the most recent threads from the site..

    Morgain likes this.
  9. Digital Doctor

    Digital Doctor Well-Known Member

    That was exactly my suggestion.
  10. kforo

    kforo Active Member

  11. James

    James Well-Known Member

    I did mention something like this, and there's a parameter you can append to the find-new/threads to specify how many days. Append ?days=x to specify how many days.
  12. Brogan

    Brogan XenForo Moderator Staff Member

  13. James

    James Well-Known Member

    Paul, the quickest fix I can suggest for that is to manually build it to the navigation template so that the number of days specified is built into the link.
    {xen:link 'find-new/threads/?days=x'}
  14. Brogan

    Brogan XenForo Moderator Staff Member

    Oh it wasn't for me really, this thread came about as a result of someone else asking about it.
    I just made the suggestion on their behalf :)
    James likes this.
  15. Mike

    Mike XenForo Developer Staff Member

    That should be: {xen:link 'find-new/threads', '', 'days=x'} (haven't actually tested that :)) Obviously it only works in our own templates.
  16. James

    James Well-Known Member

    Yeah, I wasn't sure how the extra parameters worked (off the top of my head) so I just did a direct link :)

    Any word on if this is actually going to be implemented?
  17. Enigma

    Enigma Well-Known Member

    I don't think people necessarily want another setting, what they really want is for the "What's New" link to never lead to a blank page, it should always show the newest posts, even if they're relatively old. Why not have the What's New page show the last 3 days worth of posts or the newest 100 posts, whichever is greater (or something to that effect). That way you give people what they want without cluttering up the ACP with another setting.
    Morgain, ragtek and Digital Doctor like this.
  18. Digital Doctor

    Digital Doctor Well-Known Member

  19. CyclingTribe

    CyclingTribe Well-Known Member

    It would be nice to see this in 1.2 :)
    Digital Doctor and Fuhrmann like this.
  20. erich37

    erich37 Well-Known Member

    no, this should be in XF 1.1 Beta5.
    Morgain likes this.

Share This Page