WordPress Admin Bar

Description:

This plugin creates an admin bar at the top of your site for logged in users (i.e. you) based on the design of the admin bar located at WordPress.com. It has links to all popular areas of the admin area, saving you time.

It requires no theme editing whatsoever — just upload and activate and you’re done.

Download:

  • Download from WordPress.org (click me to obtain stats downloads total)

Adding Custom Themes:

If you’re the author of a WordPress theme or just otherwise wish to add an custom admin bar theme of your own, please check out this plugin’s theme API.

Screenshots:

Frequently Asked Questions

Q: Some plugins don’t show up in the admin bar. What gives?
A: The author of the problematic plugin has a is_admin() test when creating their admin menu which means that if you’re outside of the admin area, their plugin won’t register it’s admin menu. Therefore it of course won’t show up in my admin bar. Contact them and ask them to remove the is_admin() test (or do it yourself).

325 Comments On This Page

  1. OK, it does look pretty. Infact WP needs something like this by default, it might as well be yours.

  2. Another Viper007Bond plugin for my site :)

    Please keep up the work, this is well appreciated!

    Thanks!

  3. Updated to v1.0.1. :)

  4. Hello,

    Neat plugin, very comfortable. Thanks.

    What license is this plugin released under? I didn’t see any mention of copyright in the README.

    Presuming that it is released under a GPL compatible license, I’ll share my little patch with you. The patch adds an Akismet Spam entry to the Manage menu if the Akismet plugin is activated.

    The patch is available here: http://www.thewildbeast.co.uk/wordpress_patches/wpcom_adminbar-akismet.patch

    Best regards

    Paul

  5. Paul on September 22nd, 2006 at 9:39 PM wrote:

    The patch adds an Akismet Spam entry to the Manage menu if the Akismet plugin is activated.

    Good thinking, Paul. I totally forgot about Akismet. I’ll add it in. :)

  6. Okay, updated to version 1.0.2 with support for more plugins, including Akismet.

  7. Excellent admin bar, saves me alot of time when editing pages / changing options. Thanks Viper.

  8. Version 1.0.3 released. No need to upgrade unless you use Democracy or WordPress v2.1.

  9. I use the WP-ShortStat plugin, the WP-ShortStat page is a sub-page of Dashboard, so I hacked your code again to add support for it – always having to load the Dashboard seemed far too slow now that I was able to access all the other sub-pages so quickly and easily.

    You can find the patch here: http://www.thewildbeast.co.uk/wordpress_patches/wpcom_adminbar-WPshortstat.patch

    The patch is against version 1.0.3.

  10. Thanks Paul. I’m glad to add support for any plugin in which you’d need to access to from your main site. :)

  11. Mine doesn’t look the way it should. Everything’s pushed off to the right so one link is hidden behind the search box and I can’t click on all of the links in the pull down menus. HELP!!

  12. Sharon J on October 25th, 2006 at 8:15 AM wrote:

    Mine doesn’t look the way it should. Everything’s pushed off to the right so one link is hidden behind the search box and I can’t click on all of the links in the pull down menus. HELP!!

    Can you make me an account so I can login and see? It doesn’t have to be an account that can do anything, I just need to be able to login. E-mail me the details via my “Contact” link above. ;)

  13. hi, i cant get it work even though it has in it’s footer.php file. any help?

  14. duong nguyen on November 26th, 2006 at 4:17 AM wrote:

    hi, i cant get it work even though it has in it’s footer.php file. any help?

    I assume you’re logged in? Have you looked at the source of your page? Does the HTML for the admin bar show up near the bottom of the source (it’ll be rather apparent)?

    If it’s still not working, try temporarily switching to the default theme to see if it works.

  15. It shows the HTML code, and the admin bar is showing at the end of the page. You can see it here. Thanks 4 helping.

  16. Sorry this is the right link

  17. Both of those are 403 for me, but it appears that you did not upload the plugin correctly as the URL where it should be is 404.

    You need to keep it in a folder and all the files and folders inside it. It’s displaying at the bottom because it can’t load the CSS stylesheet that makes it appear at the top of your page.

  18. You were right, all I need to do was to change the folder’s name to “wpcom_adminbar” and it works perfectly. Thanks a lot for this great plug in.

  19. This plugin would be much more mobile and usable on varying Wordpress installations if it utilized the same (or similar) hooks found in wp-admin/menu-header.php for building the adminmenu and submenu hierarchy. This would prevent manual additions and alterations to the wpcom_adminbar function based on each Wordpress installation and it’s installed plugins…

  20. That’s actually a really good idea. Can’t believe I didn’t think of that. lol

  21. Just thought you would like to know that-for some reason-doesn’t work with the Sunburn (http://fightingfriends.com/sunburn/) theme. Doesn’t even appear in the sourceAh well, back to the default heme. The plugin is worth it. :)

    Cheers!
    Lanval

  22. lanval on December 26th, 2006 at 5:49 AM wrote:

    Just thought you would like to know that-for some reason-doesn’t work with the Sunburn (http://fightingfriends.com/sunburn/) theme. Doesn’t even appear in the source

    The theme is probably missing wp_footer(); from it’s footer.php which is the hook this plugin uses to output the bar. Just add it in if it doesn’t have it. :)

  23. Hello again Viper007Bond,

    I have another patch for your wpcom_adminbar plugin.
    It’s a bundled patch which does the following things:

    * fix Akismet Spam entry

    The function name changed in Akismet somewhere around version
    1.8. The patch adds a check for the new function name, at the same time keeping the old check in place.

    * add Links menu with submenu items
    Useful for me.

    * add support for the wpShortStat and wpStats plugins

    WP-ShortStat: http://dev.wp-plugins.org/wiki/wp-shortstat
    wpStats: http://www.biggleszx.com/category/wordpress/

    The patch is available from here:
    http://www.thewildbeast.co.uk/wordpress_patches/wpcom_adminbar-...

    regards,
    Paul

  24. Sorry, but this plugin is way back on my list of things to update. ;)

  25. Paul on January 24th, 2007 at 5:47 AM wrote:

    Sorry, but this plugin is way back on my list of things to update. ;)

    Not a problem for me — I can patch it to make it do what I want it to do. OTOH, (thinking aloud here), if you want to hand over the development of the plugin, then perhaps I’d be interested in that.

  26. I’m not ready to give up development of it quite yet. It’s just that I have a few plugins I need to update to work with 2.1 first as well as paid work. ;)

  27. I upgraded my WordPress installation to version 2.1, and so hacked wpcom_adminbar to support WordPress 2.1 (and only WordPress 2.1), primarily for my own use. But, I’m lettting you know just because it may save you some time when you do the update yourself.

    This patch adds support for the WP-ShortStat and wpStats plugins, modifies the menu layout and names to match those found in WP 2.1, adds the ‘Blogroll’ menu and submenu items, and fixes the Akismet Spam menu entry.

    The patch is here wpcom_adminbar_for_WordPress2.1_plus_extra_plugin_support.patch

    For the convenience of the other users who have upgraded to WP 2.1, who are as impatient as me, and are not able to apply a patch, I’ve created a zip archive of my modified version. Lest you think that I’m stepping on your toes too much with making a modified version available, I’d like to stress that this is announced nowhere but here. I’ll remove it from my server if you are not happy about a modified version floating around.

    Download here: wpcom_adminbar-1.0.3-twb.zip

    Many thanks for your plugin.
    regards
    Paul

  28. No, that’s fine. I’m the first to admit I’m too busy. ;)

  29. What would I need to edit to get this plugin to load on my blog even when I’m not logged on Viper?

    EDIT: Nevermind, found it.

  30. This plugin breaks the lightbox plugin apparently. I’ve enabled it and lightbox is no longer working :(

  31. Sorry for flooding your comments Viper, but it looks like I was wrong about your plugin breaking lightbox. The only peculiar thing that I have noticed is that on some sites, particularly where other javascript effects are in place, this plugin causes the page to scroll in a very peculiar way. Take a look at http://burhan.hadithuna.com when you get the chance.

    Thanks again for this excellent piece of work. I love it!

  32. this plugin does not work with WordPress v1.5.x??

  33. rolety on September 24th, 2007 at 10:23 AM wrote:

    this plugin does not work with WordPress v1.5.x??

    No, it doesn’t. You shouldn’t be using such an old version anyway as it’s insecure and likely to get hacked.

  34. Hi. I’m planing to upgrade my WP from 2.2.3 to 2.3
    Does this Admin Bar plugin works correct with 2.3 version?
    TIA.

  35. It does as it uses the WordPress API.

  36. thanks for the plugin!

  37. very useful plugin, thanks!

  38. This plugin has been completely recoded from the ground up and the new version is available on WordPress.org. :)

  39. Very nicely done Viper. I love the fact that you made it very easy to be used on WPMU just by flipping the $folder variable

  40. David Cohen on December 4th, 2007 at 10:03 AM wrote:

    Very nicely done Viper. I love the fact that you made it very easy to be used on WPMU just by flipping the $folder variable

    Heh, that wasn’t my intention, just a nice unintended side effect. :D

  41. The new version is great! Would it be possible to have the admin bar appear on the admin pages as well??

  42. Viper,

    Excellent plugin. The only problem I have is when I look at my site with IE, the bar shows up below the footer of the site. Which isn’t necessarily a problem because I use FireFox but some of my other authors still use IE. Just need to know if there is something I need to do to fix this.

    Again, excellent plugin and thanks.

    n8

  43. Hi. Great plugin… so much easier now… shame you can’t replace the dashboard completely with it, or at least have it there alongside the dashboard.. anyhow I digress so soon.

    It seems that some plugin authors put their config panels on the top level, but this plugin does not detect them, 2 that I have cound, podpress and CyStats. The first is not really a biggy, but the stats page is so nice to have.

    I have hand cranked a hard code in but any help much appreciated.

  44. Nigel Kane on December 17th, 2007 at 5:51 PM wrote:

    It seems that some plugin authors put their config panels on the top level, but this plugin does not detect them

    You need to contact the authors of those plugins then. My plugin supports additional top level menus and displays them correctly, if done right.

    Refer them to this page on the WP Codex.

  45. Nate on December 6th, 2007 at 10:17 AM wrote:

    The only problem I have is when I look at my site with IE, the bar shows up below the footer of the site.

    Must be an issue with your site or something. It works fine for me in IE7 with the default theme.

    Manne on December 6th, 2007 at 2:03 AM wrote:

    The new version is great! Would it be possible to have the admin bar appear on the admin pages as well??

    I’ll release 2.0.1 right now that has this as an option. Just edit the plugin’s file and uncomment the two hooks.

  46. Great news Viper, I downloaded the new version but can’t find the hooks to uncomment. Where are they?

  47. Forget the last comment, I found it!

  48. HI, I just downloaded the latest version and my issue with added plugins not appearing on the menu has taken an interesting turn, they still does not appear on the menu when on the standard site and appear twice when on an admin page (but only once on the dashboard menu). Is this still an issue with the way both the other plugins are inserting their menus?

    One other thing: can we get an option to add the menu or not in the admin section (or default to on – removing the dashboard one), or else the upgrade path will be problematic if I have to remember anything past a couple of hours ago?

    This is still a cool plugin though :)

  49. Oh, for info I have checked both the plugins I am using (CyStats and podPress) and they are both using the add_menu_page() function correctly:

    add_menu_page('CyStats Statistics Plugin', 'CyStats', 8, __FILE__, 'cystats_admin_index');
    ...
    add_menu_page('podPress', 'podPress', $permission_needed, 'podpress/'.$starting_point.'.php');

  50. Sorry for the comment spamming, but I´ve just tried out the new version (with the hooks uncommented) on three different Wp installs (wp 2.1.5, wp 2.2 and wpmu 1.2) and the admin bar does not show up on the admin pages. There is a white space on top were it should be, but that´s it. On the public pages it works as expected.

  51. Ah ha. You are right, the plugins do not call the admin stuff in the right place. I have passed this on to the authors.

    I think there is still a bug in the menu bar code in that about line 59 of wordpress-admin-bar.php where you include the menu stuff, you should exclude this if you are on an admin page because it has already been called by wordpress and the second call adds everything a second time.

    if(!is_admin()) { // added to exclude being called twice in admin mode
    include( ABSPATH . ‘wp-admin/menu.php’ );
    }

    Thanks

  52. Fixed in 2.0.2. Thanks.

  53. Manne on December 22nd, 2007 at 1:00 PM wrote:

    Fixed in 2.0.2. Thanks.

    Great, when will 2.0.2 be released?

  54. Manne on December 22nd, 2007 at 1:00 PM wrote:

    Great, when will 2.0.2 be released?

    As soon as WordPress.org updates. Seems it’s been having issues lately.

  55. I LOVE this plugin. Unfortunately, when I use it in the admin area, in the write post area, it throws the textarea into disarray. Same with the plugin editor textarea (which I noticed when I recommented those two lines in the plugin). I’m using Firefox 2 on a mac with WP 2.3.2.

    Like I said, LOVE this plugin. Drop down menus for the admin area should be part of the core.

  56. Thanks for a great Plugin! Just one note/bug: It interferes with the Flash Cortex Plugin. Vids won´t show up anymore, when the admin bar is active. Would be really great if this could be fixed, cos until then i fear i have to de-activate the admin bar..

  57. Pretty awesome plugin! One thing, though, you might want to put a stupidly high z-index in the css, like 2000, to make sure that the admin bar opens up over everything else on the page. The Freshy theme, for example, has it’s header image at a z-index of 200 because of the way it handles the custom headers, I believe.

  58. Another issue, which is small since it only affects admins and not surfers, is a Warning on the bottom of the page. I narrowed it down to the admin bar plugin out of all of mine.

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'Array' was given in /home/citronix/public_html/wp/wp-includes/plugin.php on line 164

  59. fuzz on February 2nd, 2008 at 1:07 AM wrote:

    Another issue, which is small since it only affects admins and not surfers, is a Warning on the bottom of the page. I narrowed it down to the admin bar plugin out of all of mine.

    You sure that’s my plugin causing the problem? It’s the only one activated and it goes away when my plugin is deactivated?

    I have errors showing on my WP 2.5 dev blog and all I got was notices (which I just now fixed) and no warnings.

  60. I went through my plugins enabling/disabling them one by one, and Admin Bar was the one responsible for that Warning on the bottom of the page. That, and the fact that it doesn’t appear when I’m logged out seems to indicate an element that is only active when I’m logged in, such as the admin bar.

  61. fuzz on February 2nd, 2008 at 9:30 AM wrote:

    I went through my plugins enabling/disabling them one by one, and Admin Bar was the one responsible for that Warning on the bottom of the page. That, and the fact that it doesn’t appear when I’m logged out seems to indicate an element that is only active when I’m logged in, such as the admin bar.

    Must be a bug in WordPress then that gets fixed in 2.5 then. *shrug*

    And you shouldn’t have PHP warnings on anyway in a non-development environment. ;)

  62. Great plugin. I use it for a group site so users can manage their profile’s and moderate posts and comments easily.

    Thanks for the great implementation. No errors or plugin problems ever for me.

  63. OK. Maybe I spoke too soon.

    I did notice *one* little issue: performance is erratic when viewing a site with Admin Bar enabled using the Flock browser on Mac OS X. Anybody else notice this?

    Granted, Flock has a pretty minor user base. Our site has never had a visitor using Flock (except myself), so I’m not worried. But thought the developer might be curious.

    Thanks!

  64. Very useful plugin.

  65. Hope to see this updated to compatability with WP 2.5.

  66. Pablo DiCiacco on March 20th, 2008 at 9:04 PM wrote:

    Hope to see this updated to compatability with WP 2.5.

    No updating required. I’m using it on WordPress 2.5 as we speak. :)

  67. I am trying the plugin but see no change in the admin panel at all? What am I missing?

  68. mike on March 31st, 2008 at 10:15 AM wrote:

    I am trying the plugin but see no change in the admin panel at all? What am I missing?

    Never mind… I am stupid. Figured it out. ::embarassed::

    Works great!!!

  69. I have the plugin installed and activated on 2.5 but all it’s doing its loading in the CSS file. The php for the menu never gets processed and the Javascript never gets loaded. It’s not even showing the Javascript when I view source. Any thoughts?

  70. Dan Diemer on April 3rd, 2008 at 10:08 AM wrote:

    I have the plugin installed and activated on 2.5 but all it’s doing its loading in the CSS file. The php for the menu never gets processed and the Javascript never gets loaded. It’s not even showing the Javascript when I view source. Any thoughts?

    Do you have <?php wp_footer(); ?> in your theme’s footer.php?

  71. I love this plugin! It is very useful, but limited: how can I have it appear also in an admin-page? Thanks!

  72. It would be good if there were a plugin option page that allowed to to select whether it was visible in either blog or admin mode, instead of hacking the code and reading the comments… every time I upgrade, I gotta remember to do it :)

  73. Sammy123 on April 5th, 2008 at 2:59 AM wrote:

    I love this plugin! It is very useful, but limited: how can I have it appear also in an admin-page? Thanks!

    Edit the plugin and uncomment lines 34 and 35.

    Nigel on April 5th, 2008 at 3:09 AM wrote:

    It would be good if there were a plugin option page that allowed to to select whether it was visible in either blog or admin mode, instead of hacking the code and reading the comments… every time I upgrade, I gotta remember to do it :)

    It’s not a hard fix and it’s not like I release a new version every week. ;)

    But yes, eventually I plan on adding an options page for removing specific items as well as a toggle for the admin area. I just have higher priorities and the plugin works fine without it, that’s all.

  74. That worked like a charm! Now, if only I could customize what shows for admins vs. contributors… Thanks!

  75. There is a major problem. With your plugin, I can’t see the blinking cursor (i.e. the “|” that blinks that shows your positions in a textarea or searchbox, where to type). Users can’t really edit their posts or comments if they can’t see this cursor.

  76. Sammy123 on April 5th, 2008 at 4:22 AM wrote:

    That worked like a charm! Now, if only I could customize what shows for admins vs. contributors… Thanks!

    It’ll only show items that the user has access to (or at least it should).

    Sammy123 on April 5th, 2008 at 6:46 AM wrote:

    There is a major problem. With your plugin, I can’t see the blinking cursor (i.e. the “|” that blinks that shows your positions in a textarea or searchbox, where to type). Users can’t really edit their posts or comments if they can’t see this cursor.

    Ugh, I thought I fixed that. It’s a CSS layering issue. The cursor blinks fine farther down the page if you scroll up, assuming you have a decent sized monitor.

    I’ll see if I can fix it.

  77. Viper007Bond on April 5th, 2008 at 6:11 PM wrote:

    I’ll see if I can fix it.

    Found the problem. Releasing a new version.

  78. Thanks Viper007Bond for the quick fix! Works like a charm… maybe, somehow in the future you can retain the ability to scroll with the menu and still have blinking cursor work…

    Also, perhaps, in a future version, a link to the actual site i.e., “Visit Site”, may make sense. THANKS! I love this plugin….

  79. I spoke too soon… I have a Flash header (as many sites do), but the drop-down menu is behind it so I can’t see all the options. Confirmed in FireFox and Internet Explorer.

  80. sammy123 on April 5th, 2008 at 9:59 PM wrote:

    Thanks Viper007Bond for the quick fix! Works like a charm… maybe, somehow in the future you can retain the ability to scroll with the menu and still have blinking cursor work…

    Yeah, shame that had to go, but oh well.

    sammy123 on April 5th, 2008 at 9:59 PM wrote:

    Also, perhaps, in a future version, a link to the actual site i.e., “Visit Site”, may make sense. THANKS! I love this plugin….

    Huh? You’re already on the site, why do you need a link to it? And if you’re using it in your admin area, you can click the existing one, can’t you?

    sammy123 on April 5th, 2008 at 10:02 PM wrote:

    I spoke too soon… I have a Flash header (as many sites do), but the drop-down menu is behind it so I can’t see all the options. Confirmed in FireFox and Internet Explorer.

    99% sure there’s nothing I can do about that from my end. You have to set “wmode” to “transparent” on the Flash file.

  81. I took care of the Flash issue, it was entirely on my side.

    However, the “Edit Post” feature in your plugin seems faulty. When I browse a post as admin and click on it, it always takes me to a different post. I tried in all browsers and across many posts.

  82. sammy123 on April 6th, 2008 at 1:48 PM wrote:

    However, the “Edit Post” feature in your plugin seems faulty. When I browse a post as admin and click on it, it always takes me to a different post. I tried in all browsers and across many posts.

    You have a second loop, like “latest posts”, in your sidebar, don’t you? This is causing the problem. It shows an edit link to the last post to be displayed.

    I couldn’t think of a solution until right this second. I’ll go play around with my code and see if I can get it to work.

  83. Great plugin. I appreciate that I can right-click from the drop-down menu, and open the new page in another browser tab. However, I deal with many plugins, and thus I have a long list of options in the “settings” listing. It’s almost full and I wonder and your plugin will deal with that, after I add two or three more plugins…
    Thanks…
    Chris Masse

  84. Chris Masse on April 7th, 2008 at 7:58 AM wrote:

    It’s almost full and I wonder and your plugin will deal with that, after I add two or three more plugins…

    I’d imagine it’ll probably just keep going off your screen. I don’t think there’s any other way short of manually making a new column after X rows and that wouldn’t be the best solution for everyone (mainly me as I run 1920×1200, heh).

    Since my planned options page for this plugin hasn’t been coded up yet, a short-term fix is to throw together a mini-plugin for yourself to modify the list.

    Here’s some example code: http://viper007bond.pastebin.com/f75b791b7

  85. Weird… I don’t see “Bad Behavior” in my “Settings” list… Do you?…
    Thanks,
    Chris Masse

  86. Chris Masse on April 9th, 2008 at 3:33 PM wrote:

    Weird… I don’t see “Bad Behavior” in my “Settings” list… Do you?…
    Thanks,
    Chris Masse

    I don’t use Bad Behavior anymore. Too many false positives.

    And if it’s not showing up, then that’s a BB issue (adding the menu incorrectly or something). Nothing I can do about it.

  87. Viper,
    Thanks for your reply.
    1. Yes, too many false positives. Out of curiosity, which anti-spam plugin are you using, then?
    2. OK, I’ll contact “Bad Behavior”.
    3. For your information, I am also using another admin menu plugin (”Lighter Admin Drop Menus”), and this one has “Bad Behavior” listed.
    Have a great day,
    Chris Masse

  88. Chris Masse on April 10th, 2008 at 1:17 AM wrote:

    1. Yes, too many false positives. Out of curiosity, which anti-spam plugin are you using, then?

    Just Defensio.

    Chris Masse on April 10th, 2008 at 1:17 AM wrote:

    3. For your information, I am also using another admin menu plugin (”Lighter Admin Drop Menus”), and this one has “Bad Behavior” listed.

    That’s because that plugin is in your admin area. BB has code that makes it only register it’s options page when you’re in the admin area.

  89. I would recommend a small update to the CSS:

    body {
    padding-top: 29px !important;
    background-position: 0px 29px;
    }

    This will take care of the background position as well.

  90. Andrei Neculau on April 11th, 2008 at 2:54 AM wrote:

    I would recommend a small update to the CSS:

    The problem with that is some themes, like the one in use on this site, use a fixed background image. If I bump down the background image, it will stay bumped down even if I scroll the page.

    So I decided to leave that out as the majority of users who will see the admin bar will be owners of the site not random users who would care.

  91. Hi,

    I noticed that for some plugins like StatPress which have additional parameters in their menu item URLs, the admin bar will create invalid (X)HTML. This is not relevant for visitors of course, but it gave me 10 validation errors which make looking for those errors that are visible to visitors a bit harder. You can fix it by simply replacing $this->adminurl . $url with htmlspecialchars($this->adminurl . $url) in line 133 of the php file.

    Cheers,
    Robert

  92. Hi Viper,

    I am a big fan of the plugin. I have detected two issues with it, but I cannot decide if it is a theme conflict or something else. They definitely go away if I am not logged in.

    First, if one tries to go to an individual comment at the end of a long thread, the page will not drop you to the correct comment, rather at some comment further up in the thread. I suspect that this thread would have enough comments to display the issue if you tried to get to the end of the thread.

    Second, if I have a flash video embedded in a post, as I scroll down the video appears to go invisible at a fixed point on the screen. The result is that as I scroll down, the video appears to drop behind a hidden horizontal line.

    Neither of these seems to affect a regular user, just a user logged in while the admin bar is present.

    Any suggestions would be appreciated.

  93. LiberalGeek on April 18th, 2008 at 11:40 AM wrote:

    First, if one tries to go to an individual comment at the end of a long thread, the page will not drop you to the correct comment, rather at some comment further up in the thread.

    No problems here with that. Occasionally it’ll be higher on the page, but that’s just Firefox screwing up (like scrolling, then some content loading or whatever).

    LiberalGeek on April 18th, 2008 at 11:40 AM wrote:

    Second, if I have a flash video embedded in a post, as I scroll down the video appears to go invisible at a fixed point on the screen. The result is that as I scroll down, the video appears to drop behind a hidden horizontal line.

    Are you running the latest version? I fixed that a while ago. If it’s still happening, then you need to set “wmode” to “transparent” on the Flash video.

  94. Is there any hope that this will be ported to Wordpress MU? Not as a user enabled plguin, but as a global plugin?

  95. Paradox on April 24th, 2008 at 8:44 PM wrote:

    Is there any hope that this will be ported to Wordpress MU? Not as a user enabled plguin, but as a global plugin?

    It works just fine on WPMU. I personally have it installed on a client’s site.

    Just dump it directly into the mu-plugins folder (keep the subfolder intact though) and then change the $folder variable at the top of the plugin.

    I’ll probably eventually make it automatic, but for now, that’ll do.

  96. Hmm, i enabled it on my site, yet i get no bar, even though i am logged in

  97. Paradox on April 25th, 2008 at 8:21 PM wrote:

    Hmm, i enabled it on my site, yet i get no bar, even though i am logged in

    Your theme is probably lacking the needed hooks.

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

    It needs wp_head() in the header and wp_footer() in the footer.

  98. Its based off of K2, but heavily modified, and it has both tags. wp_head() is in the head section of the html, if that makes a difference.

  99. Paradox on April 25th, 2008 at 8:59 PM wrote:

    Its based off of K2, but heavily modified, and it has both tags. wp_head() is in the head section of the html, if that makes a difference.

    Then it should work fine. Check the HTML source and look for my plugin’s CSS in the header and the plugin’s HTML in the footer.

  100. I looked in both areas of the generated source, and saw nothing. The $folder is set to /wp-content/mu-plugins/wordpress-admin-bar, and that is the installation location

  101. Paradox on April 27th, 2008 at 12:35 PM wrote:

    I looked in both areas of the generated source, and saw nothing. The $folder is set to /wp-content/mu-plugins/wordpress-admin-bar, and that is the installation location

    WPMU won’t load up plugins located in subfolders. Move all the files from “wordpress-admin-bar” to “mu-plugins” and then set $folder to “/wp-content/mu-plugins”.

  102. That did the trick.

  103. Hi

    Great plugin. To work as I wanted it in both Site and Admin view I had to make the following modifications to control screen content with some JS. Let me know if this functionality was build in and I missed it?

    —— Code ——-

    // Format the comments in moderation count in WP 2.5+ a little better

    function ModeratedComments( $menu ) {

    if ( stristr( $menu[20][0], ‘count-0′ ) ) return $menu;

    $menu[20][0] = str_replace(

    array( “<span id=’awaiting-mod’ class=’count-”, ” ),

    array( “(<span id=’awaiting-mod’ title=’” . __(’Moderated comments count’) . “‘ class=’count-”, ‘)’),

    $menu[20][0]

    );

    return $menu;

    }

    }

    // Added by Chris Pike to hide elements of the screen contents (Part 1 of 2) – 6th May 2008

    function wp_adminmenu_js($menu = ”) {

    echo <<<JS

    JS;

    }

    // end of Chris Pike Addition (Part 1 of 2)

    // Start this plugin once all other files and plugins are fully loaded

    add_action( ‘plugins_loaded’, create_function( ”, ‘global $WPAdminBar; $WPAdminBar = new WPAdminBar();’ ) );

    // Added by Chris Pike to hide elements of the screen contents if you are Admin (Part 2 of 2) – 6th May 2008

    if (is_admin()) {

    add_action(’init’, create_function(”, ‘wp_enqueue_script(”jquery”);’));

    // end of Chris Pike Addition (Part 2 of 2)

    }

  104. Chris on May 6th, 2008 at 1:22 PM wrote:

    Let me know if this functionality was build in and I missed it?

    Yeah, it is. You coulda saved yourself a lotta trouble. Lines 34 and 35 are two commented out hooks that’ll make the admin bar show up in your admin area. ;)

    It doesn’t hide the new menus that were added in 2.5, but some more CSS will handle that.

  105. My added code purely deals with the built in content of user_info, dashboard, admin.

    In my first post I failed to post correctly and some code was lost, I do use your code at lines 34 and 35. Here goes again, I hope:


    // Added by Chris Pike to hide elements of the screen contents (Part 1 of 2) - 6th May 2008

    function wp_adminmenu_js($menu = '') {

    echo <<<JS

    JS;

    }

    // end of Chris Pike Addition (Part 1 of 2)

    // Start this plugin once all other files and plugins are fully loaded

    add_action( 'plugins_loaded', create_function( '', 'global $WPAdminBar; $WPAdminBar = new WPAdminBar();' ) );

    // Added by Chris Pike to hide elements of the screen contents if you are Admin (Part 2 of 2) - 6th May 2008

    if (is_admin()) {

    add_action('init', create_function('', 'wp_enqueue_script("jquery");'));

    // end of Chris Pike Addition (Part 2 of 2)

    }

  106. Let’s not use the comments area for complex, multi-response conversations. I have forums for that. ;)

    http://www.viper007bond.com/wordpress-plugins/forums/viewforum.php?id=25

  107. This new version is over the top. Thank you for taking the time to bring this to the community!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  108. mike on June 11th, 2008 at 6:13 AM wrote:

    This new version is over the top. Thank you for taking the time to bring this to the community!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Glad you like it! :)

  109. You know I like this plug-in a lot, my only thing about the the including of themes is this; I would like to see an easy to add new themes…

    Here are two of my modified themes on my blogs here (v2.0.5) and here (v3.0.0)

    P.S. I would also like the option to remove the log off from the bar.

  110. Awesome this new version is just awesome, I love the gray theme!

  111. Some plugin options don’t appear in the menu generated by your plugin. E-mail me privately if you want the details; I could send you info.

  112. Blaenk Denum on June 11th, 2008 at 1:48 PM wrote:

    Awesome this new version is just awesome, I love the gray theme!

    Thank WordPress.com for that one. I stole it off them as I did the classic blue one before, hehe. :P

    Chris Masse on June 11th, 2008 at 3:03 PM wrote:

    Some plugin options don’t appear in the menu generated by your plugin. E-mail me privately if you want the details; I could send you info.

    Don’t bother, I can tell you the problem right now — it’s the other plugins’ faults. They most likely are not registering their menus at all times, rather only in the admin area. For example, they are probably doing if ( is_admin() ) { ... before they register their menu(s).

    There’s nothing I can do to work around it as it’s their plugin that needs to register the menu. Contact the authors of the plugins and tell them to have their plugins always register their menus regardless of whether it’s in the admin area or not and that should fix the problem. :)

  113. Whoops, accidentally deleted someone’s comment about themes (clicked “Delete” instead of “Approve”). If that was your comment, please post it again. Sorry.

  114. That would be my comment you deleted heh XD I don’t rember exactly what I said but here is what I can remember:
    Anyway I would like to know if there is an easier to add new Admin bar themes. The way I did it was to edit the php file and add a new folder (/wordpress-admin-bar/themes/custom1)and copy then modify the css file from another admin-bar theme.

    Also I noticed while debugging that if I log in as a subscriber (maybe other user levels) that it gives my the option to change admin-bar settings in the admin-bar but if I click on it it tells me “You do not have sufficient permissions to access this page.”

    I realized after I posted my comment and did not see it show up that because I posted two URLs my comment would get get sent for moderation. I hope I explained this well if not email me at trm96@trm96.com

  115. trm96 on June 11th, 2008 at 9:34 PM wrote:

    Anyway I would like to know if there is an easier to add new Admin bar themes.

    lol, there’s much easier ways. I made sure to include an API and a filter. No need to edit anything inside this plugin’s folder.

    For theme developers, you just call a function (details here), but that’s if your CSS file and images are inside your current theme folder (i.e. if you want to distribute a WP Admin Bar theme with your WP theme).

    Otherwise (i.e. adding a theme via another plugin) you’ll need to modify the themes array via the “wpabar_themes” filter. An example plugin can be found right here.

    As for the not being able to edit the options for subscribers, I just tested and I didn’t have any problems.

  116. is there a way the admin bar stays the same for all the nonadmins?

  117. Hi Viper,
    For your information, the other plugin I use “Lighter Menus) does list all my plugins.
    Thanks or your attention,
    Chris Masse


    Chris Masse on June 11th, 2008 at 3:03 PM wrote:

    Some plugin options don’t appear in the menu generated by your plugin. E-mail me privately if you want the details; I could send you info.

    Don’t bother, I can tell you the problem right now — it’s the other plugins’ faults. They most likely are not registering their menus at all times, rather only in the admin area. For example, they are probably doing if ( is_admin() ) { ... before they register their menu(s).

    There’s nothing I can do to work around it as it’s their plugin that needs to register the menu. Contact the authors of the plugins and tell them to have their plugins always register their menus regardless of whether it’s in the admin area or not and that should fix the problem. :)

  118. I love the new admin bar. Though I have one concern.
    It would be nice to have the admin bar appear to all the users as the way set up by the administrator instead of users(non admins)going in and change. I am not a php person so any help would be appreciated. Thanks

  119. Rajini on June 12th, 2008 at 1:00 PM wrote:

    I am not a php person so any help would be appreciated. Thanks

    It’s not an simple change.

    I’ll consider adding such a feature into the plugin myself.

  120. This new theme is really great. Congretulations on the 3.0!

  121. You have to add a float layout to the div’s in the wordpress-admin-bar.php file.
    style="float: left;" and style="float: right;"
    this is a ie-hack, otherwise it won’t ‘work’ (covers the other menu) with version 3.0.0 in IE7 ;)

  122. Tim Ysewyn on June 16th, 2008 at 6:14 AM wrote:

    You have to add a float layout to the div’s in the wordpress-admin-bar.php file.
    style="float: left;" and style="float: right;"
    this is a ie-hack, otherwise it won’t ‘work’ (covers the other menu) with version 3.0.0 in IE7 ;)

    What theme? Grey?

  123. Thanks for the response…When do you think you can make the change to make the admin bar same for nonusers?

  124. Rajini on June 24th, 2008 at 7:01 AM wrote:

    Thanks for the response…When do you think you can make the change to make the admin bar same for nonusers?

    Non-admins or non-users?

    Non-admins: I dunno, I’m pretty busy lately.

    Non-users: Umm, never. Why would you want an bar with links to the admin area for users who aren’t logged in?

  125. Yes …Only for Non admins…Thanks for the reply..I am going to go back to the old version..and will upgrade it once this change is made..Liked the new version a lot especially hiding some menus.

  126. Hi,

    I think I found a bug: I installed Admin bar in my Wordpress MU and two of my mu-plugins (MU tags and signup question) got listed in submenus.

    Thanks for your time!

  127. Nevermind. It is not a bug in Admin bar. There are a small bugs in those plugins. Thanks for your great plugin.

  128. Rajini on June 26th, 2008 at 7:45 AM wrote:

    Yes …Only for Non admins…Thanks for the reply..I am going to go back to the old version..and will upgrade it once this change is made..Liked the new version a lot especially hiding some menus.

    Just like the old version, the new version displays for ALL logged in users.

  129. Nice plugin man. I just lack one thing: a link to the website. I’m often not able to move quickly from administration to the outer-site. Yes, it’s because I hid the area where the link usually is. But anyway, it would be nice to have such a link in the bar. What do you think?

  130. kahi on June 27th, 2008 at 6:17 AM wrote:

    Nice plugin man. I just lack one thing: a link to the website. I’m often not able to move quickly from administration to the outer-site. Yes, it’s because I hid the area where the link usually is. But anyway, it would be nice to have such a link in the bar. What do you think?

    Eh, I don’t see the point since my plugin doesn’t hide the “View Site” link.

    For your case though, you can easily add your own link. Just write a tiny plugin that uses the wpabar_menuitems filter to modify the array and add your own link.

  131. Small problem with Admin Bar 3.01 and Wordpress 2.51 (Default Theme & no other plugins)

    If I enable the Admin Bar under administration the Gallery is missing se picture here:
    http://img77.imageshack.us/img77/8162/errorgp7.jpg
    So I hope you can fix this issue really love your plugin!!!
    If fore some strange reason I am the only one with this problem?? (Cant see how)
    I appolligies…(-;

  132. kahi on June 28th, 2008 at 10:33 AM wrote:

    Eh, I don’t see the point since my plugin doesn’t hide the “View Site” link.

    Yes, you’re right. I made the plugin. Thanks for the filter. ;)

  133. Henrik on June 28th, 2008 at 7:43 AM wrote:

    If I enable the Admin Bar under administration the Gallery is missing se picture here:

    Fixed. Thanks for reporting!

    kahi on June 28th, 2008 at 10:33 AM wrote:

    Yes, you’re right. I made the plugin. Thanks for the filter. ;)

    Awesome! :)

  134. I would love to see a way to disable the logoff option in the settings, as well as a setting to set the default theme.

    P.S.
    I have made a theme for this fine plugin using it’s API here

  135. trm96 on June 29th, 2008 at 11:38 AM wrote:

    For your case though, you can easily add your own link. Just write a tiny plugin that uses the wpabar_menuitems filter to modify the array and add your own link.

    How might you go about this (sorry I am still a noob)
    Thank you in advance.

  136. trm96 on June 29th, 2008 at 11:03 AM wrote:

    I would love to see a way to disable the logoff option in the settings,

    Oh, I didn’t even think of that. Thanks. :)

    trm96 on June 29th, 2008 at 11:03 AM wrote:

    as well as a setting to set the default theme.

    Yeah, I’m planning on releasing an update that allows you to set the defaults.

    trm96 on June 29th, 2008 at 11:03 AM wrote:

    P.S.
    I have made a theme for this fine plugin using it’s API here

    Cool! :)

    trm96 on June 29th, 2008 at 11:38 AM wrote:

    How might you go about this (sorry I am still a noob)
    Thank you in advance.

    Where do you want the new item?

  137. Roger on June 26th, 2008 at 12:03 PM wrote:

    Hi,

    I think I found a bug: I installed Admin bar in my Wordpress MU and two of my mu-plugins (MU tags and signup question) got listed in submenus.

    Thanks for your time!

    What was the solution you found for this issue? Trying to figure it out myself. Also is there a way to make the bar appear for users on blogs that they dont own? (For WPMU) The bar would take them back to their control panel.

  138. Isotope on July 5th, 2008 at 7:31 PM wrote:

    What was the solution you found for this issue? Trying to figure it out myself.

    Remove any like is_admin() checks or whatever that make the admin menus not always register (i.e. not register outside the admin area for example).

    Isotope on July 5th, 2008 at 7:31 PM wrote:

    Also is there a way to make the bar appear for users on blogs that they dont own? (For WPMU) The bar would take them back to their control panel.

    No, not currently and it wouldn’t be an easy fix that you could do.

    I will look into making the modification myself though, but no guarantees.

  139. Thanks a lot! worked like a charm. Ill keep my fingers crossed and check back for possible updates. The admin bar rocks as is though.

  140. May I suggest one improvement? I’d like the bar to be {position:fixed;} instead of absolute. What about adding a switch into settings? This would be very pleasant… mainly when browsing very long pages.

  141. Is it passable to add more than 1 theme in a theme plugin?

  142. kahi on July 6th, 2008 at 10:46 AM wrote:

    May I suggest one improvement? I’d like the bar to be {position:fixed;} instead of absolute. What about adding a switch into settings? This would be very pleasant… mainly when browsing very long pages.

    It used to be that way, but it caused problems (such as making the cursor not show up in input boxes).

    You can do it yourself via a plugin though. Just hook into wp_head late and output the CSS with an !important.

    trm96 on July 6th, 2008 at 1:58 PM wrote:

    Is it passable to add more than 1 theme in a theme plugin?

    Yes, use the non-theme method (a filter) and pick different stub names for each theme:
    http://www.viper007bond.com/wordpress-plugins/wordpress-admin-bar/theme-api/

  143. > You can do it yourself via a plugin though. Just hook into wp_head late and output the CSS with an !important.
    I know about this option and maybe I will do it so finally, but for some reason I thought that direct integration into the plugin would make more sense… I can’t say why, maybe I dislike long lists of active plugins…

  144. Yeah, as said, it used to be like that but I changed it for a reason. :)

  145. Excellent plugin so far! really appreciated! But also got some issues: cfromsII and nextgen gallery links does not show up in the bar even if they are selected iin the admin menu of adminbar. also some selected options within “manage” dont show up (e.g. redirection of the redirection plugin i use).

    any hints or known issues about this?

    –rgds marcO

  146. Hi, i have a suggest to optimise the Plugin, look at #348 at wordpress-admin-bar.php
    echo '
    #adminmenu,#dashmenu,#user_info,#footer, #sidemenu, #submenu ';
    if ( !file_exists( ABSPATH . 'wpmu-settings.php' ) ) echo ', #dashmenu';
    echo ' { display: none; }
    #wphead{border:none;}
    ' . "\n";

    This looks better for me :)

    Thanks for your fine Plugin!

  147. If you hide #user_info, then the “Turbo” linked added in WordPress 2.6 won’t be there. The #footer is at the bottom, so it’s not a big deal plus it adds a little spacing which is nice IMO.

    I’ve come up with a twist on your changes though. I’ll include it in the next version. :)

  148. Thanks for your answer :)

    I have found a user is going 1 step further, look here:
    http://kahi.cz/wordpress/admin-bar-space-saving-plugin/

    a Plugin for your Plugin, great…

  149. Great plugin!
    I have just the same problem like marco – no links for the nextgen-gallery :-/
    Any ideas why?

  150. First, can one limit this feature to certain user groups?

    Two, I’m also having a problem showing the gallery in the admin bar.

    thanks

  151. Marc on July 22nd, 2008 at 8:58 AM wrote:

    I have just the same problem like marco – no links for the nextgen-gallery :-/
    Any ideas why?

    The plugin most likely only registers it’s admin menus while you are actually in the admin area. Since my plugin operates outside of the admin area, that gallery plugin isn’t registering it’s menus and therefore they aren’t showing up.

    Contact the plugin’s author and ask them to remove the is_admin() check.

    Mark Adams on July 23rd, 2008 at 1:22 AM wrote:

    First, can one limit this feature to certain user groups?

    Modify the if ( current_user_can('read') ) ... in the plugin (near the top). Change it to the minimum permission you want (manage_options for example for admins only).

  152. Thanks, that worked.

  153. This is a great plug in

  154. Awesome plugin man! Makes managing a blog so much easier.
    One thing, I’ve got heaps of plugins installed and now the
    settings menus scrolls off the page so they can’t be clicked…
    It would be nice to have two columns, might be an idea for a future update? At the moment I just turn off the display of plugin settings that don’t need much updating..
    Apart from that, massive kudos!

  155. William Ember on August 7th, 2008 at 7:45 AM wrote:

    It would be nice to have two columns, might be an idea for a future update?

    Sorry, won’t be happening. Too difficult and it’s just easier to have people disable menus for things they don’t use.

  156. hi! it’s possible show admin bar only level 7+ (editor & administrator)?
    Sorry my bad english, i’m italian…

  157. I was just wondering, I mean all the plugins settigns can only be mde for the currently logged in user, isn’t there a way to set certain defaults for non-admin users or will they simply only see menues that their user class allows them to see ?
    I am just worried they will see links to admin areas where they are not supposed to play around..

  158. nevermind I tested that by logging in as a subscriber, and almost all menus were gone whic his perfect, except I saw 3 plugins menu udner the settigns menu, but when I clicked them I was told I had not sufficient right. which is also good, but how to hide these menus from teh settigns menue if the user has no rights to click them anyway?
    is there someway Ican modify these plugins so they do not show up udner the settigns menu?

  159. The plugin works very well, but the idea would be to add a control options in plugin/adminmenu setting to use the plugin only to the levels chosen (subscribe, editor..)…

  160. ovidiu on August 23rd, 2008 at 5:33 AM wrote:

    I saw 3 plugins menu udner the settigns menu, but when I clicked them I was told I had not sufficient right

    That shouldn’t be happening. The plugins must be incorrectly registering their menus. Can you link me to one or more of the plugins so I can examine their code?

    emmeellep on August 23rd, 2008 at 5:42 AM wrote:

    The plugin works very well, but the idea would be to add a control options in plugin/adminmenu setting to use the plugin only to the levels chosen (subscribe, editor..)…

    That’s planned for a future version. :)

  161. you can test it yourself: http://www.die-kellerkinder.eu – log in with user:test pw:test then check out the menus that are showing under the settings tab.

    the plugins showing this kind of behaviour are: wp php-speedy,http://aciddrop.com/ | advanced options http://www.mountaingrafix.at/ and your plugin !?

    It seems this test user is not even allowed to set up his own settings for the admin bar :-(

  162. oh, and if you are on that site anyway, can you give me a hint, how to fix the theme? I mean I see your plugin inserts a top: 28px; but that doesn’t help me with the background, which ignores this setting… below the black background (on top of the page) there is a menu which is unreadable now, because the black background should also slide down 28px….

  163. sorry to flood your comments, but I answered your question about which plugins gave me trouble, even linked to their homepage, but my comment disappeared. I guess it got filtered as Ihad 3-4 links inside my comment. Please get it back out of your moderation/spam queue as it also contained user/password combo for a testuser so you could see for yourself….

  164. ovidiu on August 25th, 2008 at 3:24 AM wrote:

    check out the menus that are showing under the settings tab.

    That account is a subscriber account, so no Settings show up. ;)

    ovidiu on August 25th, 2008 at 3:24 AM wrote:

    It seems this test user is not even allowed to set up his own settings for the admin bar :-(

    I’m sure mine shows up for me. Another plugin may be breaking it or maybe it runs off the bottom of your screen.

    ovidiu on August 25th, 2008 at 3:28 AM wrote:

    oh, and if you are on that site anyway, can you give me a hint, how to fix the theme? I mean I see your plugin inserts a top: 28px; but that doesn’t help me with the background, which ignores this setting… below the black background (on top of the page) there is a menu which is unreadable now, because the black background should also slide down 28px….

    http://www.w3schools.com/css/pr_background-position.asp

  165. Viper007Bond on August 25th, 2008 at 1:47 PM wrote:

    That account is a subscriber account, so no Settings show up. ;)

    But they do, thats the point. I know they shouldn’t but I just tested with the test account, and on both FF2.0 and IE6 they show up.

    Viper007Bond on August 25th, 2008 at 1:47 PM wrote:

    I’m sure mine shows up for me. Another plugin may be breaking it or maybe it runs off the bottom of your screen.

    I do not know about this.

    thx for the link :-)

  166. ovidiu on August 25th, 2008 at 11:35 PM wrote:

    But they do, thats the point. I know they shouldn’t but I just tested with the test account, and on both FF2.0 and IE6 they show up.

    Gotcha.

    I dunno what’s up with the other two plugins. One (or both) of them are improperly coded.

    Mine is supposed to show up for all users, even non-admins. This is because the settings page for my plugin is on a per-user basis. This allows subscribers to configure the plugin for themselves — i.e. show it or not, admin area or not, colors, etc.

  167. are you aware of this topic? maybe you can help out?
    http://mu.wordpress.org/forums/topic.php?id=3101

  168. Some suggestions here .. for wpmu
    - 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

  169. ovidiu on August 26th, 2008 at 1:14 AM wrote:

    are you aware of this topic? maybe you can help out?
    http://mu.wordpress.org/forums/topic.php?id=3101

    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.

  170. please make it compatiable with gengo .multilanguage plugin

  171. So .. Some suggestions here .. for wp
    - When guest view bar ..
    * A login box appear instead of links
    * and ability to add ads in bar

  172. MazZziKa on August 26th, 2008 at 2:29 AM wrote:

    please make it compatiable with gengo .multilanguage plugin

    My plugin is (hopefully) fully translatable, so I assume it should work fine if you load the language files for this plugin.

    MazZziKa on August 26th, 2008 at 2:32 AM wrote:

    So .. Some suggestions here .. for wp
    - When guest view bar ..
    * A login box appear instead of links
    * and ability to add ads in bar

    Sorry, I won’t be adding any of those. That’s not the point of my plugin.

  173. In WPMU

    Plugin could not be activated because it triggered a fatal error.
    Fatal error: Cannot redeclare class wpadminbar in wp-content/plugins/wordpress-admin-bar.php on line 31

    Btw, this was after I tried to activate it again after my upgrade to MU 2.6.1. I also did a few changes to it before so it could work on MU as it should:

    http://mu.wordpress.org/forums/topic.php?id=9331#post-55991

  174. Sory, my bad. Didn’t remove .php file from plugins folder after I’ve copied it to mu-plugins folder. Thanks.

  175. Hi,

    Great plugin, i really love it! Only one small issue: the option for the admin bar shows up at the profile page (for every user) could this option be removed so that users don’t see this option in their profile page?

    Keep up the great work!

    Regards.

  176. Z. on September 5th, 2008 at 6:50 AM wrote:

    Only one small issue: the option for the admin bar shows up at the profile page (for every user)

    This was done on purpose so each user could customize what items are shown in their own admin bar.

    If you don’t it shown all users, just change the “read” to “manage_options” in the menu add function.

  177. Z. on September 5th, 2008 at 8:33 AM wrote:

    This was done on purpose so each user could customize what items are shown in their own admin bar.

    If you don’t it shown all users, just change the “read” to “manage_options” in the menu add function.

    Thnx! Works great!
    Massive thnx… I love it!

  178. Oh, for a few weeks I didn’t get why instead of “Plugins” menu-item there is “Plugins 2″. I thought, it must be some weird bug… but now I have “Plugins 3″ there and finally I do understand! :-) Ergo, it would be IMHO very nice to style the number for example with darker color, just make it different. Or am I alone who thinks that number can be little bit confusing?

  179. Yeah, I need to update this plugin for 2.6 to better handle that. It’s on my long, long list of things to do.

  180. Hi,

    I am using your admin toolbar on a plain WP installation, and it works wonderfully. I want to use it on a WPMU installation.

    I would need to activate the bar on the admin side for every new blog and all existing blog (mass activating the plugin for all blogs does active the bar; this just activates the admin bar plugin its self.

    What can I do ?

    Thanks!
    Guy

  181. Guy on September 16th, 2008 at 4:38 AM wrote:

    I would need to activate the bar on the admin side for every new blog and all existing blog (mass activating the plugin for all blogs does active the bar; this just activates the admin bar plugin its self.

    What can I do ?

    Move justwordpress-admin-bar.php” to the “mu-plugins” folder.

  182. Thanks Viper for your answer. I’ll let you know how that works on our WPMU installation.
    Guy

  183. I have a feature suggestion for WPMU. I am already using your plugin (with a few minor hacks) on one of my MU’s. Like it a lot. You did a great job with Setings/Admin Bar hiding menus check box option. What would be great is a possibility to have similar Admin Panel where WPMU Admin can set default menus for all new blogs created so it doesn’t have to do it for every blog manually. And than, if he wants, he can use current panel to enable/disable menus for particular blog. Please let me know what do you think about it and how difficult would it be to accomplish something like that? It would be a great feature. There’s a similar (hiding menus) plugin that already does something similar but the problem is that you can enable/dissable menus for all blogs only – http://wpmudev.org/project/Menus

  184. Yeah, I need to update most of my plugins so that WPMU admins can set up defaults. *adds it to his todo list*

  185. Next week – next month – next year?

  186. Boonika on September 23rd, 2008 at 3:24 AM wrote:

    Next week – next month – next year?

    Since not that many people use this plugin and a small portion of those people are WPMU users, this plugin is far down my todo list.

    I expect it’ll be months before I overhaul this plugin as when I do do it, I’ll probably just end up recoding the thing quite a bit to support it showing up on all blogs on the network (rather than just the user’s blog).

    In the meantime, just modify the $this->defaults['hide'] array. That should do the trick.

  187. Thanks. Btw, this plugin is more than good. Keep on developing it. I plan to use it on all of my future MU’s.

  188. One more thing. Any idea on what will happen to this plugin when WP reaches 2.7? Menus look quite different. Thanks.

  189. Boonika on September 25th, 2008 at 8:59 AM wrote:

    One more thing. Any idea on what will happen to this plugin when WP reaches 2.7? Menus look quite different. Thanks.

    The current version of my plugin works just fine on WP 2.7. :)

    Using my plugin in the admin area will probably require CSS tweaking though due to the new admin area (i.e. to get the default menus to go away). The main-site part works though.

  190. Is there a way to change the admin bar so it doesn’t load individual settings for every user but all accounts get the same settings?

  191. Watts on September 28th, 2008 at 5:13 AM wrote:

    Is there a way to change the admin bar so it doesn’t load individual settings for every user but all accounts get the same settings?

    No, not currently. However if you’re decently skilled with PHP, you could accomplish this via the plugin’s hooks.

  192. On MU.

    Two things i’m not clear about.

    Viper said: modify $this->defaults['hide'] array. Is this to show the bar across the blog network and not just on the user’s blog ?

    And second ..with the plugin installed. The Site Admin menu is shown to normal users. They get a access denied message, but how do I hide that from them ?

    Thanks all. Quicktags and Admin Bar are great plugins for features lacking in MU. Great work.

  193. Bob on September 29th, 2008 at 11:41 PM wrote:

    Viper said: modify $this->defaults['hide'] array. Is this to show the bar across the blog network and not just on the user’s blog ?

    No, my plugin does not support that currently. It will only show on blogs the user has access to. It’s not WPMU aware, it merely just works on WPMU.

    Bob on September 29th, 2008 at 11:41 PM wrote:

    And second ..with the plugin installed. The Site Admin menu is shown to normal users. They get a access denied message, but how do I hide that from them ?

    WPMU must implement the Site Admin menu oddly. See above though — it’s not coded specifically for WPMU at this point.

    I need to just recode this basically from scratch to fully support WPMU, but honestly between my new job-of-sorts plus existing work, I’m fairly busy and the motivation just isn’t there for me to spend my free time working on this (I originally wrote this for my own uses and it currently meets my needs). Sorry, but that’s just the way it is.

  194. We’ll try to ‘motivate’ you:)

  195. Hi,
    Do the plug-in support Right-To-Left language because i have some problems with it..

    The Menus appear in the left of the page and adds some width pixels to it, although i didn’t open them…How to solve this ?

    Thank you,
    Mena

  196. I really don’t have any experience with RTL, so no, I haven’t done anything special to make it more compatible.

    Patches are welcome though. :)

  197. well, okay, if i can do anything i will try…and if i got it working will tell you

    Thank you

  198. Is there any way to have just certain user roles see the Admin Bar?

  199. Any chance of adding an option so the normal Admin menu is not hidden even if [x] In the admin area is checked? That may improve the user experience a bit, and make it easier to navigate in the same tab.

    I’m thinking something like this:

    webmaestro on October 16th, 2008 at 9:07 AM wrote:


    [x] In the admin area
    -> [x] Always show standard WordPress Admin Menu

    Since the menu already exists in the HTML, it’ll actually make it even easier. If I’m in ‘Settings > General’ and want go to ‘Settings > Discussion’, I won’t have to mouseover ‘Settings’ and look for ‘Discussion’… I’ll just click on ‘Discussion’ in the submenu above.

    If [x] Always show standard WordPress Admin Menu is checked, just omit this CSS:

    webmaestro on October 16th, 2008 at 9:07 AM wrote:


    [style type="text/css"]#adminmenu, #sidemenu, #submenu { display: none; }[/style]

    Thanks for such a great tool!

  200. While using WordPress Admin Bar, some links it assumes are incorrect.

    For instance, I installed the wp-gravatar plugin. When WordPress Admin Bar is installed, it refers to http://xyz.com/wp-admin/gravatar (which produces a 404) rather than the correct http://xyz.com/admin.php?page=gravatar.

    There are several other instances of this happening.

    Any fix for this?

  201. Ziggy on October 16th, 2008 at 9:07 AM wrote:

    Is there any way to have just certain user roles see the Admin Bar?

    Gotta edit the current_user_can() check in the plugin. :(

    webmaestro on October 16th, 2008 at 9:07 AM wrote:

    Any chance of adding an option so the normal Admin menu is not hidden even if [x] In the admin area is checked? That may improve the user experience a bit, and make it easier to navigate in the same tab.

    I have to update this plugin a little for WP 2.7, so I’ll try and fit that new feature in.

  202. Viper007Bond on October 16th, 2008 at 2:55 PM wrote:

    webmaestro on October 16th, 2008 at 9:07 AM wrote:

    Any chance of adding an option so the normal Admin menu is not hidden even if [x] In the admin area is checked? That may improve the user experience a bit, and make it easier to navigate in the same tab.

    I have to update this plugin a little for WP 2.7, so I’ll try and fit that new feature in.

    Cool! Let me know if you need some testing.

  203. KCMac on October 16th, 2008 at 1:50 PM wrote:

    While using WordPress Admin Bar, some links it assumes are incorrect.

    That part of the plugin will be getting a looking at in time for 2.7 (or shortly after).

  204. Hey,

    Any chance you can or show me how to implement a “Login” section to the Bar? I hate using the sidebar login.

  205. Derek on November 7th, 2008 at 7:27 PM wrote:

    Any chance you can or show me how to implement a “Login” section to the Bar? I hate using the sidebar login.

    Just modify your theme and add a login link at the top or whatever.

  206. I am running Wordpress MU. I love this plugin and offer it to all of my users. The problem I have is with one plugin in particular. I come here because the menus work fine when I am not using the Admin Bar.

    When the adminbar is not active, the top menu option ‘upgrades’ takes me correctly to http://domainname.com/wp-admin/upgrades.php, but when I activate the adminbar, it takes me to http://domainname.com/wp-admin/admin.php?page=upgrades.php which leads to an error.

    I have had a few plugins that have done things similar, but not longer use them. I have to use this plugin and my users need to be able to access the option. I don’t want to give up the AdminBar for my users. I will continue to use it and correct the address when I need in that area. worth it to me but I can’t tell my users to do this.

    Any idea’s? This is the upgrades premium plugin from http://premium.wpmudev.org.

    Thanks

  207. Is the plugin compatible with wordpress 2.6.3?

  208. Gogus kucultme on November 24th, 2008 at 9:35 AM wrote:

    Is the plugin compatible with wordpress 2.6.3?

    It’s compatible with 2.6.x, but is buggy with 2.7.x.

  209. this is one of the most amazing plugins i have found for wordpress mu

    thanks for the great plugin

  210. Viper, I thought I would bump my comment. I really would like to start using your admin menu again. Any suggestions to my above post?

  211. realsol on November 27th, 2008 at 8:22 AM wrote:

    Viper, I thought I would bump my comment. I really would like to start using your admin menu again. Any suggestions to my above post?

    Sounds like there’s either a bug in their code or mine, but there’s no way for me to tell as that plugin is not free and therefore I cannot test myself.

    However that part of this plugin will require updating for WordPress 2.7, so if it is my plugin then it will likely be fixed then.

  212. sorry to flood your comments, but I answered your question about which plugins gave me trouble, even linked to their homepage, but my comment disappeared. I guess it got filtered as Ihad 3-4 links inside my comment. Please get it back out of your moderation/spam queue as it also contained user/password combo for a testuser so you could see for yourself….

  213. I don’t see it in the queue. Let’s take this to my support forums anyway:

    http://www.viper007bond.com/wordpress-plugins/forums/viewforum.php?id=27

  214. Thank you for this plugin. Admin Bar 3.0.2 working well with WPMU 2.6.5 subdirectory setup. Working well also on WPsingle test site webhost WP 2.7-RC1-10026, playing well with many other plugins installed :-)
    Thanks again. Cheers.

  215. mercime on December 3rd, 2008 at 9:33 PM wrote:

    Working well also on WPsingle test site webhost WP 2.7-RC1-10026,

    It has some issues with 2.7 (like everything being on the right) though. I’ll be fixing it soon for 2.7 :)

  216. This is a capability I’ve looking for.

    However, it appears to be broken with WP 2.6.5. A blank bar shows up a the top of the page. Nothing else.

    I’d appreciate it if you could fix it.

  217. I have been using the plugin for several months. I have now run into a problem. When accessing the settings function the end of the list disappears. I realize that I may have overdone it with the number of plugins but those that are at the bottom of the list are not visible or accessible. Would it be possible to include the ability to scroll?

    Also, I could not find a way to disable or delete the plugin. Is that possible?

  218. Bob on December 9th, 2008 at 9:58 AM wrote:

    However, it appears to be broken with WP 2.6.5. A blank bar shows up a the top of the page. Nothing else.

    The problem is your theme, not my plugin. It is likely lacking the <?php wp_footer(); ?> hook.

  219. Crawford Harris on December 10th, 2008 at 11:14 AM wrote:

    Would it be possible to include the ability to scroll?

    No, not easily, but you can disable items from showing up via this plugin’s settings page.

  220. I tried to disable some but received the following message:

    Warning: Cannot modify header information – headers already sent by (output started at /home1/xxxxxxxx/public_html/wp-content/plugins/wp-visitors/wp-visitors.php:12) in /home1/xxxxxxxx/public_html/wp-includes/pluggable.php on line 770

    Is there a way of temporarily disabling the plugin as an alternative?

  221. Doesn’t work with WP 2.7. Use it till 2.6.5 and works fine.

  222. Yes, this plugin needs updating for 2.7. It works, but has a few minor bugs.

  223. Du u update it for WP 2.7?

  224. caschy on December 11th, 2008 at 12:24 AM wrote:

    Du u update it for WP 2.7?

    Not quite sure what you mean, but no, I have not updated this plugin for 2.7 yet. I will soon but you can continue to use it meanwhile.

  225. Well, most of the links (like the link to the dashboard) are wrong now, Error404.
    So it’s not possible to continue to use it ;-)

  226. Yeah, as Macr says: all links are broken.

  227. Guys, I know it’s broken. Yes, I’m going to fix it. Please be patient. I’m sure you can live without a working Dashboard link for a few days while I sort it out. Everything else besides some minor issues like everything being on the right side should work though.

  228. Sure, no stress… we can wait.
    Just want to say there’re more then minor bugs… :-)
    Look to the links on the right side like “plugins” or “settings” … all broken.

  229. 2.7 Suggestion -

    Would it be possible to have the adminbar – and leave the sidebar as well? That way we could utilize the frequently/needed stuff only up top, and the rest of the menu would still be available on the side.

    Know you’re working on it – so this is only a suggestion!

    Love this plugin!

  230. v3.0.4 is fully WordPress 2.7 compatible.

    EDIT: Er, it’s settings page is all funky, but the bar itself works on your actual blog. I’ll fix the admin-side of it soon.

  231. Okay, v3.0.5 just uploaded. The settings page actually works now, as does using the admin bar in the admin area (it won’t hide the default navigation menu — just collapse it if you don’t want to use it).

    I really need to test my code more before uploading.

  232. hi. Thanks for plugin

    perfect.

    Regards

  233. Many thanks for all your work! Happy to report the latest version is working perfectly with WP 2.7 here at Greywulf Towers :D

    Thanks again!

  234. I just updated to the latest version of your plugin and it shows the bar in the footer of my blog. It used to work fine under the last version of WP, I disabled it until an update to make it work for WP 2.7.
    Screenshot: here

    P.S. am running WP v2.7

  235. Hi,

    Unfortunately 1152 pixels width are not enough for the bar with the Hungarian admin interface including the WP Security Scan plugin. The transated text is a bit longer than the generic but it would be useful if you could make the size of the texts and the boxes smaller. Thank you very much :)

    [EDIT] Found the possibility of turning on/off the blocks :) Fortunately I don’t need to go into the admin section of the plugin so often :) Thanks again!

  236. trm96 on December 16th, 2008 at 9:29 AM wrote:

    Screenshot: here

    Your theme has some CSS that is overriding my plugin’s CSS. Try moving the footer hook in your footer.php file to right before </body>.

  237. Hi, I am using wordpress 2.6. I installed the latest version of this plugin today. i don’t find the admin bar menu in admin panel. Also i don’t find the admin bar on the front page when i am logged in as admin

    Thanks for your help.

  238. webdomainnamesearch.com on December 23rd, 2008 at 9:22 AM wrote:

    Hi, I am using wordpress 2.6. I installed the latest version of this plugin today.

    The latest version of my plugin requires WordPress 2.7. Please upgrade your WordPress or downgrade my plugin.

  239. Hi, I’m using WP 2.7, Fr version.

    After I activate the WP Admin Bar, the admin area is completely locked !
    First of all I deactivated the other plugins installed in my WP and then I tried to reactivate your plugin but with the same error message… Moreover I make clear I updated the plugin to the latest version (3.1.1).

    After all these tests I did another with the English version of WP 2.7 and then… your plugin works !

    So there is a problem with the Fr version of WP and your plugin.

    Thx for your help, bye !

  240. Thomas on December 25th, 2008 at 12:12 PM wrote:

    I tried to reactivate your plugin but with the same error message…

    And that error message is…?

  241. The error message in French after I activate the plugin : “Vous n’avez pas les droits suffisants pour accéder à cette page.”
    The translation : “You don’t have enough rights to access this page.”

    Thank you for helping me ! Bye.

  242. “You don’t have enough rights to access this page.”

    We have problems with spanish wordpress translation, but in catalonian translation works fine (exactly clone installation).

  243. Language doesn’t affect access rights.

  244. Thomas on December 27th, 2008 at 2:30 AM wrote:

    Language doesn’t affect access rights.

    I search the Web and I some people mean the problem comes from the fr_FR.php file located in wp-content/languages. They advise to remove this file…
    There is one variable in this file : $wp_default_secret_key
    I don’t specifiy any value right now, there’s the default (”thanks to put a sentence here”).

    Any idea ?

  245. Thomas on December 27th, 2008 at 2:30 AM wrote:

    Miquel on December 27th, 2008 at 5:39 AM wrote:

    Language doesn’t affect access rights.

    I search the Web and I some people mean the problem comes from the fr_FR.php file located in wp-content/languages. They advise to remove this file…

    YES ! That’s the solution. Removing es_ES.php file from wp-content/languajes the plugin works fine.

    Thank you Thomas !

  246. Thomas on December 28th, 2008 at 4:45 PM wrote:

    YES ! That’s the solution. Removing es_ES.php file from wp-content/languajes the plugin works fine.

    Thank you Thomas !

    After you activated the plugin you can restore the php language file into the languages folder.

  247. Thank you for the plugin. Thank you for updating it to WP 2.7. I have Admin Bar 3.1.1. I believe that the Logout button does not work at this point. I wish I understood how to fix it but I can offer the following information from the WP site:

    “The Template Tag wp_logout_url was added in Version 2.7 to provide a nonced URL for logout purposes. If a theme uses a construct such as /wp-login.php?action=logout to offer the user a logout link that code should be updated to use the wp_logout_url. A good example of the usage of wp_logout_url can be seen in the WordPress Default and Classic themes comments.php and comments-popup.php Templates.”

  248. 2 questions: Can you provide sample code on how to set up defaults to hide. I see the defaults array with the blank hide array, but not sure what that would look like. In particular, I would like to hide the ‘Tools’ menu by default for everyone. I just need to see what would go inside the ‘hide’ => array(), line

    Also, I noticed in looking at the database structure, all user info is stored in the global wp_options table in 1 row. How many potential subscribers could this plugin support before that field is maxed out? Another option would be to store in usermeta, 1 entry for each user…

    thanks, nice looking plugin.

  249. 1) Honestly can’t remember how that works. Been forever since I looked at that part of this plugin.

    2) Yeah, this plugin needs updating. It’s on my todo list, but near the bottom of it.

  250. David on January 7th, 2009 at 3:09 PM wrote:

    Thank you for the plugin. Thank you for updating it to WP 2.7. I have Admin Bar 3.1.1. I believe that the Logout button does not work at this point. I wish I understood how to fix it but I can offer the following information from the WP site:

    “The Template Tag wp_logout_url was added in Version 2.7 to provide a nonced URL for logout purposes. If a theme uses a construct such as /wp-login.php?action=logout to offer the user a logout link that code should be updated to use the wp_logout_url. A good example of the usage of wp_logout_url can be seen in the WordPress Default and Classic themes comments.php and comments-popup.php Templates.”

    Change to this file:

    http://www.miquelnet.com/logoutworksfine.rar

    then logout works fine.

  251. Changing that one line worked for me. You’re good. I think this is one more thing that Viper007Bond can take off his todo list. Thank you.

  252. David on January 7th, 2009 at 3:09 PM wrote:

    I believe that the Logout button does not work at this point.

    I completely forgot it was nonced now. Thanks, I’ll release an update.

  253. Hello, I run WPMU 2.7. Is there a way to take out buttons on the admin bar for everyone on my network? I am using the version of your plugin included in the 2.7 trunk. Any help would be much appreciated. Also is there a way to set default settings for this plugin for everyone when their account gets created.

  254. I run windows xp and am using chrome by the way…

  255. Very good work :)

  256. Hi,

    Thanks for that useful plugin, I’ve got one problem…when I install it, I just can’t access to any other page than the home!
    I just get a message that I havn’t enough rights to view the page…

    Any idea on how to fix that?

  257. Hi,

    Thanks for that useful plugin, I’ve got one problem…when I install it, I just can’t access to any other page than home & login!
    I just get a message that I havn’t enough rights to view the page…even if I’am logged in as admin.

    Any idea on how to fix that?

  258. Hi,

    I’d like to report two (minor) issues (I use WP 2.7). First, I did see the tree structure in the plugin’s options page only the first time I called it. On all subsequent calls until now, all checkboxes are neatly listed in the _same_ row, regardless if they are 1st-level or 2nd-level options:

    http://www.klein-aber-fein.de/downloads/wordpress-admin-bar-1.jpg

    Same effect in all browser I tried (Opera, IE) and with all themes (my own and the WP 2.7 default theme). The bug (?) doesn’t affect the plugins functionality, but it’s definitively annoying…

    Second, the admin bar’s “Plugin” tab icon of the little arrow ist trunctated (cut in half) when the blog is viewed with the Opera browser: