I had come up with requirement where I need to provide a auto-login to WordPress blog with Guest user credentials. To accomplish that requirement first I had looked up at available plugins which can let me do that without writing a line of code. Finally I got something similar I wanted and I have modified that and written a plugin to match up that requirement. I owe lot to WordPress; and to add up my little contribution to WordPress community I have generalized that plugin and published it here on my blogs and WordPress Plugins directory.
To be fair this plugin is simple and do not have any interface from where you can configure it. Simply open up the auto-login.php file and edit following configuration array; that's it you are done.
How to configure WordPress Auto-Login ?
It's simple just look at code snippet and you will find out yourself..!
// Allow guest login from Friend URLs. Please specify list of all websites from which guest login is allowed.
// You can choose/specify different user to auto-login them from different websites.
$aFriend[] = array('URL' => 'http://life.digitss.com', 'USER' => 'guest');
$aFriend[] = array('URL' => 'http://www.digitss.com', 'USER' => 'guest');
$aFriend[] = array('URL' => 'http://www.dgtss.com', 'USER' => 'guest');
$aFriend[] = array('URL' => 'http://blogs.dgtss.com', 'USER' => 'guest');
Specify list of friend or ally websites along with USER. Yes, you can specify different User for auto-login from each website. So you can configure those websites based on roles/rights and set them up..!
Download WordPress Auto-Login Plugin
WordPress Auto Login Plugin

#1 by Richard on February 9, 2010 - 1:16 pm
Quote
Hi there. Many thanks for this really interesting plugin. Looks very useful.
Can you tell us how it works please, technically? I’m trialling it but notice that, when you log out of the guest user account on the password protected site, you’re not in fact logged out. I can select www.[sitename]/wp-admin and get straight back into the backend. Why is that?
Another question please is whether it’d be possible to make the autologon dependent on a click-through from a particular page on the referring website, rather than allowing any page on that site’s domain to action an auto-logon. So, instead of www.sitename.org allowing you in, you’d only be allowed in if you clicked a link to the site from, for example, www.sitename.org/pages/auto-login-page. Is that possible?
Many thanks
Richard
#2 by Toms Skyline Design on July 19, 2010 - 3:29 am
Quote
I installed your plugin. However, rather than allowing only users from one website to bypass the login it allows EVERYONE to bybass the login; which defeats the purpose of having a site locked down. So, it does not appear to work.
#3 by Dharmavirsinh Jhala on July 21, 2010 - 9:46 pm
Quote
Hi Tom,
Basically you need to configure this plugin..
Do you have a restricted login on your website?
If yes then you need to put a link to complete page from where you have kept link to your blog..
You can contact me if you have any problem configuring;
Though there seemed to be a bug which has been fixed. You can download another copy and try again..
Good Luck.