The MU forums have moved to WordPress.org

Unique theme only a certain person. (11 posts)

  1. myobninskru
    Member
    Posted 17 years ago #

    Can I have a unique theme only a certain person?
    Thanks.

  2. myobninskru
    Member
    Posted 17 years ago #

    Here is the solution works :
    Upload theme in a folder "themes";
    Enabled this theme;
    In the user account chose this theme;
    Disabled that at the administrative account.

  3. dsader
    Member
    Posted 17 years ago #

    A fun tool is the usertheme plugin at wpmudev.org. Creates a themes folder in a users' blogs.dir folder. Unique themes for everybody!

  4. demonicume
    Member
    Posted 17 years ago #

    does the user themes plugin work yet?

  5. dsader
    Member
    Posted 17 years ago #

    I've kept mine running over a year through all upgrades. It may not be future-proof, but I don't see why I'd ever shy away from hacking it to work.

  6. mysorehead
    Member
    Posted 17 years ago #

    I have certain group blog compatible themes (the plugin is not ready to share) where designated group blogs use different (modified) themes to regular blogs. The group blogs themes are located in a folder in the mu-plugins folder. As the theme_root constant/vatiable (can't remember which) has a filter so it can be modified by a mu-plugin. Code snippet below. Obviously you would change the if statement to if user id...

    Hope this helps,
    Richard

    function rgo_group_blog_theme($thedir) {
    if ( is_group_blog() ) {
    return ABSPATH . "wp-content/mu-plugins/group_themes";
    } else {
    return $thedir;
    }
    }

    add_filter('theme_root', 'rgo_group_blog_theme');

  7. drmike
    Member
    Posted 17 years ago #

    dsader, how do you do the css?

    Are you running any sort of filtering on the files?

  8. dsader
    Member
    Posted 17 years ago #

    The files are copied by the server directly from the system themes folder. The end user can't see or upload to their themes folder. I keep the theme editor in "die" mode for users.

    Once the theme is moved to their folder, I can turn it off in the mu-admin.

    An extra perk to have a theme a user as asked for especially, that's all.

    Oh, I have no anonymous users, only students I teach. Walled garden yadayada.

    I do use Jason's Customcizer, it is a very popular tool for almost all users to tinker with their css colour values and image urls.

  9. drmike
    Member
    Posted 17 years ago #

    Oh, ok. I thought you were doing it for general use.

  10. lunabyte
    Member
    Posted 17 years ago #

    Why not just activate the theme for the individual user????

  11. dsader
    Member
    Posted 17 years ago #

    Lunabyte, the theme can further be individualized(I supervise theme editor carefully) while in their theme folder, while leaving the original copy of the theme untouched.

About this Topic

  • Started 17 years ago by myobninskru
  • Latest reply from dsader