0.6.7
add_usermeta. Changed it to the correct update_usermeta.0.6.6
wp-login.php. You can now choose to redirect them to the Front Page or to the Dashboard as normal.0.6.5
wp-login.php caused a redirect loop when WordPress was installed in different folder to the site URL.0.6
0.5.1
template_redirect no longer requires the plugin to exclude wp-login.php, wp-register.php, xmlrpc.php or anywhere in wp-admin from being inaccessible, or to check if page is a 404.wp-feed.php to the list of files in the function that restricts access to feeds.sprintf from the variable that gets the current URL.0.5
wp_head in previous versions made the feeds accessible without being logged in.wp_head to template_redirect which fixes an error where in some situations WordPress would give an error saying Warning: Cannot modify header information - headers already sent...0.4.2
preg_match and replaced with strpos except checking for wp-admin URLs.init back to wp_head otherwise 404 pages can't be redirected. If this causes problems, like the 'Cannot modify header information' error you can change this back to init but a 404 page will be able to be seen as normal.0.4.1
preg_match used to check the url highlighted by mrgreen. The fix in 0.4 didn't work full as you could still add the full url of wp-login.php as a variable and bypass the check. The preg-match now uses parse_url to only check only the path of the url and nothing else. All users using Members Only should upgrade to version 0.4.1 as soon as possible to avoid this flaw being taken advantage of.0.4
preg_match used to check the url highlighted by mrgreen. All users using Members Only should upgrade to version 0.4 as soon as possible to avoid this simple flaw being taken advantage of.xmlrpc.php from being protected by Members Only.0.3
Warning: Cannot modify header information - headers already sent...wp-register.php and wp-admin/* from being protected by Members Only.$members_only_reqpage).0.2
0.1
The settings for Members Only are extremely simple. You have a check box that will toggle whether your blog can be access by visitors with or without logging in. The default setting allows visitors to visit your blog as normal.
If you choose to make your blog only accessible to visitors that are logged in, a visitor that isn't logged in will be redirected to either the WordPress login page or a specific page of you choice. This choice can be selected via a drop down menu. You can enter the specific page to redirect to at the bottom of the options page, but if this field is left blank, visitors will be redirected to the login page instead
If you chose to redirect to the WordPress login page, you can also decide whether once the visitor has logged if they will be redirected back to the page that they originally requested. This can be toggled with a check box.
You can also choose how you protect your feeds on you blog. You can choose either requiring Feed Keys, require users to be logged in or have your feeds open to all. Feed Keys allow your users to access your feeds using feed readers or other things that don't login to WordPress.
Members Only can also protect you feeds in two ways. You can either require user's to be logged in to the site to be able to access your feeds, require users to use Feed Keys to be able to access your feeds or have no protect on your feeds allowing anyone to access your feeds.
What are Feed Keys?
Feed Keys, are unique 32bit keys that are added to your blog's URL in order to give every registered user a custom feed URL.
A Feed Key looks something like this: 206914af21373cc4792a057b067d2448
This is then appended to the feed url for your user in their User Profile, like the examples below, either without permalinks...
http://example.com/?feed=rss2&feedkey=206914af21373cc4792a057b067d2448
...or with permalinks
http://example.com/feed/?feedkey=206914af21373cc4792a057b067d2448
When a user visits a feed on your site, Members Only checks to see if there is a Feed Key in the query section of the feed URL and checks whether it is stored in the @wp_usermeta@ table of your WordPress database. If it finds the Feed Key in the database it allows access to the feed, otherwise it presents the user and error. An error will also be give if no Feed Key is found in the feed URL.
How and When are Feed Keys Generated?
A Feed Key is generated by creating a 32bit random alpha-numeric-case-insensitive string that is then hashed against the user's username, insuring that no two users can ever have the same.
Feed Keys are generated when the user logs in to your blog. If they don't have a Feed Key, one generated for them and stored in the wp_usermeta table in your database, otherwise they will use the one that is already stored in the database. An admin can also manually generate a Feed Key for a user by visiting there user profile and choosing the option.
If you allow it, users can also reset their Feed Keys from their user profiles or you can leave this to Admins.
Members Only now allows an Administrator to grant a one-time view from there own IP address. The IP is hashed with md5 and stored in the Members Only settings. Once the next visit from that IP address is recorded, the IP address is removed from the settings and your WordPress blog is protected as before.
This allows XML RPC applications, such as WordPress for iPhone and other third-party blog editors to login to the site for the first time. Subsequent visit from these editors don't require this visit as they know where the xmlrpc.php file is, and this isn't restricted by Members Only.
No known issues at this time.
If you find any bugs or want to request some additional features for future releases, please log them the projects tracker page




