You are reading Viewlevel 2.0. You can leave a comment or trackback this post.
Posted on July 30th, 2006 by mark.
Categories: WordPress.
Viewlevel 2.0 associates the permission level of viewing a post with the login level of the user.
There are 5 roles possible for logged in users:
There are 11 levels of capability, 0-10, and they are associated with user roles as follows:
This does allow a measure of control for setting permissions over viewing posts, however as this is only related to user roles it is not very flexible if you want to assign different view level permissions to subscribers as there is only one capability level assigned to that role.
For example, you only want friends to see your porn collection and only your family to see your photos of your modern dance performances and you don't want either to have a higher level of administrative access to your blog.
Upload the files from here to the plugins folder, activate the plugin
Go to the "write post" page write your post, go to the bottom of the "write post" page to "custom fields" add a new custom field with a key (custom field name) of "viewlevel" and a value of whatever you want to select. A value of "0" means that only people who are logged in get to see the post.
The options tab on the admin page now has a sub-tag called "viewlevel" to set the default post level, this is at "*" as default so all posts can be seen by anyone as a default.
0 comments.
Comments can contain some xhtml. Names and emails are required (emails aren't displayed), url's are optional.