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.
Category sticky
From what I can tell all stickys display on the categories page.
What i'd prefer though is an option to make a sticky only show in it's relevant category.
It just means you can post info that needs to stay at the top of a particular category without it permanently taking up room on the discussions page.
0
This discussion has been closed.
Comments
So they would be... normal posts?
i don't really want to start a debate as to whether i have too many stickies, i just wanted to put a request out there for an extension.
So, is it possible to make this as an extension? I've been thinking about it a lot recently, and I think the best way is to create a new "semi-sticky" label that can be applied to posts, and also create the relevant "make discussions semi-sticky" permission. (Sorry I can't think of a better name!) If a discussion is marked as semi-sticky, it will work the same way as a sticky on its category page, but will act as a normal discussion on the discussions page.
Is it possible to write an extension that can add new discussion labels? I don't know much about the inner workings of Vanilla, so I have no idea how to implement it.
Thank you, jimw
You need to attach to the DiscussionManager's PreGetDiscussionCount delegate and modify the query there similarly to how you modified it for the PreGetDiscussionList delegate.
I had to do the same thing for the CategoryHider extension here