Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
Discussion SuperSticky extension idea / newbie question
Hi, I'm new to Vanilla and hope to be installing it soon, and maybe writing some cool extensions for it. One extension that seems fairly simple that I'd like to write would be to allow the ability to designate a discussion as an "Announcement" -- Kind of like s Sticky but would be used less frequently and have special properties. I'd call it Super Sticky perhaps, as there is already a plugin called announcements. Basically, Super Stickies would sit above Stickies in their category. They could be blocked from the main discussion page with the David plug-in. And...they would (optionally) display in the panel. My thinking: My current boards have several stickies in every category which makes the front discussion page useless. David cures that problem by removing stickies from the front page, which is great. However, there are some stickies that I do want visitors to see on the main page. This will especially be important because I'm migrating a phpBB community and there is likely to be some culture shock when they see the new forums. An announcement on the top-left of every page that lead to a "getting acquainted with Vanilla" topic would be just the thing. So...first question is...Is there a way to pin a specific topic to the side panel for all users already? (I saw the Announcement extension, but that seems to provide only a one-line announcement) The more technical question: If I write this, my impulse would be to expand the Sticky field type in the database from enum(0, 1) to enum (0,1,2) on install. Does this seem like a terrible idea? Is tampering with the main vanilla tables poor form in developing extensions? I suppose there's an obvious risk if the core developers decide to alter the use of the Sticky field themselves. I could add a table to hold the announcement status, but this seems like it would make the plugin a lot more convoluted. Any advice for a newbie?
This discussion has been closed.