Navigation überspringen

[Gelöst] User Role issue

This support ticket is created vor 3 years, 11 months. 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 -

Zeitzone des Unterstützers: America/Jamaica (GMT-05:00)

Dieses Thema enthält 5 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von siddhantB vor 3 years, 11 months.

Assistiert von: Shane.

Author
Artikel
#2387323

Hi Support,

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

Here is the login URL

What is the link to your site?

Please check & Fix this issue for me

Thanks
Sid

#2387499

Shane
Unterstützer

Sprachen: Englisch (English )

Zeitzone: 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- versteckter Link

Please let me know,
Thanks
Sid

#2389213

Shane
Unterstützer

Sprachen: Englisch (English )

Zeitzone: 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 versteckter 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!