BuddyPress 1.2.8 only contains a few changes all…
BuddyPress 1.2.8 only contains a few changes, all of which are aimed at compatibility with the just-released WordPress 3.1. BuddyPress plugin authors will want to be aware of two small changes, however, which may affect the way that their plugins work.
- Admin Panels WordPress 3.1 creates a separate Network Admin panel, which replaces Multisite’s Super Admin section of the Dashboard. The BuddyPress admin panels have been moved to the Network admin, to reflect the fact that BuddyPress is a network-activated plugin. Thus, if your BP plugin creates its own admin panel as a submenu of the main BuddyPress panel, you’ll need to make sure that you hook
add_submenu_page()in the correct way. ‘admin_menu’ is still the correct hook for non-multisite installations; ‘network_admin_menu’ is the correct hook for multisite. Here is how BuddyPress manages the conditional; you may want to emulate it in your own plugin. (Side note: in order to maintain backward-compatibility with WordPress 3.0.x multisite dashboards, where no ‘network_admin_menu’ hook exists, BuddyPress 1.2.8 creates its own hook.) - The BuddyBar and the WP Admin Bar Additional logic has been added to the BuddyBar loader (bp_core_load_admin_bar()) to account for the introduction of a similar admin bar in WP 3.1. (There are plans to integrate the core version BuddyBar into the WP admin bar in the future, but for now you have to choose.) By default, the BuddyBar is shown. Site admins can disable the BuddyBar in favor of the WP admin bar by defining
define( 'BP_USE_WP_ADMIN_BAR', true );in wp-config.php.BP_DISABLE_ADMIN_BARcontinues to disable the BP admin bar. If your plugin or your site has made modifications to the way that the BuddyBar loads, you might want to verify compatibility with BP 1.2.8.
(edited to correct the behavior of BP_DISABLE_ADMIN_BAR – 2-25-11)
Admin-Bar oder BuddyBar: Welches Schweinderl hätten S’ denn gern? - BuddyPress Tutorials 1:46 pm on February 24, 2011 Permalink |
[...] BuddyPress-Entwickler haben bereits angekündigt, dass irgendwann (somit nicht in der demnächst erscheinenden Version 1.3) beide Leiste [...]
slaFFik 5:08 pm on February 24, 2011 Permalink |
Thanks, Boone.
Avi M 12:20 am on February 25, 2011 Permalink |
Boone said – (There are plans to integrate the core version BuddyBar into the WP admin bar in the future, but for now you have to choose.)
–
Is there any sort of eta on this? are we talking days, weeks, months or a year? I’d be happy with an educated ball park type guess!
TY in advance?
Boone B. Gorges 3:00 am on February 25, 2011 Permalink
Months. Almost certainly not by BP 1.3.
Avi M 5:59 am on March 4, 2011 Permalink
Thanks for the reply Boone!! Definitely something I’m looking forward to!!!
slaFFik 2:20 pm on March 4, 2011 Permalink
I have a beta-plugin to do that. Will update it with the newest WP+BP code and then release it. I will notify here, if you wish.
Avi M 7:01 pm on March 4, 2011 Permalink
That would be great SlaFFik.
Ashley Laing 3:24 am on February 25, 2011 Permalink |
I have just upgraded to WP 3.1 and BP 1.2.8. Yes, admin bar came back. So I added…
/* Remove the Admin bar */
define(‘BP_DISABLE_ADMIN_BAR’, true);
… tried it in both wp-config.php and bp-custom.php. Doesn’t appear to be working.
Is this working for others?
Ashley Laing 10:40 pm on February 25, 2011 Permalink |
Others appear to be having same issue. Open a ticket http://trac.buddypress.org/ticket/3085
Ashley Laing 1:23 pm on February 26, 2011 Permalink
Thanks to @r-a-y
Found a solution to the issue. Use both the following to remove all admin bars.
/* Remove the BuddyPress Admin bar */
define(‘BP_DISABLE_ADMIN_BAR’, true);
/* Remove the WordPress Admin bar */
add_filter( ‘show_admin_bar’, ‘__return_false’ );
Rihr 1:37 pm on February 25, 2011 Permalink |
Thanks for this but theres one issue im so confuse about and cant find answers everywhere.
I have 2 sites and I dont know what happen but when people register in the site it doesnt included in the mainsite like it used to. I tried registering myself and it get me registered in the Network but not in the 1 site/ main site which I want all registration will be stored. Is anyone experiencing the same thing? How can I fix this?
Paul Gibbs 7:14 pm on March 7, 2011 Permalink |
Support requests should go on http://buddypress.org/, please
Troubleshooting WordPress 3.1 – BackPoke 8:44 pm on February 27, 2011 Permalink |
[...] BUDDYPRESS You need to upgrade to BP 1.2.8. Also read this:http://bpdevel.wordpress.com/2011/02/24/updating-your-buddypress-plugins-for-1-2-8/ [...]