• tianbo84

    (@tianbo84)


    Hi there just had a question about user roles.

    I want to allow users to choose from different roles. I am using Role Manager to create the roles.

    Is it possible to create a drop down menu in the registration that would allow users to pick a role…? Or would it make more sense to allow the user to change their role after registration with something like below?

    <?php get_userdata($userid);
          $userlev = $user_info->user_level;
          echo $userlev; //displays user current level
    
    update_usermeta($userid,'user_level',$newlevel); //use this to change user level/role???
    ?>

    Is there a tag/codex to change the user role, as this would only change the level?

    Thanks guys for any help!

    TC

Viewing 3 replies - 1 through 3 (of 3 total)
  • scdwb

    (@scdwb)

    I really need to know how to do this, so if anyone can help us else that would be great.

    Or did you solve this tianbo84? If you did, please tell us how ??

    Thanks in advance

    Again,
    I am also looking for this option ….

    Hi,

    Any luck with this?

    I have been searching for a while but no answer, im sure there has to be one out there.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Allow user to choose/change role/level’ is closed to new replies.