The MU forums have moved to WordPress.org

MU-Admin bar plugin customization (12 posts)

  1. Rubyducky
    Member
    Posted 17 years ago #

    Hey everyone,
    For this plugin http://wpmudevorg.wordpress.com/project/MU-Admin-Bar I would like to make it so that when a user is logged in, their dashboard links etc always point to their own blog, even if they are on a different blog that they don't admin. Any way to do this? Thanks!

  2. dsader
    Member
    Posted 17 years ago #

    Sorry for asking a dumb question but . . .

    If users are authors/editors on other blogs other than their own . . . won't that bugger them up?

  3. pumpkinslayer
    Member
    Posted 17 years ago #

    When I am logged in as admin and go to someone else's blog admin, all of the details are for their site, only the user details page points to my user information.

  4. dsader
    Member
    Posted 17 years ago #

    pumkinslayer, same here, when I log in as a SiteAdmin.

    But what if Joe Schmoe is an admin of seven of his own blogs, including his primary, a contributer to 2 others, an editor of yet another, and a subscriber to a dozen more?

    I'm suggesting a "productive" Joe Schmoe user with roles on many blogs will be handicapped if the bar only points to his primary blog. Right? Or am I still missing something?

  5. Rubyducky
    Member
    Posted 17 years ago #

    dsader,
    If they aren't an editor/contributer/etc on another blog other than their own, it shows the "logged out" bar, but I want it to show links to THEIR own dashboard etc. Any way this is possible? Thanks!

  6. dsader
    Member
    Posted 17 years ago #

    I'm trying to make something like the following work, but I'm missing something.
    global $user_level;
    if ( isset($user_level) ) {
    $blogs = get_blogs_of_user($current_user->ID);
    if ( ! empty($blogs) ) foreach ( $blogs as $blog ) {
    echo "<li><a href='http://" . $blog->domain . $blog->path . "'>" . $blog->domain . $blog->path . "</a></li>";
    }
    }

  7. kahless
    Member
    Posted 15 years ago #

    If anyone figures out how to do this I will add it to the codebase.

  8. kahless
    Member
    Posted 15 years ago #

    Also, you probably want the list of their blogs to be a drop down so it doesn't eat up the entire top of the page for someone with a lot of blogs.

  9. MazZziKa
    Member
    Posted 15 years ago #

    http://wordpress.org/extend/plugins/wordpress-admin-bar/

    Some suggestions here
    - When guest view bar ..
    * A login box appear instead of links
    * A link to next random blog appear
    - it will be great if u code a rate system to rate blogs through this bar

  10. Ovidiu
    Member
    Posted 15 years ago #

    you should really get in touch with this guy :-)
    http://www.viper007bond.com/wordpress-plugins/wordpress-admin-bar/

  11. MazZziKa
    Member
    Posted 15 years ago #

    response ///
    My plugin doesn’t (currently) “support” WPMU. It works just fine on the user’s own blog, but I haven’t set it up or designed it to show up on other blogs.

  12. Klark0
    Member
    Posted 15 years ago #

    Anybody figured this out ?

About this Topic

  • Started 17 years ago by Rubyducky
  • Latest reply from Klark0