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. Roberto Verli says:

    Even with the new version I keep getting the error after i login, it logins but with this error message.
    Can you help me?

    Comment made on March 24, 2008 at 9:26 pm

  2. LaNeT says:

    thanks. good work.. teşekkürler.

    Comment made on March 30, 2008 at 4:20 pm

  3. Mark Gilbert says:

    Line 37 of the code contains an unescaped ampersand which throws up a rendering error when the page is served as application/xhtml+xml as opposed to text/html.

    Changing the line to read as below fixes the problem.

    Logout

    Comment made on March 30, 2008 at 11:06 pm

  4. Randy says:

    I was hoping that Mark Gilbert’s comment was going to give me the answer to my problem with cookies in WP 2.5, but the new line of code isn’t showing.

    I really don’t know what problem his new code is aiming at fixing anyway.

    Anyone?

    Comment made on April 10, 2008 at 11:24 am

  5. kidata says:

    The ampersand in the log out URL
    (Line 37: … wp-login.php?action=logout&redirect_to= …)
    should be written as a HTML-Entitie to create valid pages.

    (Version: 1.51)

    Comment made on April 18, 2008 at 12:00 pm

  6. Mike Jolley says:

    @ Lynda M – It only shows if registrations are enabled in your blog. Check wordpress settings.

    @ Randy – Fixing it myself now, will post when fixed – thanks Mark

    Comment made on April 18, 2008 at 10:24 pm

  7. Mike Jolley says:

    Ive just updated the file, it works fine on my local and online wordpress copies (v 2.5). Anyone having problems with it now?

    Comment made on April 18, 2008 at 10:59 pm

  8. Reyality says:

    First of all thanks for this great widget! My apologies if this has already been answered… but I’m having a hard time trying to change the color of the displayed username with my limited CSS knowledge. Any assistance would be greatly appreciated.

    Comment made on May 14, 2008 at 8:16 pm

  9. Seth says:

    It seems to work ok until I try to logout – when I click the link to logout nothing happens. Anybody else having a problem with the logout?

    Comment made on May 17, 2008 at 10:50 pm

  10. jay says:

    Hi,
    I installed the side bar login and everything looks fine.
    However, when you click on register and put in desired username and email address.

    The site says check your email for your password. but no email arrives. i have asked a couple of people to register on different computers, and none of us have received an email with the password :o S

    Can any1 help, it would be much appreciated.:o)

    thanks :o )

    jay,.

    Comment made on May 19, 2008 at 11:15 am

  11. kilbot says:

    Is anyone having problems with Wordpress 2.5? I’ve tried installing this plugin on my theme and the default theme, but when I try to login in PHP returns this error:
    Fatal error: Call to undefined function get_userdatabylogin() in /path/to/public_html/wp-includes/capabilities.php on line 153

    Comment made on June 12, 2008 at 3:09 pm

  12. sf says:

    Hi folks… I got a problem when I click on Dashboard using your wonderful Plugin. I come to the dashboard but the Url says only “http://localhost/wordpress/wp-admin/”

    I do a lot of backend hacks… and they don´t work on the dashboard. It took me a day to find out that works well when I fix the url by hand to “http://localhost/wordpress/wp-admin/index.php”

    Now i am looking for the line in your plugin to hack it myself… but i a m a designer ;-) Could anyone help, please

    Comment made on June 22, 2008 at 7:31 pm

  13. robgundling says:

    Hey Mike…

    Finally getting to check this thing out in WP 2.5.1. It works but when logging in it doesn’t quite go all the way. It chokes up at authentication and still makes you login using the wordpress screen.

    I’ll try to see if I can’t figure it out, but thought I’d at least shoot it your way.

    Thanks for the great plugin and all the help.

    Comment made on June 26, 2008 at 1:17 am

  14. robgundling says:

    Okay – so it’s either being PHP4 that was the problem or beingin a subfolder on the domain.I had this particular WP Blog running in a subfolder since it was a blog in development on a PHP4 host. I have the site live at the domain level with no subfolders now on a PHP5 host and it works.

    Weird stuff… but it does work with 2.5.1 for me now.

    Comment made on June 27, 2008 at 2:41 am

  15. Shaun says:

    Hi there,

    Firstly, thanks for the great plugin, it is one of the most useful plugins I have found!

    I do need some help though, as I seem to get an error fairly often when a user tries to login and it directs them back to the general wordpress login page.

    Is there a way to find out the reason for this?

    Thanks again for the great plugin!

    Comment made on July 14, 2008 at 2:59 pm

  16. pozycjonowanie i optymalizacja says:

    nice site thx for useful informations

    Comment made on October 4, 2008 at 1:50 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 »
