Skip Navigation

[Resolved] User Role issue

This support ticket is created 2 years, 8 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)

This topic contains 5 replies, has 2 voices.

Last updated by siddhantB 2 years, 7 months ago.

Assisted by: Shane.

Author
Posts
#2387323

Hi Support,

I have created a post type called Tutors as you can see screenshots here- hidden link, I have made this using post form -- hidden link and I want to edit this with using custom role name-"Teacher & Booknetic Staff" as you can see in screenshot: hidden link.

Here is the login URL

What is the link to your site?

Please check & Fix this issue for me

Thanks
Sid

#2387499

Shane
Supporter

Languages: English (English )

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

Hi Sid,

Thank you for getting in touch.

If I understand correctly you want to allow users of the "Teacher & Booknetic Staff " to edit the tutors on the frontend?

Will it be a case where they will edit their own or they can edit others.

Please let me know.
Thanks,
Shane

#2388809

Hi Shane,

Yes, I want to allow users of the "Teacher & Booknetic Staff " to edit the tutors on the frontend and they can only allow to edit their profile not others.

Thanks
Sid

#2388811

Hi Shane,

Also, I want teachers to be added as users automatically when they register via post form; is it possible to do that?
Please see screenshot- hidden link

Please let me know,
Thanks
Sid

#2389213

Shane
Supporter

Languages: English (English )

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

Hi Sid,

The problem mainly is cause the authors for the Tutors are not the actual users. This means that you were the one who created the tutors so the author for the post is set to "helpbot".

To change this you will need to go to hidden link

Set the Tutors post type to be managed by access and give publish permissions to "Teacher & Booknetic Staff" and then from there you can change the authors of the post.

"Also, I want teachers to be added as users automatically when they register via post form; is it possible to do that?"

This has to be done by either directing the user to the post creation form for them to create their profile or done with custom code.

You can take a look at the thread below for some guidance on this.
https://toolset.com/forums/topic/automatic-post-creation-on-registration/#post-555275

Thanks,
Shane

#2401735

My issue is resolved now. Thank you!