Skip to:
Content
Pages
Categories
Search
Top
Bottom

How do you put login/sign-up on admin bar

  • Avatar of Gpo1
    gpo1
    Participant

    @gpo1

    I want a login/sign-up button on the admin bar for registered users and non like the bp home page!

    So that I can use this feature on custom themes.

    How is it done?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Avatar of Deadpan110
    Deadpan110
    Member

    @deadpan110

    I have submitted a patch:

    http://trac.buddypress.org/ticket/174

    adds Log In and Sign Up (only if enabled registrations)

    *adds* …there is also some info there for creating your own custom admin bar.

    Avatar of Gpo1
    gpo1
    Participant

    @gpo1

    Thanks for reply, it worked!

    How can add a feature on the taskbar for login users like jwchat online chat program.

    http://blog.jwchat.org/jwchat/

    Avatar of Deadpan110
    Deadpan110
    Member

    @deadpan110

    I will look into adding a couple of actions for people to hook their plugins into.

    Avatar of Deadpan110
    Deadpan110
    Member

    @deadpan110

    OK, I have submitted a better patch to allow complete customisation of the admin bar using add_action() WordPress hooks.

    It also has log in and register and is available from http://trac.buddypress.org/ticket/174

    Please Note, this patch will possibly not work if used on top of the previous patch, so make sure you have the original core files installed first.

    Any update on how to add plugins like phpfreechat online chat on admin task bar?

    Avatar of hippyrandall
    hippyrandall
    Participant

    @hippyrandall

    I would love to see a way to put phpfreechat into the admin bar as well.

    Avatar of jschires
    jschires
    Participant

    @jschires

    here is the way I added it:

    function my_chat_link(){

    ?>

  • Chat

    <ul class=”your-ul-list-css-classname”>

  • <?php

    }

    add_action( ‘bp_adminbar_menus’, ‘my_chat_link’, 14 );

    Then just create your chat page. Not sure if this is what you meant, but it may be a start. Add this in your bp-core-adminbar.php or create in your custom.php file

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.