Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

Support: Creating & Extending

Existing and new plugins/components and themes.

is there someone working on the BP_USE_WP_ADMIN_BAR thing??? (35 posts)

Started 1 year, 2 months ago by: nexia

  • Profile picture of nexia nexia said 1 year, 2 months ago:

    as it’s not a “major” rework on BP to simply use the new 3.1 wp-admin-bar instead of the BP version, why isn’t it already included in the latest release, as there is already something to handle it? the code is not so different, we simply need to make a version for 3.1 … am i the only one interested in this?? i didn’t see anybody asking for it yet.

    i can handle it if nobody at Buddypress is able to do it… rofl there is just no action in where we would be able to handle it in “bp_core_load_admin_bar” … someone started the job without adding any flexibility for it.

    *(and yes i’m ahead of the timeframe, i don’t care, this question is not even in the roadmap, so i would do it if you don’t care)

  • Profile picture of nexia nexia said 1 year, 2 months ago:

    btw, half way done already… adding a action and generated the proper elements, adding everything in a new plugin. took me 10 minutes.

  • Profile picture of pcwriter pcwriter said 1 year, 2 months ago:

    @nexia

    If all you want to do is replace the bp-adminbar with the new WP version, simply add this to your functions.php file:

    remove_action( 'wp_footer', 'bp_core_admin_bar', 8 );
    remove_action( 'admin_footer', 'bp_core_admin_bar');
    show_admin_bar(true);
  • Profile picture of nexia nexia said 1 year, 2 months ago:

    @pcwriter … my goal is not to use the original adminbar, but to integrate the whole content of the BP-adminbar into the original WP-adminbar instead of replacing it… making it more compatible with 3.1…

    btw, i did it… will release it on my site for support… until BP do the same!

  • Profile picture of finni3 finni3 said 1 year, 2 months ago:

    @nexia How about adding the patch to trac?

  • Profile picture of nexia nexia said 1 year, 2 months ago:

    because it’s not a patch, and i’m not using the trac… if the guys want it, they can ask…

  • Profile picture of nexia nexia said 1 year, 2 months ago:

    features added:

    1- activation of the “guests” adminbar, which show the login and register link link in the basic BP setup — disabled by WP 3.1, it shows anyway if we need it.
    2- options panel to activate #1 or more options, like the random links
    3- widget to move the adminbar to a widget in the location of your choice

  • Profile picture of nexia nexia said 1 year, 2 months ago:

    hum, i received some comment by email telling me i’m cheap to not deliver the code in the trac… come on kid, not even able to post with a public email… tssss

    the guys here knows me, i’m not new here, and i’m quite open to working with them… but instead of crapping the trac, i let the stuff available, and the coders can handle the work on their own way. my work is an alternate adminbar, not a simple tweak, as the old one is html based and my version follow the 3.1 protocol with the right functions ($wp_admin_bar->add_menu)…

    anyway… ;)

  • Profile picture of finni3 finni3 said 1 year, 2 months ago:

    I would like to clarify that I am not the anonymous e-mailer :P

    “3- widget to move the adminbar to a widget in the location of your choice” Awesome!

  • Profile picture of nexia nexia said 1 year, 2 months ago:

    Oh sure it was NOT you… i found who it was… more like a joke than anything, but seriously, sometimes, people think we all do everything for free… *(they don’t know who is paid working on this anyway)

    so, that’s it… i’m done with the adminbar, i’ll do the widget and may release it in the next day …

  • Profile picture of Hugo Hugo said 1 year, 2 months ago:

    sometimes, people think we all do everything for free

    That’s a consequence of working in the WP world I’m afraid and of gpl licenses and also of the majority not really understanding what length of work is involved in even the simplest bit of coding when one factors in testing / debugging

  • Profile picture of Boone Gorges Boone Gorges said 1 year, 2 months ago:

    @nexia Open source community projects like BuddyPress are built by volunteers. That means: people *volunteer* their improvements, in the form of patches. You’re not under any obligation to provide a patch. However, it’s a misunderstanding of how the development process works when you scoff at the idea of voluntarily providing a patch – “i’m not using the trac… if the guys want it, they can ask” – as if BP is some separate entity with its own timeline and development roadmap. Instead, BP is made up of those people who choose to contribute.

    That does not qualify as “crapping trac”. It’s what Trac is for, and it’s how the project moves forward :)

    Anyway, if you aren’t going to make a patch, I’d love to see the code anyway – please do post a link if you decide to release a plugin.

  • Profile picture of nexia nexia said 1 year, 2 months ago:

    @Boone Gorges, sorry, you misunderstood… rofl… the crapping trac is me… i’m sure i will break something if i use that system… so instead of breaking something i offer my work, simply… lol i know what is the commuity, i’m within WP since day one.. lol and i broke things more often than needed, i can tell you.

    yeah, the first version of the plugin is already done, it’s simply replacing the adminbar call inside BP with my version, no hardcoding edits to do…

  • Profile picture of nexia nexia said 1 year, 2 months ago:

    for the guest side of things, as you know, no bar in WP 3.1 alone, and BP is providing a default one… here is the merge:

    http://nexialys.net/nex_bp_adminbar/nex_bp_adminbar_guest.png

    andfor the member’s adminbar, a merge too:

    http://nexialys.net/nex_bp_adminbar/nex_bp_adminbar_member.png

    …nothing fancy, but that’s the first step here, options are made, will add them by the evening.

  • Profile picture of nexia nexia said 1 year, 2 months ago:

    a small detail has to be fixed when displaying a span into the dropdown *(see, “Blogs” has its count (2) below, making the next line crappy… ) this is WP css to be fixed