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.

Hack: ReadOnly Categories

13»

Comments

  • This actually would not be a bad extension as it would allow for the search engines to index your categories without giving unathorized members the ability to post.
  • I watched this topic for a while because I also need this feature.
    More precisely, I need 4 different, role based, category "level"; where Vanilla has 2:

    • invisible/blocked : in Vanilla
    • read-only
    • read and write comment but no "open a new discussion"
    • full access: in Vanilla

    I plan to code something similar to DShafik's patch, hide unauthorized discussion to a given user. This will not be a full fledged feature since a skilled user could probably achieve to post by tweaking client side data. Anyway the extension paradigm has some limit and it will satisfy most install around.

    At the moment my though is to use the fact that roles are ordered (the "Priority" column) and add a column to the category table to hold the two "required level" for the write and create mode.

    I'll start coding tomorow on this. I wanted to share in advance to save duplicate effort, in case some other attempt is close to release. In this latter case, I'll not take the time to package a separate extension and stick this add in my "local application tweak global extension".

    Comments welcome.
  • That's great news, I'm looking forward your extension! Your four category levels seem to cover all the useful cases, I don't see what to add (read and start a new discussion without adding comments would be rather stupid...)

    I've no technical advice since I'm no coder, but I'd be glad to help you for some testing.
  • Nice work. I'm sorry I never released my Read-only Cateogries extension. I just never got around to writing a delegate request.
This discussion has been closed.