I've moved! I've moved my online home to mikejolley.com, and thats where I'll be blogging primarily. This site will stay live for archive purposes :)

WordPress Sidebar Login Widget Update

January 22, 2008 | Published in: Wordpress & plugins | Tags: , , , , , 41

This plugin has now been replaced by an updated version which you can find here


Sidebar Login WidgetA number of users were experiencing errors with the sidebar login widget I created, issues such as bugs with cookies and headers sent. In a bid to stop these errors I have created a new version, compatible with wordpress 2.3.

This version is different to the others because rather than redirecting to the normal wordpress login page to log the user in, it has the code for login built into it, thus (in theory) solving the cookie/headers problems. Hoorar. Read more about the widget after the break.

This clever little widget lets users login from the sidebar, without even touching the wordpress login page. Very handy. The official post is here. Enjoy =)

Download

Download Sidebar Login Widget Version 1.55

Show your support

Found this post useful? Why not buy me a coffee!

Related Entries

41 Responses to “WordPress Sidebar Login Widget Update”

RSS feed for comments on this post.

  1. Creative Graphics and Communications says:

    When activated and tried to add the widget on the trunk version of WordPress I am getting following error:

    Fatal error: Cannot redeclare widget_sidebarlogin() (previously declared in {path-to}\wp-content\plugins\sidebarLogin\sidebarLogin.php:14) in {path-to}\wp-content\plugins\sidebarLogin\sidebarLogin.php on line 14

    Any help is appreciated.

    Comment made on January 23, 2008 at 5:01 pm

  2. Mike Jolley says:

    1) It shouldent be a in a folder, just straight in plugins/
    2) Because you have it in a folder, it makes me think you might have it in plugins/ too, and activated both…

    Comment made on January 24, 2008 at 8:20 am

  3. JamesT says:

    Hi Mike downloaded your sidebar login widget and I seem to have an issue with reset password, it sends out fine but when I click on the url to take me to the rest page it says that the key is not valid and asks me to enter the details again and so on….

    Any idea what could be the cause for wordpress not to recognise the reset url in emails …..

    Thanks

    Comment made on January 24, 2008 at 8:46 pm

  4. Mike Jolley says:

    Im confused to what you mean…the widget just shows a link to the reset page…the reset itself has nothing to do with my plugin.

    Comment made on January 24, 2008 at 11:15 pm

  5. puttee says:

    Hi, i tried this version because i have also problems with cookies. But this version does not work correct, too. I tested it on FF and IE7.0. After entering login data, error message for cookies appears still BUT when try it twice and more always the same error, so no login is possible.

    Hope you could help…thx

    PS: of course cookie are activate.

    Comment made on January 25, 2008 at 12:03 pm

  6. JamesT says:

    Mike Just for the record, I misunderstood the process for the reset password, it was brain failure not the widget, so thank you.

    I would like to reduce the size if the username and password field as it overlaps in my columns http://www.glasgowmods.co.uk. I looked at the sidebar.php and couldnt see a pixel setting, any help would be appreciated.

    thanks in advance

    Comment made on January 25, 2008 at 2:34 pm

  7. Brett says:

    Interesting, as I too was getting the cookie error but only sometimes… Unfortunate, as I know this information does not help. It’s consistent reproducible issues that help most. If I find out more, I’ll try to contribute. It’s working now, but when it wasn’t the error told me that the browser was not excepting cookies and would not log me in.

    Comment made on February 1, 2008 at 1:38 am

  8. Wilhelm says:

    Sounds good – thank you for working on that. I also experienced cookie issues with the previous version (2nd login attempt always worked though).
    I am looking forward to this update, but will wait a few more days – were you able to resolve ‘puttee’s problem?

    Thumbs up for this plugin though – on the right track :)

    Comment made on February 1, 2008 at 6:33 pm

  9. Wilhelm says:

    Me again,

    just tried to install and I made sure to clear cache and cookies and authenticated sessions from browser – and i find myself not being able to login via the sidebar login screen. i installed ver. 1.1 again and there it always works (although always the second time after the cookie message)
    hope that helps :]

    Comment made on February 1, 2008 at 11:22 pm

  10. Mike Jolley says:

    I see some people are still having cookie trouble. I’m going to try a fix someone sent me…

    Comment made on February 2, 2008 at 12:12 am

  11. Chris says:

    I’m getting a Call to undefined function: wp_safe_redirect() error when I log a user in. Any clue why?

    Comment made on February 6, 2008 at 4:49 am

  12. Chris says:

    “I’m getting a Call to undefined function: wp_safe_redirect() error…”

    Nevermind. I found the answer at WP Forums. I need to reload a fresh copy of wp-includes/pluggable.php

    I haven’t tried it yet, but it seems to solve the same problem by others.

    BTW, the plugin/widget is exactly what I need for my site.

    Comment made on February 6, 2008 at 7:42 pm

  13. Mike Jolley says:

    Gd gd, wp_safe_redirect is a new function in the new wordpress versions

    Comment made on February 6, 2008 at 9:55 pm

  14. YikYak says:

    Hi,
    I tried the update 1.51 of the widget to get round the cookie errors. My blog is behind https: and as a result the login widget just stopped working. Couldn’t login, and maybe couldn’t register etc (I didn’t leave it long enough to really find out). I changed all the http:// in the code to https:// and it seems to work now. Is there any way to build this in automatically?
    Anyway, thanks for a great plugin.
    YikYak.

    Comment made on February 13, 2008 at 10:55 pm

  15. Eder says:

    Tnx a lot for the update. We’re using your plugin on our site. :)

    Comment made on February 19, 2008 at 3:13 am

  16. Alessandra says:

    I thought that after a login a user’s info would automatically be entered in the required fields when wanting to enter a comnent to a post…. if this doesn’t do it, what does?

    Comment made on February 21, 2008 at 9:09 am

  17. Ian says:

    Hello,

    I recently installed this plugin and consistently get the following error after attempting to login. Do you have any advise on how to correct it?

    Fatal error: Call to undefined function: wp_safe_redirect() in /home/ian/public_html/wordpress/wp-content/plugins/sidebarLogin.php on line 131

    Comment made on February 21, 2008 at 1:28 pm

  18. Ian says:

    nevermind i reloaded the wp-includes/pluggable.php and that resolved the issue …for anyone else who has this problem i got the pluggable.php by downloading a new copy of wordpress.

    great plugin

    Comment made on February 21, 2008 at 1:45 pm

  19. newideal says:

    Hi. Is it possible to reduce the length of the input boxes for username and password? They are too long for my widget box.

    I took a look and couldn’t find the size in the plugin file. Thank you for the great widget!

    Comment made on February 26, 2008 at 6:43 pm

  20. Mike Jolley says:

    @new ideal – Style using css..if you modify the form you can add style="width:100px" or what ever length to the inputs.

    Comment made on February 27, 2008 at 12:18 am

  21. newideal says:

    Mike, thanks so much for the quick reply. It worked!! The boxes now fit. Thank you muchly for the help. I love the widget!

    Comment made on February 27, 2008 at 1:05 am

  22. silentkiller says:

    Many thanks! I have been looking for something like this!

    Comment made on February 27, 2008 at 8:14 am

  23. Shannon says:

    is there a way for this to work with a custom lost password or register page with in my site… I dont like that it still redirects them to the wordpress register and lostpassword pages away from my site

    Comment made on February 29, 2008 at 6:02 am

  24. Lynda M says:

    The “Register” link/text is not showing up for me at all. I can see “Lost you password?” just fine, but no “Register”.

    Please help! ;o)

    Thank you in advance. This is a great plugin!!!

    ~L

    Comment made on March 22, 2008 at 1:23 am

  25. JH says:

    Hey Lynda, me too, I’m getting the same problem.

    Works great but no Register.

    Comment made on March 24, 2008 at 1:32 pm

