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

Not Planned Threads with new posts - extra info

Discussion in 'Closed Suggestions' started by Razasharp, Mar 11, 2014.

  1. Razasharp

    Razasharp Well-Known Member

    It's great having threads with new posts highlighted... but what if we went further? And showed how many new posts or new attached files since last visit too? Or even how many new participants?

    I think this would be awesome, and fits in very well with the XF ethos and flair, of going beyond just the basics...
    Amaury likes this.
  2. Amaury

    Amaury Well-Known Member

    @Chris D has an add-on that shows how many new posts there are: Unread Post Count.
  3. Razasharp

    Razasharp Well-Known Member

    Hi Amaury, sorry I just edited my title (you're too quick!) I mean when browsing the forum list, or latest posts lists - so threads marked as having new posts also include what is new in the thread... number of new replies, number of new attached files, number of new participants etc..
  4. Amaury

    Amaury Well-Known Member

    Doesn't the "New" indicator already do that? However, do you mean something like this?

  5. Razasharp

    Razasharp Well-Known Member

    That's an indication while you're in the thread, I mean the page before - the thread listing page, e.g. XenForo Suggestions (or new posts pages, or any page that shows a list of threads and marks which has unread posts) :)
    Amaury likes this.
  6. Mike

    Mike XenForo Developer Staff Member

    While the suggestion isn't bad, the process to do this would potentially be quite brutal in terms of queries. Ask @Chris D about the issues he had (has?) with some queries in that add-on.

    There isn't much that can be done to optimize it because the data varies for each user and changes constantly (every read thread and every post).
  7. Amaury

    Amaury Well-Known Member

    I'm still not even quite sure was Razasharp was suggesting. :x

    Razasharp, even though this has been marked "No Thanks," can you provide a mockup of what you meant?
  8. Razasharp

    Razasharp Well-Known Member

    Yeah I did wonder about the queries - tho I wonder if using something like Redis might help..

    Take a look at this page: http://xenforo.com/community/forums/xenforo-suggestions.18 and where you have thread titles in bold (indicating the thread contains new posts) there would be additional info showing what's new since your last visit (number of posts, number of new participants etc, number of new attachments) etc.
    Amaury likes this.
  9. Amaury

    Amaury Well-Known Member

    Ah, now I understand you completely! Thanks! (y)
    Razasharp likes this.
  10. Chris D

    Chris D XenForo Developer Staff Member

    It's certainly not great on massive sites but for the most part it is working quite well thanks to the index you recommended.

    I'll be adding an optional caching mechanism eventually. I do this with XMG for the unviewed item count on the nav tab and it works well.
    Razasharp likes this.

Share This Page