The MU forums have moved to WordPress.org

Editors who can Switch Themes (By default?) (4 posts)

  1. Driftless1
    Member
    Posted 14 years ago #

    Hi all,

    Thought I would post this in case anyone is curious (since these pages have been uber-useful to me) and to see if anyone knows of a better way.

    Problem: I want the users on my MU site to have limited editorial powers (a clean admin interface is an un-intimidating one) -- basically an editor who can change themes. That's it.


    Solution:
    The only way to do this (I have found) is to hack the Database and change:

    User-meta --> Wp_XX_capabilities to:
    a:2:{s:13:"switch_themes";b:1;s:6:"editor";b:1;}

    Anyone know of a way to do this by default? I already changed the wpmu-functions file to make 'em editors by default but I want it ALL!!! (So - I'm lazy... and don't want to always have to change the DB when I register a new user...)

    Cheers!

  2. andrea_r
    Moderator
    Posted 14 years ago #

    These two in combination should do it:

    http://wpmudevorg.wordpress.com/project/default-user-role - change the user role without a hack

    http://wpmudevorg.wordpress.com/project/Menus - to restrict the menus available

  3. Driftless1
    Member
    Posted 14 years ago #

    Groovy - that's a killer combo.

    I just get nervous when I start stacking plugins on top of each other... but I'll give it a whirl.

    Does the toggle allow for one to show a menu item? Or just hide it?

    I'm thinking I'll need only it, register the users as admin, then hide everything except'n for those I wants them to see. Hmm.

  4. andrea_r
    Moderator
    Posted 14 years ago #

    "then hide everything except'n for those I wants them to see. "

    that's exactly what it does. :)

About this Topic

  • Started 14 years ago by Driftless1
  • Latest reply from andrea_r