Profile Role Issue

Home Forums Legacy Support Support queries Other issues Profile Role Issue

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #196294
    pablocanedoq
    Participant
    Hi, When I am going to assign the role of instructor for a user, I see that there are two roles called "Instructor". One of them works and the other does not. See image please: https://prnt.sc/mjs56i When I inspect this element, I see that they are two different roles with the same name: One that is "Instructor = Instructor" And the other one that is "Instructor = lp_teacher" Could you please tell me what is the role of "lp_teacher? See image please: https://prnt.sc/mjs3v7 I would like to know the function of this role and see how I can assign it a different name, so that it does not generate confusion. Thanks in advance.
    #196417
    Mk
    Moderator
    may be you ave installed any other plugin before. like Learn press etc. If you want to remove this role try this: Go to wp-admin -> plugins -> editor-> wplms-customizer plugin-> and add following code below in wplms-customizer.php : add_action('init',function (){  $wp_roles = new WP_Roles();  $wp_roles->remove_role("lp_teacher"); });
    #196455
    pablocanedoq
    Participant
    Thank you. I have successfully removed that repeated role following your instructions (I did it through File Zilla, because it was not allowed through the Plugin Editor directly). I did not have a plugin like Learn Press, but I had previously installed an educational theme. I thought that theme had been eliminated completely, but I can see that it is not like that. (This is going to be a headache. Any suggestions to remove traces of previous themes or plugins? And also, could you please give me the list of roles that WPLMS handles? I would like to eliminate other roles that WPLMS may not use, in order to avoid confusion in the future. I really appreciate your help.
    #196516
    Mk
    Moderator
    Well, I will suggest you to ignore the roles, Extra roles are due to plugins. If you are not using any role then its presence doesn't affect.
    User roles by wplms and woocomerce : List  
    #196607
    pablocanedoq
    Participant
    Thank you. Sorry, this last code is for me?
    #196612
    Mk
    Moderator
    I am sorry, By mistake I send you that code. please ignore.
    #196633
    pablocanedoq
    Participant
    No problem. Thanks. You may close this topic.
    #196687
    Mk
    Moderator
    Thanks for confirmation.  
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Profile Role Issue’ is closed to new replies.