Skip Navigation

[Resolved] Creating a user table to edit multiple roles

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user wanted to create a table where they can edit multiple user roles at the same time.

Solution:

Unfortunately this is not possible to achieve without the use of Custom codes.

You will need to use this custom code in order to set the user role on the frontend. Our views plugin can create the table, but the issue comes with setting the roles.

This support ticket is created 5 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by grahamA 5 years, 5 months ago.

Assisted by: Shane.

Author
Posts
#1261185
usertable.jpg

Tell us what you are trying to do?
Is it possible to create a user table where a manager can list their users in table view and then assign them different roles by selecting (tick boxes) in columns - please see image
Is there any documentation that you are following?
I have looked here : https://toolset.com/forums/topic/show-user-role-in-the-loop-of-users-with-views/ and have created editable users successfully but that is on a per user basis and not a multiple user edit.
Is there a similar example that we can see?
please see image
What is the link to your site?

#1261397

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Graham,

Thank you for contacting our support forum.

Unfortunately this is not possible to achieve without the use of Custom codes.

You will need to use this custom code in order to set the user role on the frontend. Our views plugin can create the table, but the issue comes with setting the roles.

Thanks,
Shane

#1272443

My issue is resolved now. Thank you!
I have sourced an external developer to custom code my requirement.