Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product
Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.


This discussion is related to the CategoryRoles addon.


  • you want to set the second dropdown to same or higher privileged role than the first. In your case "teamPuscifer" (great name btw)
  • This did exactly what I wanted - thanks so much for this. Maybe i'm just crazy, but this should be built into the core. I can see a lot of situations where this functionality would be absolutely required!

    *edit* New Category Roles default.php file that allows for database prefixes other than "LUM" :)
  • i m sorry to bug again but i m having trouble withthis extension.
    i have this catagory: news. which i want readable only. (excpet for admins)
    so i check all the roles that i want to be able toview it.( all except the unathenticated or banned)
    then i select admin in the two drop downs.thinking ( hoping) then anyone below this cannot start a new discussion or post to the cat.
    It stops posting comments. but they ( checked roles)can still start new discussions.
    "Any user with a role below this setting is allowed to post in an existing discussion, but cannot create a new discussion in this category."
    i dont understand this part.
    i ve atempted all differnt kinds of options. what can i do?

    i know it's something im not/doing -ive searched .. i even tried to go into into the databse and understand my prefrences..but i cant seem to grasp it.
    anyones help is appreciated..again sorry and thank you.
  • @tannerc
    Did you check the roles order, in the "Roles & Permission" settings form?
    The role are sorted in ascending priority order, so the "admin" role should be BELOW the "member" role in that list.
  • Uploaded version 0.7 of CategoryRoles.
  • Uploaded version 0.7 of CategoryRoles.
  • 0.7 zip file corrected
  • I've set up a category called "Announcements" where Members are allowed to comment but not start discussions.

    If I log in as a Member and try to start a new discussion, the Announcements category is not visible in the dropdown menu. However, if I edit that dropdown menu (via Firebug, for example), and change one of the option values to the ID of the Announcements category, then I can post a new discussion without any further errors.

    I would love it if the add-on actually checked, at post time, if the user has permission to start a new discussion. While I'm still going to use it as-is (because it works cosmetically), this would be a marked security improvement.
  • I can't find this addons in vanilla 1.1.5a where put this addons?
  • Hi German friends - i've made a German translation for the CategoryRoles

    meldet euch bei mir, wenn ihr es haben wollt (that's German...)
  • Will this allow me as the Admin to limit access to certain Categories?

    If not - any suggestions on how to do this?

  • I think the 'ReadMe.txt' (main folder) and 'readme.txt' (the theme subfolder) files are out of date. Both contain references to the '/forum/theme' folder. I believe the correct path, as of Vanilla 1.1.5a, is '/themes', e.g. 'path/to/vanilla-1.1.5a/themes'.
  • Over on the Chronlogocial thread, we're having a littre problem with this add-on :
    Apparently it's one line missing in CategoryRoles template : can someone have a look ? Thanks a million...
  • Hey great extension :)

    One thing I did notice - if you start a discussion, you cannot create it in any category that you do not have access to, which is correct.

    However, once your discussion has been started, you are able to move it into any category, regardless of whether you have access to it.

  • @patrict Indeed. This bug is still here and quiet frankly it's a show stopper.
  • The problem @patrict points could be a show-stopper for me too. Unfortunately it undermines the entire purpose of this extension.

    Perhaps there is some way in \themes\panel.php around line 30 where it loops through the Key/Link items there could be a test to see what the currently logged in user's role permissions are and skip the "Move this Discussion" link so it doesn't appear under Options in the side panel. It's beyond my PHP coding abilities, but maybe someone will be inspired.

    The other thing I find confusing is, even though I uncheck "Move any discussions" in Roles & Permissions, Members are still able to move any of their own discussions. I expected this setting to prevent them from moving any discussions including their own, but unfortunately this is not the case.
Sign In or Register to comment.