puccino
Expert
Super Volunteer
Member Likes (0)
Hello, i have tried custom admin bar on my bp install, and nothing change.
I have read some topics here, and see that i have to change wp-config.php to make wp admin bar as default, then i can see my changes but... when i'm logged out, admin bar deasappear.
Anyone one to help me ?
Responses (9)
Support Chimp (joined March 2010) Likes (0)
Hey puccino.
The Custom Admin Bar is designed to work with the WordPress Admin bar. Not the BuddyPress bar.
I presume the other posts talked about create a new bp-custom.php file and sticking the following in it:
Then popping it into your plugins directory?
That will then turn off the BuddyPress bar.
To do it all you could use this function:
That will remove the admin bar for BP and add the WP one. :-)
Member (joined November 2010) Likes (0)
Hi, i have seen this function, to add on wp-config.
define('BP_USE_WP_ADMIN_BAR', true);
The only problem i have is that it's working only for logged in users
Support Chimp (joined March 2010) Likes (0)
Yup, they added that a while ago. I guess I just never used it myself.
If you have problems with define('BP_USE_WP_ADMIN_BAR', true); then I know the function I provided still works if you wish to try that ;-)
Well, unless you have another plugin overwriting it somewhere.
Let me know how you get on. :-)
Take care.
Member (joined November 2010) Likes (0)
Ok thanks for your help, where do i add your code, i will try it
Support Chimp (joined March 2010) Likes (0)
Hey again. :-)
Create a new bp-custom.php pop the code in and then upload it to your /plugins/ directory. :-)
Take care.
Member (joined November 2010) Likes (0)
Ok so now it's different, admin bar appear for logged in and out users, bur for logged out there is nothing on it...
Support Chimp (joined March 2010) Likes (0)
The search in the top right should still be there, and the custom admin bar (the plugin we offer) will display those custom links.
But the rest of the links originally in there are all account links and site links, like comments, updates, etc. So if you are not logged in, they won't show.
Thanks.
Member (joined November 2010) Likes (0)
Ok i see how it works, thank you for your help.
Support Chimp (joined March 2010) Likes (0)
No worries, take care! :-)
WordPress Questions?
We've got answers!
Find out more »