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.

Can this be set to hide some roles?

Is it possible to make this hide titles for certain roles?

Comments

  • LincLinc Detroit Admin

    You can do that with a CSS rule. Each role title has its own class you can target.

  • edited August 2014

    I need them completely hidden, not even visible in view source. (And yes I know the profile shows them, I'm prepared to disable the ability to view profiles if I have to in order to hide that.)

    Edit: I'm migrating forums for a gaming group for a game where "playing the metagame" (ie, spying on other groups) is expected, if not actively encouraged, so there are operational security concerns that wouldn't exist in a lot of installations.

  • LincLinc Detroit Admin

    Vanilla 2.2 includes the ability to mark a role as "Personal Info" for which there is a new permission. You might try looking at the master branch on GitHub and see if it's worth using a non-official version to get that. The next official version (2.3) will include it, but there is no ETA for its release yet.

  • peregrineperegrine MVP
    edited August 2014

    I'm not recommending a core change, but if one were to do it, they might comment out this line

    https://github.com/vanilla/vanilla/blob/2.1/applications/dashboard/modules/class.userinfomodule.php#L32

    or possibly change the line to
    $this->Roles = array();
    to make the Roles: say no roles.

    or you could write a plugin to re-do module I suppose.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • I might try my luck with master. (I do need to actually display SOME of the roles in the user meta on their posts though. so this is going to be interesting.)

Sign In or Register to comment.