Patrick
Supreme Deity
WPMU DEV Staff
Lifetime member
Support Likes (0)
Hi all,
I thought I'd share a bit of fun with everyone. I've been designing a few custom features for one of my projects: http://kwitterz.com The launch of kwitterz will - hopefully - coincide with the re-launch of my book... hint, hint :o)
One of the things I really wanted for this project was a simple sliding login panel with all the logged-in BP-user links available to members. My search turned up several for WP, but none worked well with BP, most not at all. So I took matters into my own hands. The result is my modification of the SuperSlider-Login plugin: http://wordpress.org/extend/plugins/superslider-login/ See the screenshots below for logged-in and logged-out views.
If you'd like get this for your site, click the download link below to get the zip which contains the file: login_panel.php Replace the file of the same name in the plugin with the one from the zip. All I've really done is switch out the WP dashboard links with BP profile links.
There is one custom link that I've left in there to show you how to add your own. If you don't want it - and you probably won't 'cuz it links to my site - just delete it. You'll find the code for that link at line 46 of the modified login_panel.php
The nice thing about the SuprSlider-Login plugin is that it comes with a useful admin panel where some basic customization can be done. To get the exact look as in the screenshots, select the default style in the plugin's admin panel, and add the following css to your active theme/child-theme's stylesheet. This style was designed for WPMUdev's SimpleMarket theme, but go right ahead and play with the colors and stuff to get it to fit the look and feel of your own site. If you want the panel to stay fixed at the top of your screen instead of scrolling with the page, uncomment the first line.
/*body #toppanel {position:fixed;}*/
body #loginpanel {
background:#F8F8F8;
}
body #loginpanel .content {
width:100%;
margin:0;
}
body #loginpanel .first {
border-left:1px solid #ddd;
}
body #loginpanel .second {
border-right:1px solid #ddd;
min-height:255px;
}
body #loginpanel input[type="text"], body #loginpanel input[type="password"] {
background: none repeat scroll 0 0 #FFFFFF;
border: 1px solid #EEEEEE;
border-radius: 5px 5px 5px 5px;
padding: 0.5em;
}
.bt_login, .bt_register {
margin:5px 10px;
}
body .logintab {
border-top:2px solid #ccc;
top:-1px;
}
body .logintab ul.login {
top:-2px;
}
body .login li.ss_left {
border-left:2px solid #ccc;
}
body .login li.ss_right {
border-right:2px solid #ccc;
}
body .login li {
background:#F8F8F8;/* Old browsers */
background:-moz-linear-gradient(top,#F8F8F8 0%,#D6D7D6 100%);/* FF3.6+ */
background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#F8F8F8),color-stop(100%,#D6D7D6));/* Chrome,Safari4+ */
background:-webkit-linear-gradient(top,#F8F8F8 0%,#D6D7D6 100%);/* Chrome10+,Safari5.1+ */
background:-o-linear-gradient(top,#F8F8F8 0%,#D6D7D6 100%);/* Opera11.10+ */
background:-ms-linear-gradient(top,#F8F8F8 0%,#D6D7D6 100%);/* IE10+ */
filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#F8F8F8',endColorstr='#D6D7D6',GradientType=0 );/* IE6-9 */
background:linear-gradient(top,#F8F8F8 0%,#D6D7D6 100%);/* W3C */
border-bottom:2px solid #ccc;
}
#loginpanel img.avatar {
padding:0.6em;
border:1px solid #ddd;
}
#loginpanel .message-subject img.avatar, #loginpanel #friend-list img.avatar {
float:left;
height:30px;
width:30px;
margin-right:5px;
}
#loginpanel .message-meta {
width:170px;
}
If you need help with any aspect of getting this working on your site, respond to this post and I'll see what I can do (please remember to include a link to your site so I can see what's going on).
Have fun! :o)
Here's the download link:
https://www.yousendit.com/download/M3BtWUhwYUlreEF3anNUQw

Responses (13)
Support (joined July 2011) Likes (0)
Oh yeah, one more thing: the image on the left of the logged-out screen is also hard-coded in the file. To change or remove it, you'll find it at line 173 of the zipped login_panel.php
:o)
Support Kangaroo (joined March 2011) Likes (0)
Greetings pcwriter,
Thank you for another fine contribution to the members of the WPMU Dev forum, you are truly a real treasure to have here.
Cheers, Joe
Community Engagement (joined April 2010) Likes (0)
Agreed!
Support (joined July 2011) Likes (0)
Aw geez, guys, now I'm blushing again.
:o)
Member (joined July 2010) Likes (0)
boo hoo, the link doesn't seem to be working.
I think the book and website release at the same time is a good idea.
Support (joined July 2011) Likes (0)
Try this one from 4shared:
http://www.4shared.com/zip/p8z3bULl/login_panel.html
Support (joined July 2011) Likes (0)
Ooh... it just got better.
If you're the site or network admin, you can have both your BP-profile links and WP-dashboard stuff like the screenshot below (for users/subscribers, the login panel will still display like the screenshots above). If you prefer things like this, grab the replacement file here (use the file in the zip to replace login_panel.php in the plugin): http://www.4shared.com/zip/j7d8gK0S/WPBP_login_panel.html
Have fun! :o)
Support Kangaroo (joined March 2011) Likes (0)
Greetings pcwriter,
Please send me the latest version so I can go ahead and attach it to this ticket for the members to not have to join a place to get it. aecnu (at) incsub.com
Cheers, Joe
Support (joined July 2011) Likes (0)
Hiya Joe,
You caught me just before bedtime... checking email and the forum after attending the latest production of Cirque du Soleil: Amaluna. What an extraordinary evening this was!
I sent you the zips.
Thanks for posting this! :o)
Support (joined July 2011) Likes (0)
Hi again Joe,
Just saw this thread: http://premium.wpmudev.org/forums/topic/option-for-tip-amount#post-216151
I'll be using MediaFire form now on. No need to create an account there to download stuff!
Support Kangaroo (joined March 2011) Likes (0)
Greetings pcwriter,
Sounds good to me. I did receive your email with the files attached and have attached them below for easy access by members.
Cheers, Joe
Support Kangaroo (joined March 2011) Likes (0)
Greetings pcwriter,
Thank you for this valuable contribution to the WPMU Dev forums and members.
Hopefully folks will find it as cool as I have to use.
Cheers, Joe
Support (joined July 2011) Likes (0)
Hiya Joe,
I'm glad you like it.
But so far, it doesn't look like anyone else has downloaded it.
:o(
Become a member