Skip Navigation

[Resolved] Managing Members from front end

This support ticket is created 6 years, 1 month 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
- 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 -
- 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Noman 6 years, 1 month ago.

Assisted by: Noman.

Author
Posts
#1118101

ojM
tempsnip.png

We have created a custom parts catalog where a registered user can search for parts and request a quote once the specific part is found.
To access the site, a new user must create an account with name and company info. At this point we do not grant them access. A notification of a new user request is sent to a site admin staff that has rights to manage members. They will view the member info and decide to grant them access.

The site owner does not want the admin staff to login to the backend to manage users. We created a front end member manager page that lists existing members and new inactive members. We want the admin staff to be able to view this page and activate the new members or deactivate old members. By activate or deactivate, I mean grant, deny or disable access.
I have not found a good way to edit a member role from the front end. Currently, I have setup all new people that register to be assigned as a “Pending Member”. As a pending member, the user can not access any pages after logging in. Once the site admin staff, login to view the pending member in the front end member list they can view the new member details. At this point, I would like them to be able to change the role to “Member” which grants them access to pages.

Is there a way to edit the member role from a front-end View and CRED form?

What is the link to your site?

#1118521

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting Toolset support. Toolset allows you to create Editing forms to “edit your profile” or logged-in user’s profile: https://toolset.com/documentation/user-guides/using-editing-forms-to-edit-your-profile/

You cannot approve user signups directly from the front-end (e.g. to change the Subscriber role to a higher one). You need to do this from the WordPress admin, mentioned here:
https://toolset.com/2016/10/create-membership-site-toolset-new-tutorials-available/

It's possible to change the role using CRED API. You need to use CRED API and custom code to do that, please check here: https://toolset.com/forums/topic/change-user-role-with-cred-form/#post-450977

Thank you