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.
Function "Unreaded" in categories.
literky
New
Hi there!
I'm working on Vanilla Forum, and I trying to make it like other forum scripts. Most of work was easy, without any problems, but now I have it!
I need to use function for unreaded discussions, like in discussion list, but in category list. Category list is my home page, and I'd like to see some changes when in some category is new Discussion.
Something like that:
div class=category
<? {is-there-new-discussion=0{ ?> NEW <? } else { ?> READED <? } ?>
This is just example, hope you know what I mean.
Is there function like that? When no, so how to make that function?
0
Comments
This is already implemented in Vanilla; go here http://vanillaforums.org/categories and select "Mark Read" using the options drop down on any of the categories and notice how the listing changes.
Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub
Shit. You have right. Something is wrong, because on my forum I have all categories (with new posts and without) marked as Read.
Thanks I'll try to figure out what goes wrong.
Ok, Vanilla saving read categories in different way, that's why I can't get class Unread on my forum. I must see forum from another computer to get this.
Thanks, and please close this discussion
No worries, glad it worked out!
Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub