Click Here to Learn PHP in 17 Hours!
Users Only – WordPress Plugin
July 31st, 2009 | Posted in Web Design.== Description ==
This plugin will allow you to set page/post specific permissions for user access.
== Installation ==
1. Download the plugin, extract and upload it to your plugins folder on your server.
2. Activate the plugin.
3. Edit a page/post.
4. Select which users can have access to editing that page/post.
5. Publish or Save the page/post.
== Changelog ==
= 0.2 =
* Updated version compatibility. Some versions of WP did not work with the first release.
= 0.3 =
* Removed Submit button on “User Permissions” page if there are no users that are not administrators.
* Added patch to Add New Page/Post. Some users reported an error when creating posts/pages.
== Donate ==
Developing these plugins that are helpful for you takes time. Please considering donating.
Related posts:
- Want To Develop A New Wordpress Plugin?
- Seven Slick Wordpress Plugins You Shouldn’t Be Without
- Monetize Your Blog: How To Become A Blogging Ninja With This POWERFUL Plugin
- Making Use of Gallery WordPress Themes
- Check Out Wordpress SEO Tips You Don’t Want To Ignore

Chris
August 8th, 2009 at 6:52 pm
Greetings,
I like the looks of the plugin very much, but ran into an error I thought you might want to be aware of. I was creating a new page and before publishing, I checked one of the users in the user permissions section. When I hit publish, I got the following error:
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/csears/webapps/pmclients_wp/wp-content/plugins/users-only/users-only.php on line 216
Warning: Cannot modify header information – headers already sent by (output started at /home/csears/webapps/pmclients_wp/wp-content/plugins/users-only/users-only.php:216) in /home/csears/webapps/pmclients_wp/wp-includes/pluggable.php on line 865
I’m running 2.8.3. If you’d like I can work on tracking down the bug and send you a patch.
Thanks!
– Chris
Ryan
August 10th, 2009 at 3:52 pm
you need to fix this plugin
Running WP 2.8.3 and i got this error
PHP Error Message
Warning: Invalid argument supplied for foreach() in /home/a6140072/public_html/wp-content/plugins/users-only/users-only.php on line 49
Allan Collins
August 10th, 2009 at 4:28 pm
@Chris – Thank you for the information. I have applied a patch in version 0.3. Please let me know if this resolves your issue.
@Ryan – Thanks for pointing that out. This was caused by there not being any users below administrators. I have resolved this issue.
If you like this plugin, I encourage you to use the donate link above.