Tips required to use sliding login panel in place of the traditional bp bar.
-
Hey all..
I am trying to implement the sliding login panel based on jquery.A very good tutorial i found here http://web-kreation.com/demos/Sliding_login_panel_jquery/ .But as i am quite a noob in bp can anyone give me a basic overview on this.
Thanks for help
-
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!
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…
Hey Mohit,
Check out “wp-content/plugins/buddypress/bp-core/bp-core-adminbar.php”
All the function calls are there.
Thanks ray..I will try to implement it.
if you get this working, please share!
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
* WireHow can i implement different menus at different place??
and how can i call the register page .into the box…
thanks for helpIf 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.
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
Good job! Glad you got it working, Mohit!
- The topic ‘Tips required to use sliding login panel in place of the traditional bp bar.’ is closed to new replies.