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.

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?

Comments

  • KasperKasper Scholar of the Bits Copenhagen Vanilla Staff

    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

  • literkyliterky New
    edited January 2013

    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 :)

  • KasperKasper Scholar of the Bits Copenhagen Vanilla Staff

    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

Sign In or Register to comment.