Re: Members only site
@Anom There already is a plugin for this, and it works very well. It’s called, I’m not kidding, Maintenance Mode. You can format the page it shows if the users are not logged in and it allows you to control what type of user can even log in. I limit access to Administrators only. No other users can log in until you turn it off. I don’t use it for maintenance, though. I use it to close off access to a site while it’s being built or I’m making significant appearance changes.
To get it, go into WP, go the plugins page in the dashboard, click Add New, type in maintenance mode for the search terms, and it will be the first item to show up. Nice, clean work and very reliable.
HTH -Tyler