First of all, that’s an awesome plugin that will allow your visitors to have a look at external links while retaining the ability to comment locally on your blog. Get it!
Unfortunately, if you have modified your WordPress database prefix, for instance because you are using WordPress MU or the Virtual Module, the toolbar will fail to display.
Here is my very modest fix that will make it work.
1. Open wordpress-toolbar/toolbar.php
2. Find, near the top of the file:
$resultset = $wpdb->get_results("SELECT * FROM wp_options where option_name in ('wordpress_toolbar_social','wordpress_toolbar_excludedomains','wordpress_toolbar_skin','wordpress_toolbar_custom')"); |
Replace with:
$resultset = $wpdb->get_results("SELECT * FROM {$wpdb->options} where option_name in ('wordpress_toolbar_social','wordpress_toolbar_excludedomains','wordpress_toolbar_skin','wordpress_toolbar_custom')"); |
3. That’s it!
If you enjoyed this post, make sure you subscribe to my RSS feed!






Hey thr,
Thanks for posting this fix, but I was wondering why didn’t you commented this bug on the plugin page
Anyways I for chance stumbled on your page and shall fix this bug in future releases.
Thanks again,
Abhinav
The reason is very technical: that’s because I’m stupid. I plan on doing things and then I forget. Of course I meant to post a comment, sorry about that.
aah, not a problem. Good thing is I was looking for people who have blogged abt this plugin and i luckily landed here. Main thing is it helped me knowing the problem and since its my first plugin, I expect a lot more infact
plugin that will allow your visitors to have a look at external links while retaining the ability to comment locally on your blog.
i was searching about the pros and cons of google chrome and i landed on your blog..
@abhibnav singh – your webpage doesnt load though i have found the plugin from another source.
@Eve Isk – Might be a one off thing, I was out on vacation and didn’t had any net access.
what would be the reasons for this plugin ?, what does it do
Hi,
I was looking for something like this for my blog about cars. This plugin is very useful. Thanks for sharing it with us.
The Plugin is very good. Thanks for the fix. It’s working fine now.
I was looking for a plugin like this. I’m so glad I found this and the fix too. Thanks for sharing.
I’m looking for this thanks for this plugin..
Can you post what you did so I can fix myself please?
Not your fault but I had no idea 2.7.1 would screw up the admin bar so you plugin was a life saver. I’m in big trouble as most users on our blogs will be totally bemused wondering what’s happened to the navigation. They’ll click the ‘my blog’ link and get even more confused by the PHP error. If there’s a way to turn off ‘my blogs’ on the top admin bar globally for MU I’d appreciate knowing what that is, or failing that if I can have the code to fix it myself.
I can send an email to all contributors, but if there’s another way to make the transition seamless please let me know
many thanks
AP, is this a problem related to WordPress MU >= 2.7.1 only? What is the issue exactly? WordPress MU has an additional bar and it conflicts with this one?