Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Show unread discussions only

edited August 2011 in Vanilla 2.0 - 2.8
Is there a way to add a button to the Discussion Tab to only show the unread discussions? Now there are buttons for 'All Discussions', 'My Bookmarks' and 'My Discussions', but I want to have a button there to filter on unread discussions.

How is this possible?

Answers

  • Are you a coder yourself or are you someone who dumps a question and awaits the results? (or in between?)
  • I am a coder, but rather new to Vanilla. So I could really use some pointers here
  • UnderDogUnderDog MVP
    edited August 2011
    Ok, perfect, I knew it, but I had to make sure.
    Start with adding a tab (button) to the row of buttons that's already there:
    * All Discussions
    * My Bookmarks
    * My Discussions
    * Unanswered (or Unread)
    (that's what you mean, correct?) It's in the templates somewhere (I can't look at the moment, where exactly).
    Look (grep in linux) for "My Discussions" in all files and folders and you will find the right file.
    You will see that "My Discussions" will point to :
    /discussions/mine
    and on the main forum site the Unread discussions point to :
    /discussions/unanswered (but you can call it what you want)
    Let us know when you've managed to do the above.
Sign In or Register to comment.