ThemeSlice
  • Featured work - More

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

    • Phew, rabbit was found in the school.
  • Out of the blue - More

    • MiniCard 1.1.7 Update

      I have just uploaded 1.1.7 of MiniCard here and to the WordPress theme directory. This updates includes:

      • New networks; xing, gowalla, yelp, foursquare, mobileme, google buzz
      • A way to change link text and define multiple links of the same network
      • A way to define your own custom links + icons
      • Improved admin panel

      Hope you like it, and don’t forget you can show your support by purchasing the premium pack from here.

    • Switched: From Shared to VPS

      It’s been about two weeks now since I made the transition from a shared reseller hosting account to a VPS (Virtual Private Server) account – impressions so far, excellent performance but fiddly to configure.

      The reason I wanted to change from shared hosting was the fact the server was always being hacked (even though ALL my scripts were secure), there was frequent downtime, support blamed me for problems every time, and it was slow as hell.

      Those used to a shared hosting environment would probably not know where to start when faced with configuring a VPS. Luckily, a lot of it was pre-configured when I received my account – certainly some of the major security holes were patched. I was not satisfied with those however. As a victim of hacking in the past (previous host swears it was not there fault, something I don’t believe) I took extra care to secure it as a much I could – configuring brute force detection, the firewall, installing mod security (excellent rules for that here: http://www.atomicorp.com/wiki/index.php/Atomic_ModSecurity_Rules) and going though multiple guides (like this one: http://www.webhostingtalk.com/showthread.php?t=468168) with a fine-tooth comb.

      The result? My pages are loading at least 6 times faster, I have had no down time (or at least have not noticed any), and I feel in control and happy. No longer am I at the mercy of shared hosts :)

      If your interested, I chose ServInt as my provider as they offered a great deal, as well as being a managed service (so I’m not on my own if I screw things up). I was tempted by the bells and whistles of Media Temple, but felt the ServInt service was better value.

    • Download Monitor 3.2.2 Maintenance Release

      Download Monitor has received some more love and has been updated. Here’s the change log from the new version:

      • Small bugfix in uploader.php – cat ID
      • Changed stats graph calculation – thanks lggemini
      • Changes to headers in download.php to avoid caching
      • File Browser fixes – $root was clashing with something….
      • exclude_cat works in all sections of download_page now
      • Removed hardcoding of /uploads/
      • Added action to download.php – should be able to use it to stop a download if you want – maybe limiting downloads per day or something? Whatever you want…
      • Made it so if you post new file on ‘edit’ screen, the post date is updated.
      • Fixed the ‘blank meta’ section which blanks out custom field values when nothing is set.
      • Moved ‘allow_url_fopen’ check.
      • Someone said downloads don’t work with spaces in the name. They do! Wasting my time sonny…
      • All work and no play make jolley a dull boy
      • Had to rename capabilities so they work. Apologies if you have to set this up again! Cheers to Mark Dingemanse.
      • {category_ID} custom format tag added. Useful if you want to send someone to its category on the DL page I guess. Also added {category_other} so when no category is set “other” is shown – this is because the download page can show an ‘other’ section if you want it to.
      • You can now manually edit the post date on the edit download screen.

      If you have edited capabilities for download monitor user permissions, you’ll have to again sorry! This is because I named them too long. Also, you should check your forced downloads still work because there was a logic error meaning they may not have been forced after-all…

      Enjoy.

    • Mahousive update to Download Monitor (3.2)

      Today I completed the update for the Wordpress Download Monitor Plugin – many tweaks, fixes, and features added. There were no changes to the database structure so people upgrading should be fine. Here is the list from the change log:

      • {user} tag added for custom formats
      • ‘autop’ option fix
      • Download page buttons applied with CSS so they are easier to customise/translate.
      • Fix for pagination bug after editing a download
      • Category output fix on edit downloads screen
      • Category urls on download page use ID rather than name to prevent errors when cats have the same names.
      • exclude_cat added to download_page shortcode
      • Localised ‘hits’ ‘date’ ‘title’ on download page
      • Option to disable the download logging
      • Read file ‘chunked’ some people found large files were corrupted so this should help (fingers crossed)
      • Added show_tags option to download page – displays x amount of tags on the download page.
      • File Browser root setting and download.php logic/mime types modified thanks to Jim Isaacs (jidd.jimisaacs.com)
      • Interface Improvements
      • Bulk edit categories, custom fields, tags, member only downloads
      • Added roles for download monitor admin – should be able to use with a role manager plugin if you want anyone other than admin to access the admin section e.g. http://wordpress.org/extend/plugins/capsman/
      • Change redirect after add
      • Edit Cat names/parents
      • Dedicated tags and thumbnails fields (they still use meta table though)

      And yes, those category link bugs are fixed at long last, and you can edit category names finally. Phew!