Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

x-new posts message on threads (ala YH!)

edited November 2007 in Vanilla 1.0 Help
Yes. This is a feature rip from YayHooray, but it is one that I absolutely LOVE.

When you are viewing a thread, and there are new posts made, a little bar (fixed positioning) shows up OVER the panel and scrolls with you down the page. It displays how many new comments there are in the thread you are viewing and provides a link to reload the page so you can see them.

I can't imagine this would be a very hard extension to make, but I have no idea where to start. I would love to see it, so I am throwing it to the community.

Here is a picture of what I mean.



  • Its some Ajax call that periodically checks to see if there are new posts for the currently viewed thread... maybe compare UserDiscussionWatch to Discussion and pop it up when the CountComments values no longer match.

    Don't see this being very useful uniess its a very high traffic forum...
  • It would be very useful for me. The members of my forum treat certain categories like a new MSN or AIM. There could be up to 10 new comments in a particular thread when you are still reading the older posts in it.

    I know it will require some AJAX, but I have no idea what to do. Can anyone help?
  • I can do the PHP... but javascript I despise. :-)
  • Can anyone help?

    WallPhone: Would there even be much PHP? Just the basic structure of an extension, which would include the JS in the header on the comment/discussion pages.
  • Yes, it would do that, as well as the server-side Ajax. Very simplistic.

    You know, this would also be really handy to notify of new posts to a discussion before you submit your comments... so you can see someone already answered a question you are writing your own answer to.
  • That is sort of what I want it for.
  • Ideally, when you click it, it would open a ThickBox/Highslide "window", box of which allow scrolling content, so you can read these new posts. That way you don't have to worry about losing your current post if you're half way through posting it.
  • I just want the page load, but I can see your point. Maybe an option.
  • Would be nice in Version 2 ;)
  • *BUMP!*

    this would be kinda cool :)
  • was anyone working on this? it would be a great addition :)
  • ...*bump* :'(

  • happy to pay for the development of this add-on :)
This discussion has been closed.