The Members plugin is a user, role, and content management plugin. Its purpose is to make WordPress a more powerful CMS by giving you fine-grain control over the users of your site.
I created this plugin because I wasn’t satisfied with the current user, role, and permissions plugins available. Yes, some of them are good, but nothing fit what I had in mind perfectly. Some offered few features. Some worked completely outside of the WordPress role and capability system. Others lacked an appropriate license.
This plugin is still a long way away from my goals, but it’ll get there eventually.
What does the plugin do?
Members has what I call “components.” Instead of normal plugin settings, you get a components-selection page that allows you to choose only the features that you want to use.
The current components are (more will come in future versions):
- Edit Roles: Edit your user roles and their capabilities.
- New Roles: Create new roles for use on your site.
- Content Permissions: Adds a meta box on your write post/page editor that allows you to restrict content to specific roles.
- Widgets: Adds a login form widget and user-listing widget that you can use in any widget area on your site.
- Shortcodes: Creates shortcodes that you can use to restrict or allow access to certain parts of your posts and pages (or any other shortcode-capable area).
- Template Tags: New functions for use within your WordPress theme for various things.
- Private Blog: Allows you to create a private blog that can only be accessed by users that are logged in (redirects them to the login page).
Screenshots of the plugin
I’ve uploaded a few screenshots so you can see what part of the plugin looks like:
Ideas for future versions
Version 0.1 has been all about role and capability management, but that’s just the beginning. Version 0.2 will be about user management.
But, it’s not all about my ideas. I’ll be working through many of the ideas presented in my original post on this plugin. I’m also open to any new ideas you might have.
Download the plugin
Before using this plugin, please read the readme.html file included in the plugin download. It will guide you through everything you need to know about using it.
- Support: Support forums
- Download (from WP.org)
Please don’t use my contact page or the comments section below to ask support questions. Use my support forums at Theme Hybrid, which is where I handle all support questions for my WordPress projects.
Very good job!
Thank you for this plugin very nice and easy to use!
Thsi plugin seems to be very similat to Pippin’s Restrict plugin which is paid …
Since you plugin is free, I’ll definitely try it. Thanks
This is perfect! It’s much simpler to use than the other solutions out there right now. Thank you so much for putting the time to make this =D
Dan
I just installed this plug in and when I go to activate it, I am getting a fatal error message. Any thoughts on how to fix?
Exiting, will have to get a site to run this for a demo!!
Valentin — Thanks. Hearing you say it’s “easy to use” is the type of thing I like to hear. That’s been my number one goal with this plugin.
Larry Someone — You’re welcome. I’m glad you like it. I have loads of plans on new features and such in the future too.
Jason — Follow the instructions and make sure you meet the minimum requirements. It’ll work at that point.
The Frosty — Let me know how you like it once you get it running.
As always, you hit it out of the park, Tadlock. Nice work man. I’ve found gaps in other simply plugins as well, glad to finally have a solid tool in place.
One thought that occurred to me is that the plug-in seems quite close to being able to handle “premium memberships”, or those that require a monthly/yearly fee or access to certain content. Is this something you have considered for future builds?
Again, killer work man..you keep puttin’ it out.
…other **similar** plugins…
…fee **for** access…
Damn typos!
I am really looking forward to this plugin, it sounds like it really fills a few holes in Wordpress. Awesome initiative, and consider me a future user.
I wanted to note one thing though, before you spend too much time on the role management. Perhaps this is a non-issue, but the other day I managed to listen through a podcast interview with Mark Jaquith on the future of Wordpress (link: http://www2.webmasterradio.fm/press-this/2009/09/01/future-of-wordpress/). He mentioned that fewer than 5 percent use the user roles as they are implemented now, and that:
* he wants to rework (or refactor, I think the term is) that entire system
* eventually merge WPMU with WP
So in my ears that’s certainly not a reason not to build your plugin, but it’s good to keep in mind while building it.
Cody Redmon — Handling paid memberships and subscriptions is definitely on the to-do list. I’m not familiar with working within those systems (e.g., PayPal, Google Checkout), but I’m hoping I can bring someone on in the future that’ll be able to put together a component to handle it. If nothing else, I might just have to learn how to do it myself.
I actually mentioned this back last September in my post Wanted: WordPress membership plugin. It’s something I’ve always had ideas about but haven’t had the time to put together.
Right now, it’s all about building the foundation for the entire system. This will make it easier for someone else to step in and code a payment system without having to deal with everything else.
Joen — Yep, I think the changes have been mentioned to me somewhere around 1,000 times.
From what I can tell, the changes will make my job much easier. I’m keeping an eye out though, and the plugin will adapt to WordPress when needed. I’ll definitely be on top of its development because I need this plugin for about five different sites.
Justin there is a really good service called chargify that handels all the payment integration that you are talking about. it has an incredibly simple integration process and handles all the back end stuff concerning recurring billing for membership and SOAS companies including payment failure and so on. I have used it for a site that I’m building at the moment and I cannot recommend it highly enough. Their URL is
http://chargify.com/
Nice plugin you got there! I will try using this one on one of my blogs. I think this one’s the thing that would really help me. I just bookmarked your blog also, hoping for more useful stuff and updates soon. Keep them posting!
Content Permissions: Adds a meta box on your write post/page editor that allows you to restrict content to specific roles.
i use custom fields outside my post content editor and with your plugin my custom fields aren’t able to be restricted. any chance in having the whole loop restricted and not just the content…
Good job, good work, good god you do like giving stuff for free!
This is great stuff you have done here! I actually have a project down the line were I’ll need to integrate amember with WP and the private blog functionality is perfect!
Not sure how to contribute, but I’ll write a small post about your Members plugin.
Can’t wait to see how this will develop!
hi !
I’m looking for a plugin that allows me to restrict each of my authors to post only in a specific category, does it make it possible?
For instance, author A needs to only post in Category 1. Author B needs to only post in Category 2. Author C can post in category A and 2.
Possible?
Thank you,
A.
its good ! is it possible to enable o disable permission to manage widgets ?
Great plugin..!! Thanks..
@Justin and Cody Redmon – I want to add the disclaimer that I hope you never start charging more than our club fees for you work, but perhaps this could be something that someone could do for a fee. It would seem sensible that if you wanted to exclusively make money with a plugin that you might have to pay for the solution. GPL of course!
Congratulations and thanks. I need this. I’m installed this on a multi-user site immediately.
minor point:
Your readme is excellent and concise. I installed the plugin through WP > Plugins > Add New. I do not see the read me available linked from this article or in WP. It’s easy to download and unpack or navigate to the plugin by ftp. But, probably, you want to streamline access to the read me in the interest of streamlining.
I can’t find the readme anywhere! Can you provide a link? x
Monica — Let me know how the plugin works out for you on your blog.
CG — Now, I want you to back up and think about what you wrote for a minute — seriously think about it.
“Custom fields.”
It’s impossible for the plugin to know what you want to do with your custom fields. They are custom after all. I don’t want my custom fields restricted. You do. The plugin can’t make sweeping generalizations about how people want to use something that’s custom.
Cristian — Free stuff is always great, right?
Honestly, I need the plugin for myself, so I might as well share it with everyone else.
Alexandre P — Nope, this plugin doesn’t do that.
Abu Aufa — You’re welcome. I’m glad you like it.
rgregory — I definitely see your point and agree completely. But, since I’ll be making money off of the plugin in other ways (if the development goes through), I’m fine with giving away that type of functionality for free.
Don Spark — Nah, not really. I’m more interested in having users that can figure out how to open a
readme.htmlfile. I have a system and like sticking to it. Really, I just don’t want to have to be making sure more than one thing is kept updated (I’m a little lazy sometimes).Great plugin. I tried to use in my blog…. but after activation .. not works fine because some conflict problems with other plugins
. I hate wp plugin conflicts!
custom fields are associated with a particular post… now if that post was to be excluded from certain groups, i’d also want the custom fields associated with that post excluded as well
Julian — If your other plugins were coded using WordPress coding standards, I doubt there’d be any type of conflict.
CG — That’s my point exactly — we disagree on this. I don’t want my custom fields hidden with the content permissions component. Niether of us is wrong or right for wanting opposite things. The entire point is that custom fields are “custom.” Hence the name of custom fields. It’s up to you to decide what to do with your own custom fields.
Besides, it’s not the post that is restricted. It’s the post content that is.
couldn’t we have the option?
Pete — “Option” to what?
what I want compared to what you want re custom fields being hidden… have an option tick box?
Thanks Justin. Can you add an custom individual page for Register in this plugin ?
When can I start translating this WordPress E X T E N S I O N?
Thanks Justin! This extension is clean, fresh, intelligent, etc. I love it, just like I love Theme Hybrid Framework and all your plugins. You tend to make exactly what I need when I need it. It’s kind of scary…
Justin,
I guess by the comments you are seeing that you have come upon a much needed plug-in. Having come from a PN background, I truly missed a great user management system. I am looking forward to using “members” and your future development of it. Congratulations on a job well done.
“Besides, it’s not the post that is restricted. It’s the post content that is.”
What’s the advantage in just restricting the write panel’s content and nothing else associated with the post compared to including custom fields that are WITHIN the loop. I see nowadays as WP is being used as a CMS posts are using custom fields more and more as a way to make it easier for users to submit their content in a more structured way… so in that sense it makes sense to me to include the whole loop as what should be restricted, not just the content.
What does everyone else think about this?
@ CG :
I think you could do this with the template tags available in the Members plugin. So both methods are possible. Even better!
Pete — See my replies to CG.
Julian — Huh?
Jan Egbert — You can start translating it anytime you want. I have missed a few strings, but I’ll be updating those in version 0.1.1. For the most part, the plugin is localized.
JimHadfield — Thanks. I’ve been needing better user management myself, which is why this plugin was created.
CG — There’s neither an advantage nor disadvantage. It’s just different. What might be best for you might not be best for another user. If you want to restrict an entire post, you can code that.
There’s a few things to keep in mind:
* This plugin cannot make generalizations about what should and shouldn’t be restricted. Filtering
the_contentandthe_excerptis about as far as the content permissions component will go.* A plugin cannot know what you want to do with your custom fields.
* A plugin cannot know exactly what’s within The Loop as all themes are different. Therefore, it cannot restrict everything within The Loop (nor should it make that type of generalization about what users want).
Just Tadlock – I translated the plugin. How do i get the translation to work? I put it in the members folder, didn’t work. I put it in a new folder called languages. Didn’t work.
Great tool. Well written and very functional. Wondering if there is a thought on adding the ability to provide multiple groups for users. Perhaps primary & secondary. Would be a really neat option.
The main reason we’re looking at it, is based on our desire to group users and send emails to those groups, but some site members could be members of multiple groups.
Jan Egbert — I’ve updated the translation issues in version 0.1.1 and added a
/languagesfolder.Wes Linda — The WordPress 2.8 branch currently supports multiple roles per user, but this is being dropped in 2.9. So, there wasn’t much use in adding in that type of functionality. As for the future, you probably won’t see groups. I like to work within the realm of what WordPress already provides. This plugin is basically just a user interface for things in WordPress that exist, allowing end users to have access to things that we devs already use.
You’ll just have to play around with your custom setup to figure out what’s best for you. Maybe think about it from a capability perspective rather than a role perspective.
Justin – Thanks for the quick reply. Understand your point, just have a specific need and like to work within the realm of plugins so that updates / upgrades can go as smoothly as possible. Never know the answer to a question till we ask. Thanks again.
Nice plugin,
Though it needs extra features on widget
- a link to “Register”,
- a link to “Logout” after logging in
- a link to go to “Profile” after logging in (Same way as AJAX Login Widget++ does)
I like this plugin better,
though I will wait till the next updates to use it.
Kiran
The best thing about MovableType is that they have user profiles, favoriting(recommending) and following functionality built-in.
Wordpress has plugins for each of these components but those do not work together. Please extend the functionality of your plugin so that wordpress could become a social blogging application.
Thanks.
I need to hide from user of certain roles posts and pages other than their own in the edit posts and edit pages admin areas.
I would like to and I think it’s possible to do this by simply adding them a “capability” which in this case would actually be a restriction.
After searching a bit i found a plugin that did just that, but it applies this to all user levels except admin. So I changed the code a bit.
This is about as far as I could go (I’m not much of a programmer – I’m a DIY-er as you gracefully previously described my kind):
The code above is inspired and derived from http://code.mincus.com/41/manage-your-posts-only-in-wordpress/ plugin created by mincus code.
There is an error in my code above: the esc_url needs to be replacesd with strpos in both instances.
The code from my previous comment hides posts and pages of other authors throughout the entire site, not just in wp-admin/edit.php and wp-admin/edit-pages.php.
Sorry for messing up.
Hey Justin, great work man. I was messing around and noticed that the content permissions replaces content with “you do not have permission…” but still displays the title. Is there a way to completely remove the entire post (title, post content, etc) from the loop when unregistered viewers are viewing the site. As if the post never existed?
Thanks a bunch.
Rich
Kiran — I’ll consider that for a future release, but why not just add the links now?
Jack — I’m not a big fan of adding stuff to core, especially features that not everyone needs. That’s where plugins come in. This plugin is just at version 0.1, so I imagine there’ll be tons of new features in the future.
Andrei Gheorghiu — I’m looking over some ideas about controlling permissions in the backend, but it’ll be a while before anything’s implemented.
Rich Staats — Yes, that’s definitely something that’s feasible with this plugin. It’ll require a little theme editing, but it’s possible.
by theme customization were you referring to adding a conditional with one of your template tags, like:
//run the loop allowing all content
This is awesome. I was looking through Role Scoper, Capabilities Manager, and Role Manager to get what I wanted. Not sure Members yet has all I wanted from Role Scoper, but it’s headed there.
What’s great is that I’m trying to keep the number of plugin authors I rely on to a minimum. Helps with learning code, debugging, etc. Given that I’m using Hybrid, I’m pretty sure, your plugins will be compatible for some time. That’s very reassuring.
Thanks again.
I’m looking to use something like Flutter or More Fields to create custom write panels for authors. I’d like to restrict which write panel they see using something like Members. Is this functionality present now or even planned? Been looking at Role Scoper and Post Control CMS as alternative means.
designOdyssey — This plugin will likely be under development and compatible far into the future. I personally need it on other websites I run, so it’s in my best interest to make sure it’s working.
As for Flutter and More Fields, that’s up to your plugin authors. Feel free to point them to this article I wrote on custom capabilities in plugins.
“Rich Staats — Yes, that’s definitely something that’s feasible with this plugin. It’ll require a little theme editing, but it’s possible.”
Isn’t that what I was saying?
CG — No, that’s what I’ve been saying for several posts now.
Whatever… I suspect there’s a lot of users out there that’d like to see more than just the ‘content’ hidden. Maybe something more like this…
CG — Please don’t get an attitude when I’ve been relentlessly trying to explain a concept to you. If you don’t understand, I’ll try to explain it again, but saying things like “whatever” simply darken the mood around here and accomplish absolutely nothing.
Also, please stop linking to other plugins. If there’s something else you like, feel free to use it. This is not the place for linking to and discussing other people’s plugins.
Sorry, I was just trying to help out designOdyssey, and the other link was to show to you what I’d like with respect to managing content on a per role basis… they were both on topic but if you don’t want urls that’s fine.
Thank you Justin. Several plugin name “Role manager” plugin to customize roles but it creator seems to have stopped development and updates. Could I replace “role manager” plugin with “members” plugin? Can I transfer data from “role manager” to “members” plugin?
Hi Justin great plugin i wonder if it would be easy/possible to integrate this with a payment module? i am working on a charity website that needs a members area where people pay a small donation to see the member’s content. your plugin seems like an ideal solution as i want to help keep their costs down.
“pay a small donation to see the member’s content”
There’s a plugin available that allows ‘pay per view’… but modesty forbids me from putting the url here
In any case it’d be a nice feature
Haven’t found the time to try things out yet, but this looks like VERY helpfull plugin. Could it also be used to give a certain role the restriction to only post in certain categories?
Thanks in advance!
And again I have been posting on older pages, third try now
. I am using this plugin now for some importship plugin (from the fabrication side). Where every importer in various countries can keep their own info up to date. Also their dealers can keep their info up to date.
So this plugin really comes to handy, though some work is still neccesarry for my tasks
.
One being able to have users set an country (dropdown, or map even) when registering their account.
Two, being able to have users request dealer or import status/role, so they are able to update their information.
Would really like have an brainrush session with you regarding some functionality.
Thank God that you have made this plugin! It rocks and the development is exactly what I have been looking for. Other plugins have been to convoluted for me, but this is perfect!
Quick question: how easy is it to have the pages/posts that are “restricted” to disappear from wp_list_pages etc. ? Possibly have that as a component option so they are automatically hidden and unhidden based on login?
Thanks again for your development!
thanks a lot for the plugin, that’s exactly what I wanted to have, and i also pretty sure that your plugins will be compatible for more time than others.. That’s very important for me!
Justin thanks a lot for the plugin. I have activated the “Private Blog” component. Although the documentation said that: “Note that feeds are not currently blocked with this component, but it’s likely they will be later with an introduction of a feeds component.” I notice that feeds aren’t available either by a feedreader (I am using FreadReader3 which shows the message “Error adding feed:;No RSS URLs found!” ), or using a browser. Not that when deactivate the plugin feeds are available on the same address. I don’t want to have my feed public but is this the plugin’s expected behavior?
Thanks in advance.
I need to implement some kind of paid subscription before Christmas – have you got as far as documenting how components can/should be added? I’ll have a look at the source, but if you have a preferred way of doing them please do get in touch. A.
I will use it, thanks justin to create this wonderful plugin
I’m also wondering if file attachments will be protected in the future versions of the plugin.
I’d like to see all of role scoopers features but in a much user friendly interface
Thanks for the plugin, Justin. This is what i need for my client’s project.
Custom fields are associated with a particular post… now if that post was to be excluded from certain groups, i’d also want the custom fields associated with that post excluded as well. You have done a good job, keep going..
So far, I think this plug-in will be very useful for my website. While my site is still under construction, I have noticed when I use your plug-in, my entire site requires a login in order to access it. What am I doing wrong?
I was looking for a plugin that would allow me to remove the publish_posts capability from the Author role. It installed easily in a snap and worked like a charm. Thanks so much for your excellent work!
great, I will try this out. I love wordpress plugins!
Love this plugin! Works great and I will use it in an upcoming site. The one thing I am not sure how to handle though is to have the members-only menu options only show up if the member is logged in. Right now everyone sees all the menu options and if they are not authorized to view the page, they get the appropriate error but it would be nicer if they did not even see the option.
This would be a useful enhancement to the plugin.
Thank you SO MUCH for this plugin! I’ve been searching high and low for a members solution as I plan on creating a site with premium content.
Hi,
thanks a lot for this (free) and efficient plugin: making private pages is easy now.
I do have 1 question: I made a detail page (not private), called ‘pagina’, which can be updated by one user only (with his specific role).
So I create a capability ‘edit_pagina_page’, it doesn’t work.
Only when I select also capability ‘edit_other_pages’, it works, but ofcourse that makes all the pages editable.
Do you have any suggestions..?
thank you very much,
diederik
About PayPal support – i.e. for paid membership / subscription options – it looks like Aaron Campbell has developed something quite impressive that might just be the type of solution the Members plugin needs: a PayPal framework application.
Would be great if Aaron could provide some help in making the two plugins play nice together!
Hi,
there is a usefull and simple screencast/tutorial howto use the members plugin to create a ‘private page’:
http://screenr.com/3HH
This a great plugin, but very powerful!!!
I added a role and than started adding Capabilities, when I hit save that page that says I don’t have enough permission pop up and I’m logged in as an administrator.
Could you please give me a hint on how to fix this. Now I can not see the “role” tab to change the roles. When I try making changes it says “You do not have sufficient permissions to access this page”
Please help!!!
Aldrin
I am really surprised that someone has not come up with a plugin/hack that allows a wordpress blog to use extended user fields, themed login, profile & registration pages in one plugin. There are so many plugins out there that do one part or another but nothing seems to allow for a complete, integrated user management system.
I don’t care for the layout and design of the wordpress login, profile or registration pages. I want to add fields to the wordpress user meta data and use themed login, profile & registration pages to manage them. I want to suppress the wordpress hidden fields in the profile and registration pages so that the user never sees them.
Is there anything out there that does all this in one neat little plugin?
Great plugin, Justin!
Just wondering if you know of a way to restrict by role, which pages a user can post to? I’m creating a site where there will be three users, each will have a specific page they post to, but I want each to only see their specific posts and respective page in the backend.
Any thoughts?
We are attempting to use members for restricting access to pages based on roles, but, it appears that only the admins can gain access to the restricted pages regardless of the roles on the page. For instance, we restrict a page to the role ‘super’. A user with the role of ‘super’ is unable to access that page, only the users with ‘admin’ can access the page. Any thoughts?
We’d love to have the ability to be able to break out “delete users” into “delete editors,” “delete custom roles,” “delete admins,” etc.
We want to give someone CMS access to the WP back-end and the ability to create/edit/delete roles with the exception of admins.
yehoshanah — As far as I know, all of Role Manager’s role stuff is saved correctly on the WordPress side of things. Switching over shouldn’t have an effect on role and capability settings. If the plugin has other settings outside of that, they wouldn’t be carried over.
slee — I’m hoping there’ll be some sort of payment component in a future version of the plugin. If someone that knows how to work with payment systems (e.g., PayPal), it would be a simple thing to do to make it work with the Members plugin.
Pete — Ditto on what I just told slee above.
Tibor — No, the plugin itself couldn’t do that.
rZr — I’m hoping to implement some user-management features into version 0.2.
chad — I’m glad you like the plugin. The things you ask about should be fairly simple (assuming your WordPress theme is coded correctly).
Pancake — Yes, the plugin will be likely be compatible with WordPress as long as I’m using WordPress. I need it for my own sites, so development of this plugin is crucial for me to do the things I need.
Panagiotis — You likely have a conflict with another plugin if that’s the behavior you’re experiencing, but I’ll look into it.
Andy Macaulay-Brook — Yes, how to add new components is documented fully.
Jauhari — You’re welcome. I’m glad you like the plugin.
Panagiotis — Whenever the
add_meta_box()WordPress function starts working with attachment pages in the admin, you’ll see that feature.Pete — That plugin is definitely on my list of things to look through and see if there’s anything that would carry over nicely.
Kate Mag — You’re welcome. I’m glad it’s coming in handy for you.
TK Pandey — You’re welcome to exclude any custom data you want within your template files or through the use of
functions.php.Rick Reddel — If you need help using the plugin, please stop by my support forums.
Mark — I’m glad it’s coming in handy for you. And, thanks for sharing a bit of real-world experience with using the plugin.
deakaz — Let me know how it works out for you.
Donna — This feature is under consideration. I’m thinking over the best way to implement it.
Ali — You’re welcome. I’m glad you’ve found a use for the plugin.
diederik — I recommend reading through the
readme.htmlfile included with the plugin download. It will help you better understand how the plugin works with regards to capabilities.Also, thanks for making the screencast.
Álvaro Degives-Más — Thanks for linking to that. I hadn’t come across it before. I’ll definitely look into it.
Edward Kelley — I’m not surprised at all. It took me months to complete the initial release of this project. I hope in the next few version upgrades to be working more toward that all-in-one solution. It just takes time and loads of useful feedback and ideas.
Todd — Nope, I don’t know. It’s something I plan to look into at some point though.
Mike — You’ve probably not set something correctly. If you need help, stop by the support forums.
Jin — I doubt that feature will ever be implemented into the plugin. I’m not sure if it’s even possible.
Hey Justin!! Great job and thanks for this plugin!! I used to use the Role Manager Plugin but, it seemed like many of the features didn’t work anymore with the newer versions of Wordpress. This makes everything setting up a Wordpress CMS site a lot easier. It seems like this plugin and the PODS plugin are on the cutting edge of making Wordpress a ‘legimate’ and big boy worthy CMS.
Thanks again!!!
Does this functionality exist now? I’m pretty sure my theme is rock solid.
Plug-in works nicely, though one question … I’m trying to modify the code for the login form in “edit plugins”. The changes are saved but don’t show in my web browser. In WordPress I have “inactive” next to the /members/functions.php file name. How do I get that one activated so that it takes note of the changes I made?
Thanks!
Ronaye
Hi,
1. I am trying to set the capabilities for contributors to only view their own post. Right now it list all the post from all users.
2. I got lucky and guess how to create a pending Capability by adding the word “pending” to publish_posts. I added publish_posts_pending and it worked. Now all post are goes to pending status for review. However, how do I create other capabilities if I don’t know the code for it?
3. How do I remove all the other links in the navigation? I unchecked “read” capability, but it still shows Comments, Settings, and Contact which are other plugins I use. Is there a way to remove them so contributors don’t click them.?
Thank you for your help!
Hey there,
The plugin is pretty impressive – but in my implementation it forced everybody who navigated to my site to log in: effectively it was not possible to have a public site. (As admin I was utterly unaware of this; I only found out about it through investigating a dramatic drop in readership).
It may be that there was some sort of unlpeasant interaction between the plugin and some other plugins, or it may be that I mal-parameterised Members – whichever it is, I thought folks ought to be made aware (so this is not a criticism of the plugin per se: it is more a ‘heads up: there might be issues”).
For now I’ve had to delete it; I will more thoroughly investigate what went on this week.
Cheerio
GT
Hey Justin, thanks for this. I am using the:
if ( function_exists( ‘current_user_has_role’ ) && current_user_has_role( ‘editor’ ) )
to show content and was unsure of the best way to include more than one role in this. I have not been successful thus far.
Thank you.
Rich
good job, i like ur plugin
I’d like to be able to edit the message displayed when someone tries to access restricted content and/or redirect to a login page.
Thanks very much i have downloaded this plugin and i will be using this for my new web site. thanks a lot
Hi, Great plugin! But there is one major issue that I’m having with it.
I want my editor to have the add_users and edit_users (maybe even delete_users) role, but only for people below their role.
If these roles are set, the editor can edit or even delete the Administrator.
If only the edit_users role is set, the editor can still delete users (including admin).
Is there a way around this to enable him to edit/delete below editor roles only?
After reading all the comments mentioning it, I don’t think you understand what people are asking for when inquire about restricting the custom fields for certain roles.
What people (and I) are asking for is the ability to restrict what roles can access and change custom fields, no one is asking that the custom fields only be able to fuction in certain ways.
For instance: as the administrator of a site, if I give someone the ability to create and edit posts, but those posts have to be approved by an editor first, I can do that. Let’s also say that editor adds some custom fields to every post. What I want to be able to do is prevent someone from editing/submitting custom fields.
Chris — You’re welcome. I’m glad you’ve been able to make use of it.
Chad — As mentioned, it should be fairly simple to do if your theme uses appropriate WordPress functions.
Ronaye — You should never edit plugin files.
Keith — If you need help with the plugin, you should ask on its support forums.
GT — Please consult the
readme.htmlfile or stop by the support forums.Rich Staats — If you need help, stop by the support forums.
gegewan — Thanks. I’m glad you like it.
Sara L. Martin — More filter hooks are coming in the next version.
Ronak — Let me know how it works out for you.
Rik — Please read through the
readme.htmlfile included with the plugin.Rob Blatt — I understand quite clearly what people are asking about as we’ve been discussing custom fields.
This is incorrect. Most of the discussion about custom fields has centered on custom fields on the frontend of the site, not the backend. That’s not to say I haven’t been asked about that particular functionality.
Justin,
Thank you very much for your plug-in and all of your hard work! I am having one serious issue with the plugin that I wanted to bring to your attention and I am wondering if anyone else has encountered it.
This issue is in relation to the ‘New Role’ function. I have created a ‘Blog Manager’ role, which I have provided with all the capabilities of an Author but with additional capabilities as well. For some reason this new role does not show up in the ‘Post Author’ drop-down menu when I write a new post. This problem means that the Blog Manager cannot add new posts under his own name – he can only write a new post if he selects the name of another user (admin, author, or contributor) as the author instead.
If this is an issue, it’s a WordPress issue, not a plugin one. I suggest taking this to Trac.
Justin,
congratulations, this plugin seems to fit my needs exactly..
grtz,
Tom.
Hi,
I’m missing the function to edit the role name.
regards,
Marc
Great work Justin. I’ll actually be using these features as selling points to a few of my more hands on clients. Do you do any custom work?
Hello, this seems like a really great and useful plugin. I don’t see a way to logout on the Login widget and am just wondering if I’m missing something?
Thanks,
Greg
Can you apply the plugin to all visitors?
Thank you so much Justin ! I had a problem with the ‘unfiltered_html’ option for the author profile. It’s solved !
Justin,
I cannot thank you enough, this is seriously an amazing plugin, and opens so much more potential with WP. Thank you so much.
Cheers,
Nate
You mention the capability of this plugin to use shortcodes, but I can’t find ANYWHERE any examples of which shortcodes can be used, or if any custom ones can be defined, and where…
Some light on this issue, please?
You’ll want to read the
readme.htmlfile included with the plugin.Wow…it works like a charm.
Thanks Justin, you are the best.
Hi,
Great job done here!
Is this plugin also compatible with WP 2.9?
I know it’s just been released, but I’d prefer to know before I upgrade
Thanks
Hi Justin
Maybe you see a solution how I have to set up “Members”.
The Users should be able to write posts.
The Admin will approve the posts.
The User should be able to delete and modify the published posts.
Until now, there is no problem.
Modified posts should not be automatically published. Modifications should be approved again by the administrator.
Is that possible to set up?
Thanks for your help!
TIMT
This is pretty much exactly what I need at the moment, but I have one question. Is this playing nice with WordPress 2.9 or will an update be necessary? Thanks in advance!
Justin,
First you do great work, it is greatly appreciated. I have a couple of ideas for ‘Members’ that would make it better.
1) Allow for a customizable restriction notification, preferably for each roll. For example I modified the source so that visitors who were not logged in would see:
Sorry, you must be a registered user and/or Staff to view this content.
Already a member? CLICK HERE to log in.
Need to register? CLICK HERE to do so.
As on our site we don’t want to simply tell people that they don’t have rights to view it, we want to encourage them to register and log in.
This is already possible and has been possible in all versions of the plugin.
If you could take what you have now for this plugin, add in the registration and profile display of custom user info features of CIMY user extra (http://www.marcocimmino.net/cimy-wordpress-plugins/cimy-user-extra-fields/), maybe sprinkle a little alkivia style public profile/member list, and then top it all off by adding a CSV import/export feature for members and their extra data, you would have one hell of a plugin here. I basically had to just piece together all of these plugins (plus some extra custom code) for a membership site, and NO ONE has put all of these things together yet. Even the paid “membership” plugins do not have the vital extra member info features.
Thanks.
Custom user profile fields is at the top of my to-do list. Unfortunately, it isn’t something that’s easy to tackle from a development standpoint. At some point in the future, expect that sort of functionality.
this plugin is a true contender to the ones available commercially, except for the missing payment functionality which i understand you didn’t include here.
in your screenshot ‘Content Permissions Component’ your dashboard shows custom post types, did you realize these yourself or with the help of a plugin?
I don’t see any custom post types in the screenshot. But, I have coded a few of them myself. Nevertheless, custom post types will be a major feature in WordPress 3.0, so be on the lookout for that.
I specifically meant the post types ‘People’, ‘Places’, ‘Animals’ in here: http://justintadlock.com/blog/wp-content/uploads/2009/09/content-permissions.png – sorry for not having been precise before and wasting your time.
These long-waited-for changes are definitely going to be a game-changer in terms of CMS competitiveness but as the beta is still not available this will for sure take another three or four months…
Has anyone had the problem of this plugin doing nothing? I have it enabled, am at version 2.9.1, I have “Shortcodes” and “Template Tags” enabled, and put this code in a post:
The text that should show never shows up, logged in, or not logged in.
Can anyone help?
Please email me (email removed), or post here.
thanks for your help
If you’re having trouble with the plugin, please stop by its support forum.
I also recommend not posting your email publicly like that. That’s a recipe for spam!
I missed the community forums….or I wouldn’t have posted here. Thanks
Just curious….why isn’t there a Forum strictly for the plugin. I had to post in Ideas. Or….am I missing it.
First let me say thank you… great work on this plugin. The only question that I have is this.
Is there a way to set up a logout function? If so how do I do it? All help is greatly appreciated.
Thanks again,
Ashley
WordPress already has a logout function.
Great plugin. It would be great if there is a way to change the user level.
Do you know why when a plugin sets its menu permission to 7, only user level of 7 and 10 can see it, but not any user level of 7 and above?
User levels have been deprecated in WordPress. They are in WordPress only as a legacy feature and will be removed in the future.
Your plugin(s) should be updated to the WordPress role and capability system, which was implemented in WordPress 2.0. That was like 3 or 4 years ago.
Justin -
beforehand: Lemme express my thanks, both for “members” (great plugin!) as well as your usually in-depth, but clear tutorials!
Anyhow: User Levels might have been deprecated since WP2.0, but are still present inside wordpress core code.
While I love “members”, I have the following problem. While newly created roles can author posts and pages, if given that capability, they do not appear in the metabox with the authors dropdown, where an admin can change the author of a published post for instance. That must be, because wordpress is still calling the entities in that list with user_level != 0.
If new roles are not given any userlevel, they apparently end up with 0 and are not shown in that dropdown menu.
Correct? Is there a workaround you know of?
Thanks, Johannes
UPDATE:
Currently, wordpress is populating the authors list with get_editable_user_ids(). This function will be deprecated with WP3.1. Then, the list will be populated with get_users() and hence will work with the roles/capabilities system.
Currently it does indeed not. Meaning, if you create new custom roles (with or without members plugin) they will not show in the authors list.
There’s two workarounds.
1. All users added to a custom role will have the value 0 assigned to the key ‘user_level’ in the wp_usermeta table. Change that in the database directly to 1 (or any other integer between 1 and 10, as the level has otherwise (see above) been meaningless for years).
2. This is UNTESTED, as I’ve chosen the above (it’s a dirty fix, but 3.1 will come). There exists a patch (http://core.trac.wordpress.org/attachment/ticket/14094/14094.patch) for /wp-admin/includes/users.php which looks promising. It alters the get_editable_user_ids() function such that it works with roles instead of user levels. Given that the function will become deprected soon, I opted out of this solution.
nice plug in. too bad you can’t change the message that shows to non-members to encourage them to sign up. Seems like a big gaping opportunity to convert potential subscribers.
Or am I missing something here??
Yes, you’re missing something.
This has been changeable since the first release of the plugin.
Hi Justin. This plugin works exactly how I need it to. Thanks! But, like Glamping Girl, I can’t seem to find where to change the message for protected content, “Sorry, but you do not have permission to view this content.”
can u be more specific, im looking all over the net, and still cant find how to change this message…
please help
dab
btw, this is an awesome plugin!! really great work
but its key features are missing some precise explenations, such as how to’s
of:
shorcodes
message changing
and probably more.
this plugin really made it possible to finnaly moderatemy clients, and offer wordpress as an amazing solution for corprates..
awesome work!!
there are plugins and then there are remarkable plugins.
this, Justin, is ruddy remarkable.
big cheers, am having fun playing with it, and look forward to being able to really test it.
re. Paypal integration, I’m sure that’s a big thing for many folks.
for now, I’m playing also with “Are Paypal”, combining the two to produce a system. I’ll probably blog about that .. I’ll certainly let you know.
Thank you.
PS .. your documentation is second to none, which is just as well
I have question!
if i have this member plugin, i created a group and user.
the user can see his pages !, in the page it have media file (img, doc).
i need to have the direct link to the files not to work!
i meen http://www.xxxx.com/wp-contact/uploads/20/10/anyfile.jpg
can it be done??
i am sorry about my poor english!
thank you
Awesome plugin for sure!! Praises for making it freely available. I’m working on a client site that is to have two membership areas. One, an area with content, another with access to one page with wholesale pricing…
I wondered if anyone here might know how to assign the user role at registration? Maybe with separate forms, or one form with check boxes or a pulldown to choose a role?
Been looking around, I dont see any plugins so maybe its not an easy thing to do.
If all else fails, I can put the membership with content on a subdomain and make that entire install private. Just wondering if anyone knows of an easier way.
Thanks, appreciating this plugin a ton!!!
Justin,
Thanks for this plugin! I’m interested in using your members plugin in order to have finer-grained control over who can see which posts. At the same time, I’d like to use this plugin (http://wordpress.org/extend/plugins/rpx/) to allow my users to be authtenticated with our Google Apps for our domain.
How easy or difficult do you think it might be to integrate your plugin with the JanRain plugin I linked above?
Thanks in advance!!
After creating five different roles on my 2.9.1 Wordpress installation and properly defining exclusive authorization to only a few of these roles on some pages, I realized that the plugin is not properly blocking access from the unauthorized roles.
It seems to be working well on blocking users that are not logged-in. However, it does not seems to be selectively blocking roles.
This is great – just what I needed for my client to post restricted reports to his own clients.
I’d like to hide the menu items for the pages that are only viewable to logged-in users, if that makes sense. Is there a way to do that?
Justin,
Where can i find instructions for using the template tags ?
My suggestion – a way to also block SIDEbar content by user ? so if the page is blocked the side bar will not appear.
well. i have looked and looked and this is the first plugin
that works on 2.91 and where i could let users edit their
own publish posts.
i have checked it then uploaded it to a live site..
it works gr8.. any was that could change if its already working correctly ?
Hello
I am using this plugin and one thing I am looking at is to make a particular post restricted which upon clicking should redirect to the login page. The site is totally restricted now and how can i make it selective to a post.
Hi Justin,
Just letting you know that in WordPress 3.0 Alpha the ‘Content Permissions’ panel doesn’t show up in the Pages and Posts admin. I check the Screen Options tab at the top to see if it was available there, but it isn’t (either).
I DO see the ‘New Role’ admin page in the ‘Users’ section once I add that permission in one of the default roles on my site. And the (rest of the) plug-in IS working properly – that is I can see the various admin sections and can edit them. I just don’t see the ‘Content Permissions’ panel.
I am thinking it may be related to the new architecture of the WordPress and WordPress MU merge in 3.0, but since you made the plug-in within WordPress’ own functions framework (as opposed to using custom code outside of the WordPress core), I am thinking it should really work.
Then again maybe too much things have changed because of the merge and other plug-ins may suffer from the same fate.
For now I will switch back to 2.8.6 as the PageMash plug-in also doesn’t work in 3.0 (2.9.1 neither).
Note: If there is no notification of your reply in this comment section on your site, can you please email me your response? Thanks so much in advance.
~Coen
Hello, I have a question: I’ve installed the plugin, seems to be working ok. I have however, created a new role (Student) whereby students will only be able to access areas created for them. I gave the permissions however, when I login to test as a student, I get the following error message: Hey, you’re not allowed in here. This occurs even when I’m simply trying to goto my profile.
Any ideas? What am I doing wrong?
Thank you.
This is one of the best plugins I have ever encountered, Thank you!
I have a small problem, when I activated this plugin, any current users would go straight to the login page. How could I modify this plugin so that it does not load the login page when you type the domain name.
Does anyone how to fix this?
Thanks, love the plugin!
aldrin
I’m finnaly using this beautiful plugin!
But, how can I show the author role on my theme?
[is_user_logged_in] shortcode bug fix:
Line number 75 in components/shortcodes.php:
if ( !is_feed() || !is_user_logged_in() )
should be replaced by:
if ( !is_feed() && !is_user_logged_in() )
Another suggested change in [is_user_logged_in] shortcode:
Line number 79:
return $content;
Replace by:
return do_shortcode($content);
This will allow the content to have shortcodes
Suggest similar changes to other shortcodes too.
Hi. I´m from Brazil and you done a good job to this plugin. But I have a problem, because I need add a new capability to user editors, to have been acess to functions of other plugins thats installed in my blog – wp-easy-upload. For the plugin nextgen gallery, a rules already add in a capability editors. So I would like add wp-easy-upload functions to user editors. Do you can help me? Thank you.
Thanks for the useful plugin. I will leave a good review.
Using members 1.1
I was going through my server logs today so that I could clean up all the issues, and found the following:
`Notice: Undefined property: stdClass::$hook in /wp-content/plugins/members/components.php on line 90
Notice: Undefined property: stdClass::$hook in /wp-content/plugins/members/components.php on line 90
Notice: Undefined property: stdClass::$hook in /wp-content/plugins/members/components.php on line 90
Notice: Undefined property: stdClass::$active_components in /wp-content/plugins/members/components.php on line 131
Notice: Undefined index: content_permissions in /wp-content/plugins/members/components.php on line 134
Notice: Undefined property: stdClass::$hook in /wp-content/plugins/members/components.php on line 90
Notice: Undefined index: shortcodes in /wp-content/plugins/members/components.php on line 134
Notice: Undefined property: stdClass::$hook in /wp-content/plugins/members/components.php on line 90
Notice: Undefined index: template_tags in /wp-content/plugins/members/components.php on line 134
Notice: Undefined property: stdClass::$hook in /wp-content/plugins/members/components.php on line 90
Notice: Undefined index: private_blog in /wp-content/plugins/members/components.php on line 134
Notice: Undefined index: widgets in /wp-content/plugins/members/components.php on line 134 `
Is there a fix for this upcoming?
Hello Justin.
I need to notice you, that I made the Members plugin translation to Brazilian Portuguese.
It’s available at http://www.tecsite.com.br/noticias/wordpress-plugin-members-em-portugues/
Best Regards,
Miriam de Paula
Awesome plugin – love it so far! I was wondering one thing – is there a way to give a specific capability to a specific user? I would have hoped that capabilities could be customized on the edit-user page for a given user, but don’t see anything there.
In other news, are you still planning on expanding development of this plugin or are you working on bigger and better things now? Just curious if there are things to which we should be looking forward.
Thanks!
-Scott
Is there a way to only let a user see one plugin instead of all? HOw can I allow a user to have access to only one plugin settings?
Thanks I appreciate your help
Hey Dude…
I love the plugin, just one question…
Is it possible to create a role that allows access to certain pages, posts, but also hides the dashboard completely?
Is there any way to display seperate widgets (WP’s own or selfcoded) only for users?
And I don’t like the fact, that I have to pay to ask a question and get support for a free plugin.
I don’t like the fact that children are starving in foreign countries every day. I don’t like the fact that we haven’t found a cure for cancer. I don’t like the fact that, in order to eat, I must work.
But, here’s a simple solution to your problem — write the plugin yourself, ask yourself support questions, and spend the time it takes to answer those support questions.
The quickest way to not get help is to point out that you don’t like how I handle support.
Justin, you are doing a marvelous job and I hope you don’t get discouraged by some immature comments like these. Some people take things for granted, believing they acquire rights by taking free things.
Emin, you are not in the position to criticize Justin’s work in any way. You have no right to anything that is given to you for free. Justin however has the right to charge whatever he feels like for his services.
Go, have a look around and open your mind to the real world. If are given something, be appreciative, supportive, constructive and try to imagine where we would be without such generous people like Justin.
Don’t bite the hands that feeds you !
While being extremely thankful for the wonderful plugin, I’ve a dumb question
I also can’t seem to be able to find how to change the “Sorry, but you do not have permission to view this content.” part.. help?
Thanks a lot in advance.
The Only problem i can see it i cant grant user the ability to control widgets..
thats a great ability when using wordpress to build a client’s website
hi Justin,
i really love your plugin… but i have one question.. just one..
is there a way that a post that is restricted can be hidden completely?
unlike replacing it with a “sorry you dont have permission..”
thanks
Try looking in the readme.html included with the plugin, it’s all in there.
Excellent plugin, just what I needed.
One problem though. I need my editors to be able to change the roles of some subscribers. But when I grant them the edit_users permission, they are able even to change my admin password!
About support Justin I recommend you to open a forum on this site and let users help other users. It would make your job easier since you have to use your time to create and improve your creations instead of replying to the same questions over and over again.
Excellent plugin. I need to be able to grant some of my users access to the Dashboard and Site Stats (WordPress.com Stats) but don’t know what the code is that I need to add new capabilities for the specific role.
A great enhancement would be if you would limit the pages displayed in the page menu and/or pages widget based on the pages allowed for that role of the user logged in.
Awesome plugin! Just tried this now and it works a treat.
Thanks very much for the good work
Hi,
this plug-in is exactly what I am searching for.I want to use it in my personal blog.But there is a problem . I use blogger.So I want to ask is there a way to use your wp plugin , in my blogger hosted blog?
For example can I add from the widgets section or is there any other way to use it for me?
Best Regards
Excellent job! The decision is one that I like! Pretty yet functionally done …
Justin, I love your framework, and am learning skeleton so I can create child themes and turn any website into a wordpress website!
I have a little challenge though and wanted to ask you for your advice.
I need to create custom content by member groups, so what would be the best approach? To (1) create a unique new member role or to (2) use shortcodes? There are currently only 4 unique member groups. Ideally I’d like to write this information to one page, e.g., Investors > Financial Reports (Custom Financial Reports for Group 1, 2, 3, & 4) which would display conditioned upon their authentication.
Is this possible?
Ok nevermind. Yes it’s possible. I added a role, e.g. group_1, and then a special capability, e.g. read_group1, and then used the access capability shortcode:
[access capability="read_group1"]
HERE’S MY CUSTOM CONTENT FOR GROUP 1
[/access]
Great stuff, thank you Justin! And Happy Birthday!
I want to use the Members plug-in to allow 30 different ‘roles’ to be allowed to edit one page each and not any of the other 29 pages. I want to allow any visitor to the site to see what is on any of the 30 pages. Is this possible with this plug-in? If so can anyone give me a clue as to how to accomplish it? I have spent several hours this afternoon trying.
TIA
Colin
I was wondering if there was anyway to project uploaded files that are linked to from a protected “page”, such as a PDF file? Currently if I have a page that is protected using this plug-in that links to a PDF file that I don’t want “non-members” to see, if they copy the link to the pdf file, they can still view it if not logged in.
@David
I think this might help you do the trick… as that will always be a proverbial issue, unless you do something more to protect it…. search on Google for “secureDL” … it’s one of the only scripts I’ve personally found that does S3 amazon protection *as well as* protecting the links/urls on your own server.
Anyways, was reading thru all these comments on this plugin and then got to that last one on the ‘url’ protection situation.
@Justin
just delete this comment if you don’t want it…
Hey, nice plugin!
Any chance for this to become compatible with Wordpress 3 and support custom post types?
Yeah, I’m curious as well to know if this will work with WP 3.0. Nice work!
Has anyone used this plugin on a shared User Table site?
I loaded the plugin onto my site today and it is a pretty cool bit of work. The one thing is, the login mechanism doesn’t work right. It could be the 3.0 thing, I am not sure. Would LOVE it if you tweaked this to work with the new WP. One of the best plugins I have seen up there.
Justin,
this is a pretty awesome plugin.
I’m using it in collaboration with podscms and the Pods UI, and that can bring pretty spectacular results.. still working on it though
grtz,
ToM.
How about a points system? I can help for the php but I don’t understand exactly how wp’s db works…
I mean, for exemple, everytime a user add a post or a comment, it gives him some points.
I might have found a bug. If I create a role called “apple” and assign a user to that role, then create another role called “apple pie” and go back to the users list, then it will show that user under both roles. I guess the user is associated with “apple” and then when wordpress does the count then it puts them in both…. how can this be fixed?
great plug in. i use it in one site perfect. but i install it in an other one ( same WP version, same server) and nothing happens.
i mean does not add anything in menu that will let me edit the rolles.
yes i had dissable all the plug and still nothing happen. any idea why?
your work is fine. i had forgot to clean the cache. now is working. thanks
Dear Justin,
I’m using your Members Plugin in my website (WP 3 Hebrew).
I found that next to the ‘Role’ groups I have no check box so I can’t delete unused roles.
I was using the WP3 Beta version and I thought that this bug will manage after updating to WP 3.
I’ve checked my authorizations as Super Admin and made sure that all the boxes are checked yet I still can not delete roles.
I hope you can advise me regarding this problem.
Hi Justin, thanks for the great plugin, very cool and work well. I’ve just a problem few days ago, I’ve moved a wp website from a subfolder to the main root, I’ve copy the database updating all urls now I’ve two database one with the old urls and one with updated urls. With old urls everything go well with the old url I take an erro “too many redirects” into the homepage. I’ve checked permalinks but there is no rewriting and I cannot access to the panel of the root domain. I think I’m missing something I cannot figure out, If you have any idea please tell me. Thank you very much!
I like it .
What about RTL for the plugin ?
Are you considring it in the future ?
Hi Justin,
Firstly thanks for a great WordPress resource site, your articles are clear, thorough and really helping me learn the system, so thanks
.
Secondly, i’m following this guide of yours http://justintadlock.com/archives/2010/04/29/custom-post-types-in-wordpress to make my own custom post types, and you mention this plugin for managing capabilities. I’m using WordPress 3.0.1, do you know if there will be an issue with using your plugin with 3.0.1 or is there now a different way I should approach this ?
Many Thanks,
Regards,
Wills
Thanks for a great plugin, Justin.
I’m noticing that in my role editor, there are many listings that seem totally strange. I’m using Magic Fields extensively and each of the write panels in it show up as its own role. But there seems to be many roles left over from write panels that used to exist at some point, but which are now gone. Is there an easy and reliable way to clean up reduntant role listings from the database?
Eivind F S
Portapd UK LTD
Nice but now people always have to login?? I want to still have public posts without logging on. Only private members can login to see restricted posts. Am i doing something wrong?
Hi Justin,
Thanks again for making this plug-in, its been very useful for my site. The only thing I’d like to be able to do is change the default “sorry you do not have permission” message a visitor gets when not logged in. I found the txt inside of the members-en_EN.po file and members.pot so I changed it there but it didn’t seem to make a difference. Is there a file I’m missing where I need to make this change?
any updates on the horizon? the plugin page says compatible up to 2.8.4
just fantastic,i love u justin!
“Wordpress has plugins for each of these components but those do not work together. Please extend the functionality of your plugin so that wordpress could become a social blogging application”
I too would like to see this happen.
- profile page (custom page maybe?)
- Som list widget to show a seclectoin of user based on role.
- Profile pictures.
- a status field perhaps?
- Simple registrationform for new non-admin-users
Hello,
Thanks for this plugin. I really like what it does and how easy it is to configure.
I do have one question (of course) : Chad, Debbie, Ryan and Jim all requested a feature/change I am also looking for, which is to have the option to completely hide the pages and articles from the people who are not allowed to see their content on the front end. So instead of the “sorry” message, those pages and articles would be completely invisible to them.
Justin said to Chad this should be easy to set up with a good theme. And BrenFM said it was all the the readme file.
I checked the readme file and I didn’t see anything regarding that specific feature. I do see a section about API for developers, but since I am not one, I don’t really understand. If anyone has tips on how to make some changes for this to work, I would love to hear them.
Thanks!
This is also my question, and exactly why I came to this post. I’ve tried several other plugins that either don’t work, or return a 404 page. That’s not what I need. I need something that won’t show the links to the pages unless the user is logged in.
Hi Justin,
Great plugin! is it possibel to add more users to the “current_user_has_role()” template tag,
currently I can only work out how to add a singular user type ie “editor”
I’d really appreciate your, or anyone else’s help with this. For some reason on some of my page templates the standard meta box isn’t working.
Thanks
Hi! Thanks for this!
I have 200+ pages! I want to quick assign, say 10 pages, to USER1.
This USER1 will be able to see all the content but only EDIT the pages assigned to him (author=user1)
What I cannot find, is a quick way to assign the pages… i.e. drag an drop!! Is this possible with Members? thanks again…!
If not…maybe if can be an idea for next release!
Just a quick question (I hope). I’ve just started using this plugin and so far, so good. I have one issue….
On a page that I have set up for “admin” and “practitioner” to be able to view. When I view as neither of those (just a general site viewer) I’m not able to see most of the page, but I am able to see the content in the right sidebar (I’m using headway theme). So, I tried using the “access” shortcode and that worked fine for one role. Can this be set up for two roles as something like
or
I did try these two methods without success so I’m hoping someone else might have an idea.
Thanks for your help in advance.
I build websitew for people and don’t want them to have access to my Gravity Forms license key or Campaign Monitor API. Your plug-in allows me to assign them an “Editor” role and exclude that from their visibility. AWESOME – great job!
However, by not allowing them access to the Users Role area (otherwise, they can grant themselves Admin access) it seems to also remove their ability to see the plug-ins area on the dashboard to update their plug-ins. Is their a way to allow that and still restrict User Role access?
Thanks for building such a powerful tool!
Lisa
I’m not sure if this site is monitored or not.
For those who might have the same question as myself in the future. Here is what I did to get around the problem.
[access role="practitioners"]
…
[/access]
[access role="admin"]
…
[/access]
I had to duplicate the code, but I was able to get the desired results.
Great plugin! Works great and meets our needs. Thanks!
Any ideas on getting ‘read only’ access to the post contents after I click edit?
Grate job, Justin. Just what’s needed. Ready to upgrade? Send me an E-mail so that I can send you back version 0.1.2 with a couple of filters and two antonyms for access and is user logged in shortcodes. (Saw your notes within the code source )
Thank-you man. My first widget I’ve with your tutorial.
Sorry if this sound silly, but how do users join on the front end, i see the login plugin?
This is a very nice plugin. Thanks a lot Justin.
Is someone aware of a German translation of that plugin?
I like the plugin a lot and would like to use it on a German page. I tried it and it works as expected, but, of course, gives English output (for example “Sorry, but you do not have permission to view this content.”).
If no German translation is available I would start doing one myself. The only problem is: I have never done that before. Is it simply a matter of creating a members-de_DE.po file where I put the German translations into each of the msgstr lines?
Thanks,
Ja
Hey Justin – I’m that guy who can’t see your bloody posts in the GF forums. Thought this could be of use to you and your fellows here:
That redirection part was a pain to figure out. Anyway, I have it redirect to the home page after registration and send a variable through the headers. ie:
and then on the home page I simply add a line of text if the variable is set to let them know to check their email.
I absolutely LOVE your plugin Justin. Really there is just no comparison with any other plugin. I was using role scoper before I happened upon Members.
I find Members easier to use and I’m able to better control what is viewable in the Admin back end based on different roles and capabilities.
I know you have big plans to continue to expand the plugin… I will be contributing toward that effort as soon as I am able. I’m sure you’ve heard that before but I do hope to be able to contribute very soon.
Thanks again!
I’ve translated Members plugin to spanish. You can download a ZIP file which includes the .PO and .MO files from my blog, La Bitácora del Tigre.
Thank you very much, Justin, for this excellent plugin.
Grate job, Justin. Just what’s needed, a pay per view feature would be great. Could this be possible with this plugin?
Hi there,
Been using the plugin for ages, and suddenly with the latest update in WP, it stopped working – any idea what’s going on?
@Frank
This just in: For others running into this same issue; the problem does not lie with the plugin but actually with a bug in WP 3.0.5:
(From WP Dev Blog)
http://wpdevel.wordpress.com/
Any thoughts about adding BuddyPress compatibility for Content Control?
It would mean processing the BP URIs like /members which are apparently not generated in the same way as WordPress and so are not seen by plugins not specifically coded to look for them.
Amazing! Thanks Justin this works like a dream, you’re one clever chap!
Hei Justin, you still here? Haven’t commented in a while.
It’s such great work…as opposed to many many many (if not every) of the paid membership plugins out there you did everything right. I love how this thing integrates with Wordpress.
And thanks for releasing it under GPL, too…i’m gonna start hacking on it.
The main questions i’m having at the moment is:
1) Are you still developing/supporting this?
2) Did you have plans and/or start development on a taxonomy restrictions component?
1) Yes, I’m still developing and supporting this. In fact, I’m working on a major upgrade right now.
2) Restricting content (by taxonomy, author, role, or anything) is a pretty complicated process, especially when it comes to storing the “rules” and handling the UI. I’ve got some different ideas but nothing concrete yet.
Hi Justin – I think I found a bug in Members 01.1 and not sure if is related to post above about WordPress 3.05 issue ..??..
i have a site that is running MultiSite Network WordPress v3.05 and i enabled Members as network-activated thinking i would use the roles and permissions across other blogs in the network …
but then when i try to access a post that is limited to subscribers (or any other role like contributors, editors, admins) i get the following error ->
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/stjoseph/public_html/wp-content/plugins/advanced-excerpt/advanced-excerpt.php on line 146
so i tried deactivating plugin at network level and then activated at a site level, set the roles, and applied restrict and still got array wrong datatype errors …
will upgrade to WordPress 3.1 later today and see if that resolves things hence to be continued … cs
Justin – turns out the bug is not your plugin but the Advance Excerpts Version 3.1 plugin … i should have read the error code better – i got flustered as i was just focused on making post limit to role or not and had success previously in testing but i digress …
turns out that if i put Advance Excerpt in the site and activate it at site level = no problem … but if i activate at network level then surf to sites, everything is broken … including links like author archives …
so i went back and tested your Members Plugin both at site level only activation and then back at network activation and voila – all works as it used to …
what is even more encouraging and fyi to others … if i have a post limited to members, then deactivate the plugin, the post becomes public but does not break with any error codes … if i then go back and enable the plugin at site level or network activation, all previous roles are honored again (as if the plugin was never de-activated)…
anyhow, sorry for false alarm and kudos again to great plugin and as always, appreciate the ThemeHybrid love :>) cs
I see you’re working on a major upgrade of the plugin … yay!
I thought that might make this a good time to mention a little problem I’ve just come across, and perhaps my brain is just completely fried right now, but, can’t seem to find a solution for.
I’ve added specific capabilities for all of my custom post types, but, as I do a lot of copy and paste of my previously written code, I accidentally forgot to update the name of one of the capabilities, and ended up with one delete_products instead of delete_workshops in my custom capabilities function file … as well, I copied it into the actual add new capabilities text field in the site admin for adding new capabilities to a role. I, of course, went into my functions file and made the correction, but, can’t for the life of me figure out where to go in the database to correct the text field entry.
Assuming I’m not the only one who might perhaps mistype the name of an added capability, would it be possible to include the ability to rename a custom created capability or give some direction as to how to go about correcting this sort of thing should it happen?
Super big thank you for all of your hard work on this code!
Alright, I found it in the database … didn’t realize that it was being stored as an array in the wp_user_roles … so, I was able to manually update the table, but, would still love to see some less painful way of accomplishing this
Never mind that fix … I just received the “You do not have sufficient permissions to access this page.” error after updating that option value in the database … officially locked out of admin … yay.
Great Plugin Justin. Just curious about the new features you have planned in the major upgrade?
Thanks Justin, I love the private blog option of the plugin.
The “private blog option” WOULD BE great, if it would protect everything, including the RSS-Feeds. You should write your plugin-description: “Forces all users to log into the site before viewing it. It will always redirect users to the login page. Note that this component does not block public access to your feeds. to your feature-list. I had to download, install and read it until I can say: Nothing for me – I wanna have a PRIVATE blog, not just a partially private blog.
If you plan to protect also the RSS-Feeds I will give it a try again.
I have a situation where I only want certain people to access/edit certain parts of the WordPress site. Is there a plugin out there that accomplishes this function?
Thanks a lot.
First of all thank U for an amacing plugin that cappacites to manage a lot of different users and roles! It’s great! I have two things to say. One bug and a suggestion.
1.- The plugin works fine but seems that the content permissions in a post don’t still always. I have some posts with content permissions and when pass one or two days it lose their permissions… Why??
2.- A suggestion for the next version: add Content Permissions to bulk edit options! So we’ll able to change the permissions to a large group f posts instead to do it one by one.
Thank U again!
Stunning work!
Is there any way possible to limit member access to a time frame, via an add-on script solution of some sort?
I wouldn’t know whether there is a serverside/PHP/FTP script that might help combine your plugin to achieve this for me
Access time frame, for example:
Today i.e. April 3 2011 +30 days/1week/1month/etc?
I’m planning a project where I need to “move along” the members ever so gently (time frame per post, etc.)… or cancel their access if they become inactive over a period. That’s how training goes – always starts with best of intentions and then the drop out rate starts climbing.
Any suggestions greatly appreciated!
Hi, Justin. This plugin looks very promising. Can’t wait for the next release!
We have a customized membership database for our association integrated to our WordPress site and it will (soon) be able to change users WP role according to his/her membership status. So, we’re going to rely on native WP capabilities going forward.
I was wondering what would be the easiest way to implement (with current Members plugin 0.11 capabilities) the functionality, where non-members would be able to see only excerpt from (selected) articles and a note that “rest of the article can be read only if you’re a member of association”. And, members would be able to see the whole article with a gentle note that “this is a members only article” – just to remind them about the value of their membership
Should I start experimenting with a custom template and Members plugin template tag current_user_has_role()?
Ideas/help?
Just wanted to thank you.
I’m an experienced programmer not looking to reinvent the wheel, so when I customised my first WordPress site, I assumed something would already exist that duplicated LiveJournal’s “friends list” feature without excessive effort.
I tried Role Scoper (too complex), Capability Manager (no content management) and now this, which pretty much works out of the box for all my new posts. I just need to add the OpenIDs of my LJ friends to a new “Friend” role, which is a simple task.
The one thing I have found that is lacking is an explanation of how content restriction ties into the WordPress post system, since I presume it’s not using the Private/Protected/Public classification that WP uses by default.
I will need to work this out to convert posts that are currently “Protected” to a restricted status under your plug-in.
Never mind – worked it out. Just deleted the post_password from my “Protected” posts after adding the appropriate “_role” meta_key and meta_value to the post metadata.
Thanks!
Thanks! Just what I needed.
Great plugin, but the tags I find are not quite what is needed. The Content Permissions module makes it very easy to set the roles a user must have in order to see the content, but then the Template Tags don’t let you simply compare what roles are needed to what roles the user has. Instead the role needed is hard coded into current_user_has_role() which makes it less than useful.
For example I’m making a photo blog and need to control access to the images which are not in the blog content but using a third party library that I call to display the image in various resolutions and sizes down to thumbnails, so I need to use tags to control the rendering, but it’s impossible with the available tags to change the security, post by post.
What would be very nice would be to simply set the roles needed to view the post using the Content Permissions in the post itself, and then wrap calls to the rendering with a tag called something along the lines of does_current_user_have_required_role() which would see if the current user has one of the valid roles to read the content.
This way nothing is hard coded and instead post security is controlled completely from the regular Wordpress editing UI and can be changed as needed, post by post.
I’m building a baseball league site where I will will have 5 league directors updating content within their specific league. I want to restrict their editing capability to just their content area ONLY. Would the Members plugi-in accomplish this or would you recommend a plugin such as Role Scoper?? All of the sit’e scontent will be publicly viewable.
Thank you!
i have a members only section. inside all pages are set correctly and working properly for restricted access to registered users. one page inside this members only section is not working. it is a page using the “wordpress users” plugin. i want a list of my users listed on this page, but only available to registered users. Currently the page lists all my users and after the last user, gives the disclaimer “Sorry, but you do not have permission to view this content.”
Is there a way to correct this?
Thanks.
Just a better explaination for the post I made above for a little customization on signing people up using the members plugin:
Modifying the Registration
I’m not absolutely certain, but I don’t think your plugin is future-proofed, Justin.
I’m running a CentOS 5.5 virtual machine with PHP 5.3.6 and MySQL 5.5.13. I think what breaks is related to the has_role() function.
Can you elaborate on this a bit?
In many of my templates, as well as a custom function for a keyword-searchable and paginated member directory, I used if(has_role($user->ID, $role)) conditions. After updating to the above versions of PHP and MySQL, the content that was dependent on these conditions would no longer display. There were no errors or other messages related to the issue in /var/log/. Very mysterious.
I looked at the plugin source last night after I posted. Apparently, you actually deprecated has_role() sometime ago. I replaced all instances of the function in my code with user_can(), and everything returned to working as intended. However, I don’t understand why has_role() no longer works though since the function appears to merely be an alias for user_can().
It’s because you had the user ID and role name switched as the parameters of the
has_role()function. It has indeed been deprecated though anduser_can()should be used.Yeah, the parameters are switched, but the if(has_role($user->ID, $role)) conditions had been working fine for several months with PHP 5.2. The PHP 5.3.0 release announcement states that “[p]arameter parsing API unification will cause some functions to behave more or less strict when it comes to type juggling.” I would guess that had something to do with the issue I encountered.
Please disregard my last two comments.
Your code broke when you posted your comment, so I ended up removing the empty tags left over.
Hi Justin,
Not sure if this has been addressed but seeing that it’s been mentioned already, how do we go by inserting the Logout link in the widget once the user is logged in?
Also, under the Content permissions of the pages, in the Custom error message field, is it normal that if I try inserting html code that it outputs the code as is and not actually apply the html code?
ex: “… click here to Register…” it actually outputs the code and not the action of the code.
Any feedback would be much appreciated and thank you for this great plugin.
Great plugin. Just one issue. I added a new role titled Editor Plus. I gave that role the capabilities to add/delete and edit users. This created tow issues.
A) This user can now delete and edit etc ALL users including Administrators
B) This user can now create a new user set them as Administrators. Which means This user can create another account for themselves set themselves as Administrators and have all capabilities.
Would be much better if non-administrators can only manage roles or users with same or lower capabilities.
Unless I’m doing something wrong.
Sounds like you just need to read the readme file included with the plugin. If you need any help, just ask over on the plugin’s support forums.
Hi Justin, great plugin! Thankyou!
I was wondering if it’s possible to redirect logged in users of a particular role to a page after login? If so, how could I do this?
Right now it goes straight to the Dashboard, and I would rather have users redirected to an appropriate page based on their role instead. Thanks!
When’s the version 0.3 coming out? I’m getting a timeout error on your plugin now when I click “Roles” from the wp-admin menu, yet I can click “Add new role” without any errors.
Thanks so much! Great job!
Great plugin, really easy to use – almost perfect. The only problem I can see is that once logged in it does not provide the user with a link to log out of the web site. This would make the plugin perfect.
Bug-Report:
In the members_get_role_capabilities() function, you add
foreach ( $role->capabilities as $cap => $grant )
$capabilities[$cap] = $cap;
which makes one thing impossible: Adding a capability without granting access to it. I’m currently writing a plugin for CPTs. This plugin maps the post_type capabilities (added via capabitility_type & map_meta_caps) to the roles if their built in equivalent exists in the role object. for e.g.: ‘edit_posts’ => ‘edit_books. If I now check if the ability is granted, I get a wrong result, because you check if it exists instead of “if ( $grant )”.
I hope you can change this. Thanks!
Hi Justin,
I love the plugin but when I activate it my Gravity Forms “Forms” link in the Admin simply disappears. The forms still work on the site but I cannot access any of the Gravity Forms admin screens. When I follow the link in a form submission email to its location in WordPress (Gravity Forms “Entries”) I get a “You do not have sufficient permissions to access this page.”
Any suggestions?
Thanks.
Justin,
I just found the answer to my own question. Gravity Forms creates 15 new capabilities. I had to go to Users/Roles and click on Administrators, then check the boxes for all 15 capabilities and hit save. Then everything worked perfectly!
Thanks for the great plugin.
Greg
Hi!
Am I safe to assume that this plugin won’t let me to set permissions on all blogs on a multisite network but only on individual blogs?
Thanks!
Ricardo
Hope u doing fine.. here is a need which i wanna discuss to u coz may u help me in it or may b ur this plugin will work for it… guide me plz..
infact i have a page on my website where we provide audio online lectures.. i wanna have a login pw area on that page .. so someone can register for that online class.. also i wanna know that my student is online or offline at the class time…
so plz guide me that ur this plugin will work or if u know about any other plugin for this … i will wait for ur reply dear….
How do I get the post permission?
so I can mark the post, which post is enable to open and disable to open.
please give me some advice to solve this.
Please ask all support questions on the Theme Hybrid support forums.
This work on last version wp?
do this plugin can show the avatar of the member in the widget member list??
You totally saved me with this plugin! I spent days and many posts on the BBPress forum trying to find a way to make a forum visible to only certain level users who are logged in. Tried other user role management plugins but they would not work in conjunction with BBPress. Found yours and was finally able to do what my client asked and make the site live. I just donated. THANK YOU!
Thank you so much for this plugin, it has helped me a load. Im new to wordpress and still trying to get my footing. I have got this up and running and I have added a client “role” with the restrictions I require…now how do i create a place for my clients to register?
Hi..justin
nice plugin
could you explain me..what different between DELETE USER and REMOVE USER role?
by the way..I need to make a new role user can create, edit & delete a new user except admin..could you help me?
thanks in advance
Thanks, Justin. You really solved my problems with membership management on my site. “Role Management” and the ability to protect content based on each individual role was really what I was looking for. Things you can’t find on any paid plugin. Thanks again, dude.
Hi Justin – Great plugin!
One question though. My client whom I have designed a website for, wants to grant access to his SEO person to fiddle around with the All In One SEO Pack settings every day to hopefully accomplish her mission.
Since I use your plugin on a few other sites, I thought it would be a good option here. But I don’t know how to only include All In One SEO Pack as part of the permitted plugin, since it is not listed on the “ROLES” page.
I tried adding “all_in_one_seo” thinking this will resolve the issue, but didn’t work.
Any suggestions?
Thanks
You can create an admin2 role who can access plugins, pages, posts, tags, categories but not users etc. Under capabilities or capacities…or whatever it is called.
This plugin used to restrict private information from public view… I’ve only added checkmarks beside certain users. But recently the pages that were supposed to be for certain users have become public and can be accessed without logging in..
Hello Justin,
Your plugin works fine, but how can users log out once they are logged in?
Hello!
I’m trying to set the plug in up so contributors can suggest changes to posts, but are not be able to publish their changes. I.e. so their changes are set as ‘pending review’ and an editor must confirm that the changes are ok.
Any suggestions to make this happen? (Please!!!!)
Thanks,
Alex
I am happy to have plugins I can trust! Thank you very much. I have come to read your work and download plugins after having bad experiences with a ton of badly coded themes and plugins. I am a front-end designer and can’t really tell until it implodes. So thanks for all you do!
I am sure this info is somewhere, probably obvious, but can anyone point me to it? The fields are not fitting inside my sidebar in the site mentioned above and I feel nervous hacking the css–even if I could find it! Usually I can…
Thanks!
well, I just took it off as I had someone coming to look at the site but suffice it to say, the sidebar is not wide enough to hold it and I would like to find that css or % or however it molds to the sidebar container…
nice plug in! it would exactly what i am looking for if it was able to redirect the non members to a selected post. that would be cool.
Trying to set up a private area but can’t seem to get this to work at all, have a user test_customer who is role Customer and user Test_public who is role Subscriber. The Page “Trade Shop” is checked as accessible to Customer role but not Subscriber role but when I log in as test_Public (Subscriber role) I can see the “Trade Shop” page – no error message. What am I doing wrong?
Hi Justin. THX for this Plug-In! Great Work. I have one simple Question. All capabilities “thick” together are less than 84. On the overview i see Admin (all thicks active) has 84 capabilities. Any Idea what these are…? Thank for your Feedback and keep going on creating AMAZING Stuff… Greets and Beats Pixeljobber
Regarding Gravity Forms… any way to restrict a user to only access one form. I want a forms admin to be able to only see the activities for one form.
Thanks!
Hi,
how can I change the size of the bars where you fill in your username and password in the login form widget? They are now too long and are in front of an picture.
Regards,
Rob
My Client install this plugins but when I set the Role for “Editor” users Capabilities edit media (edit all pages/posts and can delete) but when I logged in as Editor The edit option does not appear. Only I can delete and view published media/pages/Posts. Is there any solution? Can anyone help me?
I’m having the same problem as Masud. The plug-in used to allow users to edit posts, but now it does not.