The comments are closed.

About this site

Blue Anvil is the online web design journal & portfolio of , a web designer from Norfolk, England. Read More »
MiniCard Theme for WordPress
  • Featured work - More

    • Beefjack
    • Integrity
    • theotaku.com
  • Latest Tweet - More

    • Hunt for old TV stand 2 hours. Loft - no. Spare room - no. Downstairs - no. Give up. Collapse on bed. Its under the bed o_0 #fail
  • Out of the blue - More

    • Download Monitor 3.3.5 Tagged for release

      The latest update to Download Monitor for WordPress has been released; this version comes with a many fixes and some new features, such as improved sorting. For full details view the readme; you can grab the plugin here.

    • Closing the Forums

      Just posting to let current users know that I’m closing the forum on Blue-Anvil. This is mainly due to spam-registrations getting out of hand and being a general nuisance. I will be posting good topics as FAQ items within posts if applicable.

      Please note that you can still post and get help for my plugins/themes by posting on the wordpress.org website.

    • Show off your MiniCard!

      Are you a user of the WordPress MiniCard theme? Its been downloaded over 14,000 times so far!

      If you have used it as-is, made your own child-theme or done something creative with it, please show off your MiniCard’s in the comments, I’d love to see how the theme is being used!

    • Spam Stopper updated for WordPress 3.0

      My Spam Stopper plugin has been updated for WordPress 3.0 (version 3.1.3) – you can grab it here. Sorry this update took longer than my other plugins but this one gets less lovin’ – if you want to change that feel free to donate, spread the word, or rate it on the WordPress.org plugin page.