• Resolved myladeybugg

    (@myladeybugg)


    At the moment all new users are admins of their site but I would like to make them all editors or authors of their sites. I am currently using the adminimize plugin to restrict their admin abilities, but is their a way to make all new users an editor or author by default? Possibly something in the code?

    I would like to stay away from plugins if possible.

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I would like to stay away from plugins if possible.

    Then you’re out of luck.

    The correct way to do this is via plugins and in theory you can do this by filtering the roles on creation.

    You’d want to filter add_user_to_blog, based on who created the blog.

    Thread Starter myladeybugg

    (@myladeybugg)

    What plug ins would you suggest to get this done?

    Thread Starter myladeybugg

    (@myladeybugg)

    I found this thread, added the code to my mu-plugins folder in a file called user-default-roles.php, and it seems to do the trick.

    Is there any reason why doing it this way would not be ideal?

    Thread Starter myladeybugg

    (@myladeybugg)

    The one thing I find with using this is the user cannot upload a header image. The option is not available under profile.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    The one thing I find with using this is the user cannot upload a header image.

    Yeah, they won’t be able to unless they can edit theme settings. Which IIRC is admin only.

    Thread Starter myladeybugg

    (@myladeybugg)

    Yeah, they won’t be able to unless they can edit theme settings. Which IIRC is admin only.

    Ya, maybe I’ll just stick with using adminimize for now.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘All New Users Given Editor or Author Role Instead of Admin’ is closed to new replies.