Wordpress Sidebar Login 2 – Optimised for wordpress 2.6

July 23, 2008 | Published in: Wordpress & plugins | Tags: , , , , , , 335

Sidebar Login 2At last! My sidebar login widget has evolved into ‘Sidebar Login’ which has both a widget and a template tag to allow you to have a login form in the sidebar of your wordpress powered blog.

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

Sidebar login is self explanatory really; it allows users to login to wordpress from the sidebar! This plugin requires wordpress 2.6 (that is all I have tested) in order to function; this is because wordpress 2.6 has a modified login system to older versions.

Screenshots

Login Form

Login Form

Logged in

Logged in

Change Log

You can track changes to the plugin in the wordpress plugin SVN.

Get it now!

You can get the latest version from the wordpress plugin database; Download it here!


Installation Instructions

  1. Unzip and upload the php file to your wordpress plugin directory
  2. Activate the plugin
  3. For a sidebar widget: Goto the design > widgets tab – Drag the widget into a sidebar and save!
  4. To use the template tag: Add <?php sidebarlogin(); ?> to your template.

License

Wordpress Sidebar Login © Copyright 2008-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.
optimised

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

Show your support – ensure continued development

I put a lot of effort into all of my plugins; its thirsty work so why not show your support by buying me a nice coffee :)

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

Related Entries

335 Responses to “Wordpress Sidebar Login 2 – Optimised for wordpress 2.6”

RSS feed for comments on this post.

1 ... 12 13 14
  1. garrett says:

    hello mike,

    once logged in, with no redirect upon login, there is an extra li element in ul class=”pagenav”. its always there in the page source. i never would have noticed but i was trying to display the links i added in the admin and the logout link inline and when displayed inline it adds an extra li marker.

    played around with it a little bit but its kind of late, any ideas?

    thanks very much, nice light and easy plugin.

    ReplyReply

    Comment made on March 3, 2010 at 7:40 am

  2. Daniel de Klerk says:

    Hi Mike ,
    This is a very nice plugin . I would like to know how to fix a problem or 2 .

    1)When you register or login and do something wrong you are redirected to the wp login/register page and from there to the dashboard which is defeating the plugin purpose .
    2)Can the LOGIN text on top be removed by any means ? I would like to not have it there .
    3)How do I move the text and blocks a bit to the left to fit into my sidebar ? I cannot see anything relevant in the css ?

    I am not a fundi but does understand a bit coding etc but sometimes does get blond moments .

    Please have a look at my site to see how much the text have to be moved .

    Thank you very much
    Daniel

    ReplyReply

    Comment made on March 3, 2010 at 10:19 am

  3. Daniel de Klerk says:

    Mike ,
    Sorry , me again but I forgot something .
    How do I add a captcha to this sidebar plugin ? Mine does not work now (si-captcha) but anything else you can suggest that will work here is fine with me . Just need to get automated regs and posts out , or try to at least .
    big thanks again .
    Daniel

    ReplyReply

    Comment made on March 3, 2010 at 10:26 am

  4. Mike Jolley says:

    @Daniel de Klerk: This plugin does not handle registration, only login. There are other plugins to prevent dashboard access. You can only remove the text through css or editing the code. Finally, add extra css styles to your theme’s style.css if you need to make it fit with your theme better.

    @garrett: You don’t have any extra line breaks in the admin section textareas do you? Settings > Sidebar login

    ReplyReply

    Comment made on March 3, 2010 at 9:13 pm

  5. Daniel de Klerk says:

    Thanks Mike
    One more simple q – can the dashboard and profile links be hidden or disabled in any way ? Thanks
    Daniel

    ReplyReply

    Comment made on March 4, 2010 at 3:19 pm

  6. David says:

    Great plugin.

    Having one issue. The option for leaving the “Login redirect URL” field blank in order to leave the user on the current page is giving me fits. If I leave the field blank it always redirects the user to the Dashboard. If I fill the field in with anything else, it redirects to whatever link just fine. But I’d really prefer to leave my users where they are when the login. The logout works just fine. I’ve read through all the comments and all the stuff out at the Wordpress.org extend section and can’t seem to find anything that will help. Any info would be appreciated.

    ReplyReply

    Comment made on March 8, 2010 at 9:36 pm

  7. Mike Jolley says:

    @David: View page source; whats the form action saying? (its in the form html tag)

    ReplyReply

    Comment made on March 9, 2010 at 7:07 pm

  8. extruendo says:

    I have problems with the widget.
    the widget makes others disappear
    Using WordPress 2.9.1

    ReplyReply

    Comment made on March 10, 2010 at 3:03 pm

1 ... 12 13 14

Leave a Reply

Why ask?

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!