Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Can I keep my "normal" admin bar when activating BP?

  • @conschneider

    Participant

    Hello Buddypress Community,

    I have a question concerning the configuration of buddypress in a multisite environment. Here are my specs:

    WP 3.3.1 in multisite mode.
    directory install not subdomain.
    BP 1.5.3.1
    theme “salutation”. A premuim BP WP BBpress theme.

    When I network activate buddypress the admin bar of all sites changes for all users. The normal WP admin bar gets replaced by the buddypress admin bar. Is there a way to prevent this from happening and keep the normal admin bar?

    Thanks for reading and cheers,
    Constantin

Viewing 13 replies - 1 through 13 (of 13 total)
  • @mercime

    Participant

    Constantin, this has been resolved in upcoming BP 1.6.

    @nilssvz

    Member

    you can use the admin bar by adding:
    `define(‘BP_USE_WP_ADMIN_BAR’, true);`
    to the wp-config,
    above where it says:
    “That’s all, stop editing! Happy blogging.”

    @jazzymanzo

    Member

    where do i find the wp-config file?

    @djpaul

    Keymaster

    In the root of your WordPress site.

    @gnetworkau

    Participant

    @mercime

    ==== this has been resolved in upcoming BP 1.6===

    WP 3.3.1 Network with WPMU Domain Mapping plugin
    BP 1.5.3.1
    bp-custom.php – define ( ‘BP_ROOT_BLOG’, 3 );

    whenever default BP admin bar is disabled (or not served to not-logged-in users), the following non-existent link appears in source for all sites throughout the network:

    /wp-content/plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css?ver=3.3.1

    … this adds full 3 seconds to page loads.

    also, the following appears no matter what in source of all sites:

    /wp-content/plugins/buddypress/bp-themes/bp-default/_inc/global.js

    if you need help testing version 1.6, drop me a line, glad to help.

    @chrisclayton

    Participant

    @G – looking into the buddypress adminbar stylesheet that bp adds to my site, i believe that that stylesheet has the buddypress specific styles for the ‘toolbar’ (the stuff buddypress adds, such as notifications thus it requires to be in the code (i could be wrong though)

    EDIT: You could always remove it if you wanted to – https://codex.wordpress.org/Function_Reference/wp_deregister_style

    Global.js – https://codex.wordpress.org/Function_Reference/wp_deregister_script

    @conschneider

    Participant

    Woha, thank you all for the answers. :)

    Is there an expected release date for BP 1.6? I do not like hacking core files that much, so I d rather wait for the next release. As I can see the trac says 82% for BP 1.6 already. . .

    @chrisclayton

    Participant

    @conschneider the last we heard is that it was “planned to coincide closely with the release of WordPress 3.3” Source: https://buddypress.org/about/roadmap/

    (@ core devs could we have the roadmap updated to a newer date? :) )

    But, If you dont want to insert the code into your wp-config file, you can put it into your bp-custom.php file which does the same thing :) https://codex.buddypress.org/extending-buddypress/bp-custom-php/

    Buddypress always looks to see if you have a bp-custom.php file in your plugin folder and reads the code in it before it does anything else.

    @gnetworkau

    Participant

    by the way, none of the above (ie: faulty adminbar.css link, or global.js) appear in source on the site using TwentyEleven theme. so i guess it is someting in the other theme that brings it out. i will look further, and try your hacks, guess i put them in functions.php of the offending theme. it was raining so hard here (east coast Australia) my internet was down for 10 hrs, back into it now… thanks Chris.

    @gnetworkau

    Participant

    i solved it. the developer of Suffusion Theme [https://buddypress.org/community/members/sayontan/] had included bad references to BP in the functions.php file. i edited them out, all fine now.

    @djpaul

    Keymaster

    Will update that roadmap page as soon as I get time

    @conschneider

    Participant

    Thanks Paul, appreciate it.

    @franclin

    Member

    Thanks @nilssvz
    Your advice to add: define(‘BP_USE_WP_ADMIN_BAR’, true); to the wp-config file along with a customizing plugin such as ‘Custom Admin Bar’. Have made it really easy to customize my admin bar and retain all the needed functionality of Buddypress and S2Member. Awesome!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Resolved] Can I keep my "normal" admin bar when activating BP?’ is closed to new replies.
Skip to toolbar