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!
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?
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.
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?
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!
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>";
}
}
If anyone figures out how to do this I will add it to the codebase.
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.
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
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.
Klark0
Member
Posted 15 years ago #
Anybody figured this out ?