Skip to:
Content
Pages
Categories
Search
Top
Bottom

Tips required to use sliding login panel in place of the traditional bp bar.

Viewing 9 replies - 1 through 9 (of 9 total)
  • @r-a-y

    Keymaster

    A couple of considerations here.

    If you use this login panel, you’ll most likely want to disable the BuddyBar. Just something you might want to think about.

    Secondly, play around with that jQuery script. When you have the script actually toggling, then the next step is to implement the BP login form.

    For this, you’ll want to examine the bp_login_bar() function (found in wp-content/plugins/buddypress/bp-core/bp-core-templatetags.php – line 589 and on).

    You can either call this function directly or create a copy of the function and modify it for your needs.

    You’ll probably also need to style it so it works the way you want it.

    Hope that helps!

    @mohitkr05

    Participant

    Thanks.Ray..Actually ..the tutorial helped.But my actual consideration was that i was unable to display the after-login menu i.e My account, My blogs and so on in the panel..
    I was unable to find the functions..which i can implement in
    <li> tags </li>

    Thanks again…

    @r-a-y

    Keymaster

    Hey Mohit,

    Check out “wp-content/plugins/buddypress/bp-core/bp-core-adminbar.php”

    All the function calls are there.

    @mohitkr05

    Participant

    Thanks ray..I will try to implement it.

    @rohan_kapoor

    Participant

    if you get this working, please share!

    @mohitkr05

    Participant

    Require help….
    I have almost implemented the sliding box..But i am having some problems..
    I used

    <?php do_action( 'bp_adminbar_logo' );?>
    <?php do_action( 'bp_adminbar_menus' );?>

    to implement the menu..and it shows menu like this—
    My Account

    * Activity
    o Just Me
    o My Friends
    * Profile
    o Public
    o Edit Profile
    o Change Avatar
    * Blogs
    o My Blogs
    o Recent Posts
    o Recent Comments
    o Create a Blog
    * Wire

    How can i implement different menus at different place??

    and how can i call the register page .into the box…
    thanks for help

    @r-a-y

    Keymaster

    Read this again.

    If you look at /bp-core/bp-core-adminbar.php, all the functions are defined.

    eg. if you want to call the “My Account” menu, use bp_adminbar_account_menu()

    For the register page, study how this page is built: wp-content/plugins/buddypress/bpthemes/bphome/register.php.

    @mohitkr05

    Participant

    Hey , Thanks to R-A-Y. i have modified the code snippet for sliding panel script based on jquery. I need help to test and to Improve (possible convert into a plugin) the sliding panel script for bphome and bpmember themes.

    I will integrate it with this my current buddypress installation tomorrow so you can see the demo.

    Thanks

    @r-a-y

    Keymaster

    Good job! Glad you got it working, Mohit!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Tips required to use sliding login panel in place of the traditional bp bar.’ is closed to new replies.
Skip to toolbar