Skip to content

Allow for colouring handles of a specific group #693

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jmgasper opened this issue Jan 12, 2023 · 4 comments
Closed

Allow for colouring handles of a specific group #693

jmgasper opened this issue Jan 12, 2023 · 4 comments

Comments

@jmgasper
Copy link
Collaborator

@atelomycterus - We have a client request to be able to colour handles of users of a specific Vanilla group. This will be used for a specific set of client admins that have some restricted admin permissions on a private group.

We'd like to be able to colour their handles purple (#652385), if they are members of a chosen group. We can hard-code the group name for now.

@atelomycterus
Copy link
Collaborator

@jmgasper Please correct me if I am wrong. The challenge named 'XXX' will be created for a client.
The name of the group should be configured in the config file.
What role should the members of the challenge group have in order to colour their handles purple in Vanilla?
There are many different roles in the challenge ("Approver", "Team Captain", "Client Manager", and etc.)
I used https://api.topcoder.com/v5/resource-roles to get this list of roles.

@jmgasper
Copy link
Collaborator Author

@jmgasper Please correct me if I am wrong. The challenge named 'XXX' will be created for a client.
The name of the group should be configured in the config file.
What role should the members of the challenge group have in order to colour their handles purple in Vanilla?
There are many different roles in the challenge ("Approver", "Team Captain", "Client Manager", and etc.)
I used https://api.topcoder.com/v5/resource-roles to get this list of roles.

  1. Sorry, this will be a role, not a group, so it'll be tied to a specific role. My bad for a confusing term.
  2. I created role ColorTest in dev for us to test with
  3. In prod, the role will be MIT_6.S099 Admin

The colour can apply across the entire forums - it doesn't have to be restricted to particular categories or groups.

@atelomycterus
Copy link
Collaborator

@jmgasper Thanks for the clarification. Keep you updated on it.

@atelomycterus
Copy link
Collaborator

atelomycterus commented Jan 13, 2023

@jmgasper Please apply the PR:
#694
topcoder-platform/forums-plugins#119

Thanks!

Configuration

Please configure a role in config.php:
$Configuration['ColorizedRole']='ColorTest';

Test

image
image

@jmgasper jmgasper added this to the v1.9.6 milestone Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants