WP-Members 2.0 beta release
I have been done with the 2.0 release for some time now, but haven’t had the time to finish final testing (mostly of the installation process), put together the readme file, and get it uploaded. I know there are a lot of people that have been waiting for this release so I sincerely hope it meets (and exceeds) expectations.
2.0 is a quantum leap forward for the plugin and involved a ground up rebuild. There were a lot of quick fixes and work arounds in the 1.x releases and I never got it to be what I really wanted in the beginning. Also, usage got to be too tricky for basic, non-techie WP users. I wanted an easy to install product that would meet the needs of the most basic WP user.
We are getting much closer to that goal with this release. Not all the features I want to eventually include are in this version, but it is close. One thing that is lacking (and will be completed in the 2.1 update) is admin functions. However, this is not too critical for user managment since we have moved to using the WP users tables rather than building our own.
That brings up another important point. If you are upgrading, you are going to have to move existing users from the WP-Members tables to WP users tables. I am finishing up a migration script at this point, so if you are upgrading rather than doing a clean install, you might want to wait for that.
Here is the download:Â wp-members-2-0.zip

![Validate my RSS feed [Valid RSS]](/wp-images/valid-rss.png)
Hi there. I’ve been keeping an eye on your plugin here for weeks because I think it might be useful as an add on to my personal blog.
Tonight I installed the plugin on another blog I have at http://googlegames.org to get a better idea of what exactly it does. After messing with it for a little bit I thought I’d provide a few thoughts, requests, etc.
First of all, I think the whole concept of being able to capture additional member information combined with the ability to make some articles viewable only by registered members is fantastic, and it’s just what I would like to have. Thanks for working on it!
After installing it on GoogleGames.org and creating a member area page I tried to register a new user directly from that page. Although it allowed me to fill out the form, when it sent the confirmation e-mail that usually would include a randomly generated password there was only a dollar sign listed for the password - and that wasn’t it. Feel free to try it and see if you get the same result.
I’d like to make all of the address, phone and other fields optional rather than required. Do you have any plans to eventually include an options page in the Wordpress admin area, and if so could you consider checkbox selection of fields to be mandatory?
Do you have any plans to incorporate all of the legacy user data fields and the new ones this plugin adds into the same page for user editing? For example, in order to be a true Member Area I think the member needs to be able to fill in the fields like “nickname”, “URL”, “AIM”, “Use Visual Rich Text” etc. Otherwise end users have to log into two different places in order to update all of their data.
I wonder if it would be possible to just modify the current user information page to add the new fields so that site owners don’t have to include another page to capture that data?
In the instructions it says that posts on the site would be “blocked” by default, but could be unblocked as desired. I didn’t see an Options page in the WPAdmin area, and I didn’t see any options added to post pages that allowed them to be unblocked, so could you tell me how this works?
In my case I would actually like the opposite… I want all of my posts to be open to the general public unless I specifically mark one to be locked. Perhaps this could be another option on an options page? Otherwise, could you tell me how this would be accomplished?
Finally, do you know if the plugin works with 2.1 branches of Wordpress yet? Or is it currently only for 2.0x branches?
Thanks again,
John
Hi John!
I had the same problem with empty password in the confirmation email. It seems to be fixed by going to line 1023 in wp-members.php and changing
‘$body.= “password: $$plaintext_pass\r\n\r\n”;’
to ‘$body.= “password: $password\r\n\r\n”;’
also, in line 339 change
$email_exists = $wpdb->get_row(”SELECT user_email FROM $wpdb->users WHERE user_email = ‘$user_email’”);
to
$email_exists = $wpdb->get_row(”SELECT user_email FROM $wpdb->users WHERE user_email = ‘$email’”);
to enable check for duplicate registrations with the same email
Great plugin ! Just what I was looking for !
I’m currently switching the forms and outputs to full xhtml and adding language support (french+english). Let me know how you can bring my work into your script for the next version.
Hi there!
So, I´m trying to configure the plugin, but it doesn´t work.
1) My question is basic: what accurately can I do to restringe some content? It seens like stupid, but there is not some basic information about that. The readme says:
“To begin restricting posts, you will need to be using the `` link. Content prior to the “more” split will display on summary pages (home, archive, category) but the user will be required to login to view the entire post.”
But what does it means? At my post, I put some “Title”, and then, on the body put some text, and after that this link. Like that:
Some test text
And nothing happens! It´s showed exactly like it. I don´t know what is wrong. I had correct uploaded the file, activated it, logout, login… please helpme!
2) Other thing is about the widget. “you can just drag the WP-Members widget to your sidebar”. Where is the WP-Members widget? When I find it?
Sorry about my basic questions an my poor English! But I think this plugin will save my life! But I can´t use it! kkkkk
Thanks,
Cristiano
My comment didn´t display the “more link”. But is like a test, just after the “Some test text”
May anybody helpme?
hi John,i use it in wordpress 2.2 and after i install the plugin, i can not see “Members” in Users page, can you tell what’s the problem?thank you!
Hi,
Great plugin. Thx. I notice 2 issues, maybe someone can help: In the confirmation email when I register, the link to login is: http://www.mywebsite/archives - yet this is 404. I see its directing to $the_permalink\r\n\r\n - but why to the archives folder? im using numeric permalinks (/archives/%post_id%)
Also, I have created a new page with a slug “members-area” as said. If I am not logged in this works fine and takes me to the registration page where i can sign up, but If I am already logged in, the members-area page displays “” this. I am using widgets and have the sidebar “pages” widgets to display all pages.
Thanks
Rob
Heya - one question. On the description page you state that “It restricts all content by default and allows the site owner to ‘unblock’ content as desired.” Exactly what i would like to do … except I can’t find a shred of info anywhere on how to do this. Any help to be had?
Hi,
I noticed part of my message above was cut. This is the issue I am having: if not logged in, I see the login fields on the sidebar just fine - Im using widgets and WP 2.2. And I set up a new page members-area. This works fine if not logged in, I can click login in the sidebar or click the members-area page button and see the new registration page.
Once logged in, however, the member-area page shows “” and no form. Is it possible to not show the members-area page, if someone is already registered and logged in? Also, is it possible to have a signup link on the sidebar as well, that would disappear, if some has registered and logged in?
Thats alot.
Thx
Rob
great plugin! but i only wanna use it as login without any restricts of all content, but with members-area. how can i do that. waiting for your feedback, greetz whoopy
Hi, there I was just noticing that when users register on my blog they are marked as administrators and I have to change their permissions. Whats up with that? Great plugin btw
Sorry to say it is not working at all on the site I installed it on. I have the log-in displayed on a landing page, however when i click on the link to log-out it does not display the log-in, says I am still logged in.
When I have a log-in field, i place my username and password in and hit submit and nothing happens.
I also do not understand how you select content to be restricted, and not restricted.
Any help would be great.
Johnny
I have 2 questions for you:
1. Is there some kind of way to make something like the telephone to not be required, if yes, how?
2. How and where do I gain access to the information submitted on the reg form?
I also seem to be having problems with the –members-info– tag, no output is displayed.
Any updates in the foreseeable future? This would be an outstanding plugin, if only it worked 100%…
Is there still support for this plugin? I don’t see any responses from John.
Perhaps someone else has figured this out:
How can I change the email from which the script sends the password? Mine sends from user @ hostname dot com. I’d like to change that so the from field reads admin @ domainname dot com
Has anyone figured out how to restrict access to Pages (not blog posts) using this script?
The script works FANTASTIC for me besides that one issue.
Thanks!
Toby
require_once( ABSPATH . WPINC . '/registration-functions.php');Should be changed to simply “registration.php” since…
Password is not sent to member’s e-mail.
I’m not success with Anton Eremenko’s tips.
I’m waiting for this great plugin UPDATE.
Thanks
Hi
Yes, has anyone figured this out? I tried version 1.8 and it installed fine - it created a members page in the admin for me to add users. But it was lacking the actual form for users to enter their info, without me adding it. Then I installed version 2 - this creates a nice form on the members-area page i created. But once logging into admin, the info that new users entered is nowhere to be found. Be nice if it had all these options - a form page for visitors to fill out, and then have that info display in the admin panel under users for the admin to see.
Thanks
Steve
@John Pozadzides, @user:
In the instructions it says that posts on the site would be “blocked†by default, but could be unblocked as desired. I didn’t see an Options page in the WPAdmin area, and I didn’t see any options added to post pages that allowed them to be unblocked, so could you tell me how this works?
By browsing the source code I found out you can unblock a post by using a Wordpress Custom Field. The custom field to use is — guess it — “unblock”. Setting it to a value of “true” will show the post to everybody… or so it seems. I don’t know why this is not mentioned anywhere in the docs AFAICS.
Was anybody able to have the plugin show the introductory part of a post (the part before the “more” tag, that’s supposed to be accessible to all users) in the single post view?
hrm. I can’t see the rest of my posts, even if I’m logged in. The old version worked on another site just fine.
Well, my lack knowledge of PHP didn’t stop me with finding a solution for the “blank email” field in the confirmation email.
Replace > $body.= “password: $$plaintext_pass\r\n\r\n”;
hi there, thx for the plugin!!!
it works great until i tried to test on the NEW USER REGISTRATION………
the confirmation email sent to my mailbox with BLANK PASSWORD, so…i cannot register successfully.
by the way, is it possible to use the WP registration form instead?
Nice plugin but the confirmation email got blank password any sugestiob to fixed it ?
Just found a bug in new user registration that needs a simple line change to work correctly.
In function:
wpmem_inc_regemail($user_id, $password)
Line 1022:
$body.= “password: $$plaintext_pass\r\n\r\n”;
Should be changed to:
$body.= “password: $password\r\n\r\n”;
Without this change, in the registration email, newly registered users receive a $ where the automatically generated password should be.
For the page with the slug “members-area” to work allowing members to edit their password and information when logged in, you must put in the page content area. My form was not showing up when members were logged in because I put in the page content area, but did not include the “!”. You must include the “!” for it to work. I hope this helps.
Hello, I was wondering how to protect pages? Also is it possible to add a register link to the widget? Check out ajax login plugin. That widget works well but doesnt block content. You guys should team up. You both have what the other needs. Thanks D
I have upgraded from 1.8 to 2.0 but also upgraded to Wordpress 2.3.1
Although I can login, I can no longer see the users fields such as Country (which is very necessary for me).
I also tried to test register as a NEW USER but it insists on giving me an error message of “Sorry, that email address already has an account, please try another”.
I will try in on a different IP address later.
Will this be updated so I can see / edit all the user fields such as Country and Tel, etc.? This software was so helpful but I can’t role back to an old WP version …
Thanks.
Thanks everyone for the comments. Unfortunately, I have been so tied up, I have not had anytime to spend on this plugin.
I have fixed a couple of things today, the most important of which would be the password in the email. Several of you mentioned this and I thank you for pointing it out.
Also, the sql for looking for duplicate email addresses has been corrected.
Thanks again!