A Wordpress Login Widget – Sidebar Login Widget

August 11, 2007 | Published in: Wordpress & plugins | Tags: , , , , , 120

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


Sidebar Login WidgetWant to allow users to log into wordpress from the sidebar? Doing so is not as simple as it sounds, so to ease your stress I have created a widget to handle everything.

It lets users login, and then redirects them back to the page they logged in from rather than the backend, it also shows error messages. Read more for more information and the download link.

Sidebar Login Widget v1.5 Build 20070122

By Mike Jolley ( http://www.blue-anvil.com )

What is it?

It’s a widget that allows users to login to wordpress from the sidebar! It uses php sessions to cleverly retrieve the wordpress login error messages, and uses redirects to send the user back to the site, rather than the wordpress backend.

Screenshots

User not logged in:

Not logged in screenshot.gif

User logged in:

Logged in screenshot.gif

Errors!

Error! Screenshot.gif

Get it now!

Download Sidebar Login Widget Version 1.55

| Index |


Installation Instructions

Simply:

  1. Unzip and upload the php file to your wordpress plugin directory
  2. Activate the plugin
  3. Goto the presentation > widgets tab
  4. Drag the widget into a sidebar and save!

| Index |

License

Wordpress Sidebar Login Widget © Copyright 2007-current.
Mike Jolley


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

| Index |

Support my sweat, blood and tears

I know, that sounds gross, but we really did put ALOT of effort into this widget. If you like this widget please make a donation via paypal! Any amounts are welcome, your support is much appreciated.


| Index |

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

Related Entries

120 Responses to “A Wordpress Login Widget – Sidebar Login Widget”

RSS feed for comments on this post.

1 ... 3 4 5
  1. Cleo says:

    Thank you very much. However, can you elaborate on how to set this up with CSS tags? I’m having a terrible time trying to customize the look and feel of this.

    Comment made on May 3, 2008 at 2:29 am

  2. Mike Jolley says:

    Cleo – look at the form code in the plugin; use the id’s. e.g. li#sidebar-login { background-color:#ccc; }

    Comment made on May 3, 2008 at 9:32 am

  3. Cleo says:

    I looked through the .php file – probably the wrong place to look and came up empty. I spent quite a few hours trying various permutations of code and made little ground. I also looked at other people’s CSS to see what they were doing.

    Would it be possible to include a .css reference sheet with this plugin?

    Thanks!

    Comment made on May 3, 2008 at 8:40 pm

  4. Mike Jolley says:

    Search the plugin for “

    Comment made on May 3, 2008 at 10:40 pm

  5. Matthew says:

    Great widget. Having a reacuring problem though.

    When a user tred and logs on via the widget they get this message; “ERROR: WordPress requires Cookies but your browser does not support them or they are blocked.” but if they retry in the same page as the error message they get redirected to their dashboard. WHat do i do?

    Comment made on May 9, 2008 at 2:29 pm

  6. Mike Jolley says:

    I have not been able to find the cause of this; some people get it, some people dont. I will most likely create a new version for v2.5 specifically.

    Comment made on May 10, 2008 at 4:31 pm

  7. manuel manceli says:

    nice plugin bro. make more plugin so that i we are always in your side :)

    THANK AGAIN

    Comment made on May 13, 2008 at 11:17 am

  8. jay says:

    Hey,

    I installed the side login, which is great.
    but when users register they dont get emailed a password. I have got a few people to register on different comps, but no password is emailed.

    Any ideas whats happening here?

    Thanks,

    Comment made on May 20, 2008 at 2:00 pm

  9. Mike Jolley says:

    @jay – this widget does not handle registrations..its down to wordpress itself.

    Comment made on May 20, 2008 at 2:42 pm

  10. jay says:

    to mike jolley:

    cheers mike.
    yeah that makes sense.
    so any ideas why wordpress isnt emailing the passwords. I cant see anything in the settings that could affect it.
    Or do i need to allocate an email address from my site for wordpress to use to email people??

    any help would be great :o )

    Comment made on May 21, 2008 at 2:30 am

  11. Mike Jolley says:

    Check your host has the mail() function, or just post on official wordpress forums for help.

    Comment made on May 21, 2008 at 10:13 am

  12. Brian Vaughan says:

    Great Plugin. I would like to add this to the list of default widgets for *some* themes in a wp_mu installation. What code should I add to the sidebar.php file to accomplish this?

    thanks!

    Comment made on May 27, 2008 at 11:02 pm

  13. Lucas says:

    Hi,

    Just like Seth I also have problems to log out! But only when I log out viewing post. When you log out from the frontpage the URL looks like:
    logout&redirect_to=URL/ Then I logged out and see the frontpage.

    But when I log out while viewing a post or page it goes wrong. The link then is: redirect_to=URL/?p=5. Now I get an Internal Server Error.

    When viewing a page and use the first URL (as if im logging out from the frontapge) it goes fine.

    Of course I change the redirect URL to fix this, but the strange this is that it only happens on the WP installation on my external webserver. On my localhost it all works!

    Any ideas?

    Comment made on June 4, 2008 at 10:41 am

  14. Eric says:

    Plugin works great on WPMU 2.7 and WP2.7, except for the logout. When attempting to logout, i get redirected to an error page that says “you are attempting to log out” and i am unable to logout. The log out link shows … wp-login.php?action=logout&redirect_to=http://blogs.mysite.com It seems to be missing the wpnonce call. Any thoughts?

    Comment made on January 30, 2009 at 7:54 pm

  15. WPPR says:

    Like a poster above from 2007, I have this installed and it works great, but I am not seeing the register link???

    This is installed on the main blog on the latest WPMU and BuddyPress.

    Comment made on February 6, 2009 at 2:16 am

  16. Kurt says:

    Every time I try and add a link for “Dashboard” or “Profile”, the update adds “\” before and after the intended url. I tried editing the php file without any luck. Is there a way to correct these links?

    Many Thanks!

    Comment made on April 6, 2009 at 4:07 pm

1 ... 3 4 5

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

    • New blog post: MiniCard 1.1.7 Update http://blue-anvil.com/archives/minicard-1-1-7-update/
  • 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!