WP-Members is a free plugin to make your WordPress® blog a membership driven site. Perfect for newsletters, private blogs, premium content sites, and more! The plugin restricts selected WP content to be viewable by registered site members. Unlike other registration plugins and WordPress® itself, it puts the registration process inline with your content (and thus your branded theme) instead of the native WP login page. WP-Members works “out-of-the-box” with no modifications to your theme, but it is fully scalable for those that want to customize the look and feel, or want to restrict only some content. It is a great tool for sites offering premium content to subscribers, and is adaptable to a variety of applications.
Support information
I have been maintaining this plugin for over six years now. Development and support involve countless hours. The project survives solely on donations from users.
If you find this plugin useful, please consider making a donation:
Download the plugin
The plugin is currently maintained at the WordPress Plugin Repository. You may always find the current production version there.
Support documents
The primary support documents I have created are the Quick Start Guide, a visual support document to get you started, and the Complete Users Guide, which documents all of the features of the plugin.
Common Questions
- Changing the Registration Fields in WP-Members
- Change the Email ‘From’ Address without a Plugin
- Change the Email ‘From’ Address with a Plugin
- Customize the Stylesheet
There is a difference between Posts and Pages in WordPress. If you use WP primarily as a CMS using pages for content, you should review this post:
Translation and Localization
If you are using WordPress in a language other than English, the plugin has been adapted for localization. A POT file and existing translation files are available.
Plugin Name
This plugin has been named WP-Members since its public introduction in 2006. Back then, it was the only plugin doing what it does. Since then, there have been some commercial plugins that have hijacked the name. I have released some statements with information regarding the name:
- Statement regarding the use of the name wp-Member by SmartMediaPro
- Statement regarding the use of the name WP-Members by Others
Upgrade Information
If you are using a 2.x version of WP-Members, I make every attempt to make sure that the plugin can be upgraded via the WP admin panel. If you are one of the users still out there using version 1.x (and I really can’t imagine there are any left), there is a migration script for you to make the leap to 2.x.
For more information, or to download the plugin, visit wordpress.org/extend/plugins/wp-members.
Blog Posts on WP-Members:
[ More » ]



I setup the plugin and everything works fine except – it says “Pages can still be individually blocked or unblocked at the article level”
- but when I go to the page to edit it, there is no option to unblock on the page. I want to unblock the contact page so that visitors can still contact me.
I have
Block Posts by default – on
Block Pages by default – on
appreciate your help with this
Thank in advance
Thanks for the comment. This (and much more) is covered in depth in the Users Guide, available on this page. Look under “Override the Default Setting for Posts.” (I’d refer you to “Override the Default Setting for Pages,” but that refers you back to the section on Posts, as in this particular instance, the steps are the same.)
What do I do if I don’t have the Custom Field section in the page edit page? I can get this to work fine with posts, but I want it to be on a page rather than a post and can’t figure out how to do it.
It is the same for Pages as it is for Posts, but you’ll need to check the screen options to make sure Custom Fields are set to display.
From the Users Guide:
Hope that helps.
respected members, how a registered or unregistered user could see the member list the one is registered? and i would like to add the picture option in wp-member form. please help me out thanks. Its very very urgent
chimii@gmail.com
WP-Members does not have a built in function for displaying a list of users. There isn’t a process for adding a picture option – however, WP natively supports gravatars (see: http://codex.wordpress.org/Using_Gravatars)
Hi!
i´m traslating your wp-members to spanish, but i can´t translate this part…. i don´t know why…
you can check here: http://tugrandeza.com/members-area/
so, I was trying in the wp-members-install.php but like it no works..
I apreciate so much you can help me.
thanks!
Hi Emilio, Thanks for your comments.
If you have loaded the plugin at anytime before you added the translation, the field names are already loaded into the database. The install process intentionally does not overwrite the installed settings. There is a toggle in the wp-members-install.php file called $chk_force that will allow you to force these settings to be updated which, if your translation files include the field names and are present when you do this, will load in the translated field names. There are instructions commented into the install file, but essentially, setting $chk_force to true will force the plugin deactivation/reactivation to reload all of the plugin’s db options (thereby providing you with translated field names). Just be sure to set this back to false when you are done, in case you deactivate the plugin later and don’t want to unintentionally override any custom settings. Also note that when you do this, it will set all of the plugin settings to the default, so you might have to check those if you’ve changed any settings.
Hola Emilio and Chad,
Just a quick question for both of you, as I am in the middle of developing a multilanguage site English/Spanish. I am trying to translate the plugin into Spanish, but I am not sure if I have to translate the PHP files one by one, or by doing it on the lang/wp-members.pot file will suffice. Or there is already a Spanish version available.
Also for some unknown reason I can’t get a register button to display on the widget, all I have is just the login button.
Thanks guys for any help on this.
Tom,
Don’t translate the files directly. That is not upgrade-able and when there is an upgrade, you’ll find yourself needing to translate again (and thus probably avoiding an upgrade – which is a bad idea as a lot of times upgrades are security or bug fixes). The .pot file can be used as a beginning, or you can generate a new one. You may want to consider using a gettext editor like Poedit.
Hi. I have a serious issue with the plugin that I hope you will be able to help with. I have a registration widget with Login/Register. I want people to register in order to leave a comment. However, I have created a couple of users to test, including the admin user but when going to a comment, it tells me that I ‘must login in order to post a comment’ when I’m already logged in.
I think there is a conflict somewhere. I’m using WP3.1.3
Well, I did make some changes to the way the plugin handles restricting comments in the most recent version and this has been tested and is working for both admins and subscribers. However, the only thing the plugin does with comments is restrict whether you can view them or not. It does not manage whether users can actually post a comment (it relies on WordPress for that, since there is already a setting for requiring users to be logged in to post a comment). Have you checked this with the that setting on but the plugin turned off? Do you have a test system I can view?
Gicela – I did discover a conflict in the plugin with the ‘reply’ link in the comments. This is being addressed in a bug fix release that I intend to release this evening (if all goes well). There are a couple of other bugs addressed and I will be posting information regarding the release later. Thanks for your input!
If you have loaded the plugin at anytime before you added the translation, the field names are already loaded into the database.
That is correct. You can either delete the plugin via the plugin administration panel which will clear out the db settings, or there is a toggle at the top of the wp-members-install.php file called $chk_force. Set this value to true and deactivate/reactivate the plugin. That will load the translated field names into the db (be sure to change this back when you are done, so you don’t inadvertently reset your settings back to the defaults).
installed update and now plugin will not work. it says plugin failed, Could not create directory. D:/Hosting/3084047/html/30daylearning/wp-content/plugins/wp-members/
the previous version was working fine but the update did not update. please advise.
That generally means something failed in the download between wordpress.org and your site. If that happens, you have a couple of options. You could delete the plugin completely and load a new installation via FTP. You could also check your /wp-content/ directory for a folder called /upgrade/. If this did not clean up properly, you could delete it and try to install the plugin via the installer again.
You might wait awhile this evening before trying to update – I have a bug fix release scheduled to be released this evening.
Is WP-Members Multisite compatible?
http://wordpress.org/support/topic/plugin-wp-members-config-pages-blank
Officially, no. I have heard from some users a while back that they have used it in a Multisite installation, but I have not tested it myself. The development of WP-Members predates the merge of WP and WPmu and has never really been tested in that environment.
Chad,
I’m setting up a wordpress site for my cubscout pack and we have >100 families. Would importing their core data in mysql to the user table be the quickest way to populate the members? If so, how do I get their passwords to them? I’m using subscribe2 plugin and when I manually create a user, the wordpress interface offers to send the password to the new user. Not sure what other wp-members users have done in this regard. Any thoughts?
Hi John, you could import directly and with a large number of users, that’s the way I would do it. However, you need to consider how WP manages users between the users table and the usermeta table. If you are importing beyond simple username, password, email data, then you probably are best off writing yourself a script to do the work. I would suggest you review the database description before attempting this.
If you go that direction, you will need to figure out how to get them their login info. However, if you are intending to user registration moderation (admin approval of registrations), you could import all users as inactive users. Then in the Users > WP-Members if you bulk activate all of the inactive users (which is all of them in this case), it will as a matter of activating them email them their login information with a random password that they can login and change.
WordPress includes the ability to email a password when you create a user regardless of whether you are using a plugin or not. But if you have a lot of users, that’s a lot of data entry. I think you’ll save a lot of time if you work out an import process and bulk activate the list.
Thanks Chad for your quick and thoughtful reply. I have a lot to think about on this but will report back. cheers
Hi Chad,
Quick question, I installed wp-members and it’s working great but the temporary password that WordPress emails out when a user is created through the plugin’s inline contact form doesn’t seem to work. It comes up with an error saying that the login is invalid, I have to re-add the password manually in WP Admin for it to work.
Any ideas?
Thanks,
Tom
Hi Tom, thanks for catching this! This is a bug I missed when testing.
Just looking at it now, it looks like the password being entered into the db at registration is not valid.
The 2.5.3 bug fix release included changes to the wpmem_registration function found in wp-members-register.php some of which was to fix a bug related to error checking for non-alphanumeric characters included in a username. At the time, I had been working on upgrading some of the WP function calls in wpmem_registration for a rebuild of the function to be included in 2.6. Since the rebuild was complete, it was included in this release. Unfortunately, this slipped a major monkey wrench into the system.
I’ll have to do a bug fix release to correct this as we have (in this case – unfortunately) had record breaking downloads of this release. So, that means a lot of effected users. An immediate fix for a production system would be to roll back to 2.5.2. Otherwise, wait for an update (which I will release today).
Hi Chad,
No worries, glad I picked it up then! That’s pretty exciting that the release is having record downloads too.
Looking forward to the bug fix. Thanks!
The update has been loaded, so it should start showing up soon (the wordpress.org svn recycles every 15 minutes)
Hi, Nice plugin !
When the user log in or register, i want them to be redirect to a precise page. How could i achieve this ?
Thx
Well… I am going to be doing some rewrites to the way certain things operate on the road to 3.0. That will include a revamp of the shortcodes. Presently, the register and the login shortcodes were late-term add-ons due to a number of user requests, so they only perform limited functions. I intend to update these to include a redirect value other than the default (the_permalink).
In the meantime, although I don’t recommend editing the files directly, that’s pretty much your option. Both the login forms and the registration forms are found in wp-members-dialogs.php. There are two of each, the tablebased forms (old) and table-less forms (new). The redirect at completion is passed (just like WP’s native functions) in redirect_to as a hidden field. Generally, this is the_permalink(). This is so that when the user registers or logs in on a specific page (such as post “My Blocked Post”), they end up on that page at completion. If you change this, you are radically changing the process flow as it is written, so your mileage may vary…
Good luck.
Is there a way that content can be released to the user based on their time registered? For example, release content after 1 week after, then 2 weeks, etc?
Forgive me if this is answered somewhere else, I have looked and have not been able to find the answer anywhere! Thank you so much for your help!
Hi Christina – thanks for your question. What you are talking about is generally referred to as a drip feed. This plugin does not offer that feature at this time.
Chad- Thanks! I’m still learning the technical side of everything…much appreciated!
Chad,
I was about to make a cooment to ask if your plugin is compatible with the WPDrip plugin developed by Robert Plank when I saw this post. If it is compatible that will solve the problem. The only problem it may cause is his plugin is $47.
Anyway, my question: Do you know if your plugin is compatible with his. That was the only thing holding me back from downloading your plugin. If you are not sure let me know and I will download and install your plugin and his and let you know what happens.
Many Blessings,
Clyde
I’m not sure if it’s compatible – but I don’t see why it wouldn’t be as long as it is working within the WP contruct.
Everything seems to be working very well with one slight issue. The previous/next links at the bottom of each post seem to be confused as to where they should take you.
I have put in a request to Robert to see if he can do a bug fix. I have not yet set up a registration page but you can take a look at the blog using visitor/vistor as a temporary username/password.
I am using a custom blog theme as well as the WPDrip plugin and there does not seem to be any css conflicts or anything else outside the minor problem I mentioned.
I will be setting up the registration page within the next hour so you may want to wait IF you want to check it out.
Thanks for a greta plugin,
Clyde
Seems like I can’t even give you a compliment without spelling the word wrong.
I did not like the separate registration page idea so I modified the css just a tad so the forms would fit better within our theme.
Let’s try this again. Thanks for a truly wonderful plugin.
Hi. I installed this plugin yesterday and it looks great. Thanks! I have some questions though:
- How can I see address, post code and city in the members overview? I need to send items to all approved members, and it would be time-wasting to check each profile individually instead of printing out a list
- How can I edit the standard e-mails sent out upon registration and upon approval?
- Is there anyway the users can pick password themselves?
- How can I change the registration and login form layout? It looks old and terrible.
I would really appreciate help with this. It would make the plugin absolutely perfect form y needs!
Nordion – the users can be exported to a CSV – that would be the best way to manage viewing them by the fields you mention.
If you want to edit the emails, they are in wp-members-email.php, but it is not recommended that you edit the files directly – that is not an upgradeable solution. Users cannot pick their own password at registration. That is part of the validation process. They can (and are prompted to) change it when they login (they can change it to whatever they want). As far as changing the form design, have you read the user guide? This is covered in there.
Hey Chad!
It goes without saying: AMAZING PLUGIN! I doubt it can even be classified as a plugin, its in it’s own league. Anyway, quick question. I have the plugin running, but I want to format the colour of the text and the positioning of the entire login box. Mainly cause my background is white, and the text is white, so while the plugin works, you can’t see fields like “username” or “first name” etc. I tried editing the files in the css folder and I also replaced the #wpmem_reg with .wpmem_reg, same with #wpmem_login. But that didn’t work. After deleting the entire css folder, I found that the plugin doesn’t even use the folder. Any idea what I should do?
Merci!
Hi Vance – thanks for your comments and the kind words. As for customizing the CSS, if you are having challenges getting your changes to show, it is possible that you have some styles being inherited from other stylesheets (such as your theme). I would begin with reviewing /css/wp-members.css as a guide. It is designed to be as generic as possible while still showing what possibilities there are with the generated form. If you continue to have problems tracking down possible inherited styles, you may want to consider working with a browser plugin like firebug to inspect the elements that are conflicting.
Hello, This is a good plugin. However I have an issue.
I am only using the Widgit to control logging in and out of the website. The logout works fine, and when a user logs out it takes them to http://www.mysite.co.uk. The login though trys to take them to http://www.mysite.co.uk/index, which does not exist. How do I modify the Widgit script to redirect the user after login to http://www.mysite.co.uk ?
Thanks in Advance!
Upon login, the user should be ending up on whatever page they logged in on, so it all depends on the type of page/post they are on as to what it is grabbing. This is in wp-members-sidebar.php
Ok, so if I want it to default it always to the home page (www.mysite.co.uk) I will edit thge wp-members-sidebar.php yes?
Hi,
I’m helping a friend with their members area. I’ve successfully installed the plugin and blocked the page, but I’m getting two login boxes. One above the header and one in the body. How do I get rid of the extra above the header?
Thanks!
The extra login area showing above the header is the result of an additional instance of the loop, most likely the theme. There is some discussion of that here.
One more question – how do I allow users to logout?
The sidebar widget has a link to logout. There is also a function call that can be used in your theme,
echoes the user’s login status. If they are logged in, it will provide a link to logout as well.Hi There
Brilliant plugin. However recently it’s not performing the same as before. It used to integrate fully with the theme I’m using however it now looks messy and is over text that’s already on the site. Is there anyway I can fix this?
Thanks in advance.
Colin
In 2.5.1 I updated the forms to tabless CSS. It sounds like maybe you had been using the older forms and the default CSS for the new ones does not fit your existing theme. I would make two suggestions:
Fantastic – thanks!
C
Hi,
Great plugin! I can see the potential, but for some reason once I’ve added the more tag, I as the admin, or general public cannot see further than the more tag.
If you click on http://charterpartycases.com/case-studies you’ll see what I’m talking about.
Also I’m not sure where the registration form, and members only text should be showing.
This should be below the ‘continue reading’ link, right?
Seems that everyone is being blocked, or all user levels.
Sorry, please ignore. I managed to fix it.
If people have the same problem, just check in your permalink settings that its not the same as the page permalink.
It was getting confused obviously.
The plugin works great for the most part, but users are not being directed to a password reset form when selecting “Forgot?” in the Member Login sidebar, or “Click here to reset” under Existing Users Login.
http://og86.com/user-settings/
I went through the entire WP-Members User Manual, so I’m a bit stumped as to why it isn’t working now. I am using WP 3.1.3, and WP-Members 2.5.4, along with Events Registration, Members List, NextGEN Gallery and The Events Calendar plugins.
The shortcode for the members area isn’t parsing (I can see it in the excerpt), so it could be a couple of things. Double check the shortcode that it is correct, I would suggest making sure it is typed rather than copy/pasted from the users guide. If “Show Excerpts” is checked, try it unchecked (although the registration page seems to be parsing correctly, so I don’t think it’s that). If you are blocking pages by default, I would also say add a custom field to unblock the users settings page.
Thanks Chad. It seems to work better with “Show Excerpts” unchecked, but there is still no form to actually reset a password is somebody needs to. I unblocked the pages as well. Wasn’t blocking by default, but had added a custom field to block the users settings page. Removed now.
Also, besides no form showing to reset a password, I am getting reports that some users are not receiving the email message with their password once I Activate them. Any solutions?
Ok, fixed the Reset Password form so that it shows now by removing the custom field on the users page that was: block, false. Now to just make sure Activated users are getting the email with the password to login…
Ahhh… I can see how that would throw things off. There actually is no false value for block, so that was actually blocking the page. The custom field to unblock is “unblock”.
Regarding the email, if users are not receiving emails, there may be an issue with wp_mail. I would initially refer you to the FAQs for “Users are not being emailed their passwords, what is wrong?“
Nice plugin. I hope you will add a widget Top commented users, I need it. Thank you
I might suggest using something that is already out there, such as Top Commentators Widget (from webgrrrl.net). The users for WP-Members are stored using the native WordPress users table so it should integrate (it seems to on my staging system, anyway).
I love this plugin – and when I have it working properly will send you a donation to thankyou for your hard work and support. My only issue currently is that the registration does not work – it shows the page but the fields are unable to be edited. The only way I can get a new user on board is to try to access a post and the form that appears then is editable.
I have tried with all posts blocked (then the page unblocked using unblock true) and also changing the default to posts unblocked…still no luck.
What silly thing am I doing wrong?
Thanks
Nicky
Hi Nicky – thanks for the comment – If I understand you correctly, the registration process is working on all but the Register page? Do you have a link I could take a look at?
Hi Chad
I have recently installed WP-Members on my main blog and 5 other subdomains. May I know how do I allow a registered member to access all sites with just 1 login username and password?
thanks
christian
Christian – they would all need to use either the same WP users table OR would need something that synchronizes the WP users table across the domains.
Great plugin, Chad. It should work well for managing my small cabin owners group website. I am moderating each user registration, but I notice that the email to the new user, entitled “Your registration … has been approved”, gives the wrong link for “You may log in at [link].” The link given is the WordPress address, instead of the home blog address. Since my WordPress files are not installed directly under the root directory, the link results in a “404″ error.
The problem seems to be in the PHP file “wp-members/wp-members-email.php”. In the section called “Case 2: Registration is moderated, user is approved”, there is a code line “$url = get_option(‘siteurl’);” Instead of “siteurl”, the option should be “home”, which will return the blog address URL. Please take a look and see if I am understanding the code correctly, and whether this simple change will solve the problem (without creating other problems!)
Thanks again for your great work and your ongoing timely support of the WP-Members plugin. We all appreciate it.
Hi Bob – that’s something that I’ve been looking into, but haven’t made a decision as of yet. As I’m sure you know, any change that gets put in to assist one group of users has the potential to adversely effect another group.
On a related note, the 2.7 project cycle will include the ability to customize the email response process.
Hi, Chad,
Thanks for you prompt reply. I tried changing your “wp-members-email.php” plugin code from “$url = get_option(‘siteurl’)” to “$url = get_option(‘home’)” — that changes works great for my WP configuration, but I understand your concern about such a change adversely affecting others.
I will look forward to the 2.7 release you mentioned, which will customize the email response process. For my issue, it would be nice simply to specify the landing page where the new member should be directed to login. Also, it would be nice to specify who is the sender of the automated email responses, rather than the default sender “WordPress”. I know you are aware of these issues, and judging from all your blog activity, you must be swamped! Thanks for all your good work, and we look forward to more.
Hi, Chad,
I just noticed your post from yesterday entitled “Changing the wp_mail from address in WordPress without a plugin.” Very timely! I will insert that code in my functions.php file. Thanks.
Hi Bob – thanks again for the comments. Yes, I’ve been busier than a one legged man in a butt kicking contest
I’m trying to wrap up the 2.6 project before the end of July and will start into the 2.7 list soon after. I’ll be posting more information about what the 2.6 release will include soon. As I mentioned, 2.7 will be focusing primarily on the email process.
That should get the plugin to the point where I would like it to be before beginning to finish work on the subscription/expiration/payment module.
So… that’s a look into my thoughts on the direction this thing is taking.
Hi Bob, Do you have an idea how to change that automated sender “WordPress” into “Admin”? ex. admin@yoursite.com
Hi Chris – thanks for your question. I have a question for you. Did you read anything on this page before posting your question?
I LOVE this plugin and the user manual – thanks so much I have to admit to having paid for the WP-member by Smartmedia Pro and yours is FAR better! (and will definitely be donating shortly to your plugin) I have one little issue that I cannot figure – the pages that are automatically formatted so the product category and the blog pages are showing to the public and should be locked, and the pages that are restricted still show the widgets… can you make the widgets restricted also and am I missing something with these pages?
http://www.twinimages.com.au/devsite/latest-news/
thanks for your assistance Chad!
Hi Lauren,
Thanks for your comments and the kind words. I also got your email, but I thought that the answer to this might be good for all.
The plugin really was designed with blocking just the content in mind. This was for premium newletter-type sites where navigation and such was teaser for the premium, leading the user to register prior to gaining full access. However, through time, it has been adapted to many other uses, most of which has been added as a result of user requests.
I’ve looked at the possibility of expanding various options such as you have suggested, but anytime we go a direction like that, it takes a lot of consideration. Adding options not only takes a lot of development time, but more importantly, it can make things end-user complicated, which I very much try to avoid. So as I look into things, I always consider, will the plugin users understand how to implement a new feature without difficulty.
That’s a long way of saying we’re not there yet
but there are some other options if you are handy with theme development. I would suggest the use of is_user_logged_in where you have your widgets and menu items that you don’t want to display. This may be an oversimplification, but something like this might work:
< ?php if ( is_user_logged_in() ) { ?>... user is logged in so show widgets ...
< ?php } else { ?>
.... user is not logged in do something else ...
< ?php } ?>
Of course, you wouldn’t have to do the “something else,” you could just leave it at not showing and leave out the “else {”
Hope that helps give you some ideas. This is probably something I should write a more indepth “how-to” post on.
-Chad
Hi Chad – thanks so much for that – I have found a very simple solution your users might like – if you use the widget logic plugin and the is_user_logged_in code in the widgets you want hidden it works a treat
now to figure out the category pages…..
good to know – thanks!
I have found that this bit of code in your theme’s functions.php file will block a certain category from showing up in the home/archive/list pages as well as the built in widgets like recent posts.
function exclude_category( $query ) {
if (!is_user_logged_in()) { //non-logged in user
$query->set( ‘cat’, ‘-5′ ); //removes catID 5
}
}
add_action( ‘pre_get_posts’, ‘exclude_category’ );
As a bonus, it appears that the category archive for this category (/category/slug/) will simply give the not found message because all of the entries have been removed from the WP loop!
This is based on the Plugin API docs at http://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts
Hope it helps!
Andrew
Hi
I am looking for a members plugin and this sounds interesting, but I can’t easily find the answers to two questions I have:
1] Is it a double opt in system?
2] How would one send newsletters/emails to members – is that part of the WP-members plugin, or do you need something extra?
I am looking for a simple members plugin that enables people to join, so they can see “members only” stuff; no members would be charged; I want to then email/newsletter them occasionally.
Thanking you in anticipation.
This plugin should work fine for what you describe with the exception of email. The registration system operates similarly to what WP has internally (if “anyone can register” is checked) in that the user registers and is then emailed a random password, which validates that they have provided a valid email address. At that point, they can login and change the password to whatever they want. The primary differences between this and the native WP process is that WP-Members adds additional fields (which can also be customized) and puts all of the registration and login process inline with the content and theme providing a more seamless user experience.
So with that in mind, it covers the first part of your need – simple, allows people to join to see restricted content, they don’t have to be charged. There is no internal email process. During the early years of this plugin’s development, that seemed like over-kill as there were plenty of email newsletter plugins available. However, I’ve been getting requests for integrated functionality within the plugin itself – more of a “one-stop-shopping” kind of thing. With that in mind, I’ve been working on adding email newsletters down the road. That will likely be introduced sometime in the 2.7-2.9 cycle. Until then, since WP-Members uses the WP users table, it should integrate with a number of existing newsletter plugins. Alternatively, WP-Members has user export features so you can also integrate with an external program as well.
hey few questions i have..
i think there are still areas that needed attention to fully make the plugin great..
1. When someone registers, a confirmation was sent on email to verify or perhaps get the randomized password right? What I saw is the email was sent by “wordpress@mysite.com” not literally from my own site like admin@mysite.com.
2. When a user is logged in and tried to comment, on top of every comment you will see that his/her username is highlighted as a link. Which when you click on it, it will redirect users on WP Dashboard. Not members area. O_O
3. On the other hand, when the user is not logged in, and try to post a comment that is only logged in users can do. He/She will get a message like this “You must be logged in to post a comment.” Which again, when you click on the highlighted url, it will be redirected to WP Dashboard and not the WP Members login page. =/
Is there a way to fix all this?
Thanks for the comments. I’m not sure “fix” is the right word though as these aren’t things that are broken. The plugin does not assume that there is a one-size-fits-all solution and instead intends to be more flexible and customizable, focusing on doing one thing. With that in mind, the three things you are asking about are already covered by either other plugins and/or WordPress action and filter hooks.
The first thing, the registration email, is very easy. But it’s a question I get a lot, so I actually put together a “how-to” post on changing this. The plugin uses the built-in function wp_mail, which is what is sending from “wordpress@yourdomain.com”. This is easily changed with a couple of filters added to your theme’s function.php file.
The other two issues are related. These links you mentioned are handled by the WordPress commenting system and your theme’s comments.php file, not the plugin. It’s a little more complicated than the mail issue, but similarly needs to be handled either by your theme or with filters. One such possibility would be to set up a login page using the plugin’s options, then add a filter for the main WP login page to direct to that:
add_filter('login_url', 'my_login_url');function my_login_url($login_url = '') {
$login_url = 'http://mydomain.com/my-login-page';
return $login_url;
}
Hope that helps give you some ideas.
That link you just send out does work. Thanks for that.
But the code
add_filter(‘login_url’, ‘my_login_url’);
function my_login_url($login_url = ”) {
$login_url = ‘http://mydomain.com/my-login-page';
return $login_url;
}
for WP login is not working for me.. =/
Checked the link – it’s valid. But regardless, if you can’t get there, it’s currently the second most recent post on the front page of this blog titled “Changing the wp_mail from address…”
That code wasn’t exactly something you can just copy/paste (which I must assume you did, otherwise it would be working). Did you (1) set up a login page using the wp-members shortcode, (2) specify the link to that page as the value for $login_url, and (3) put this code somewhere it can fire, such as your theme’s functions.php file? If you do all of that, it will work.
Also, what you pasted in your response is not correct. The line function my_login_url($login_url = ”) needs to either contain ($login_url = ”) with empty single quotes (not ($login_url = “) with a single double quote – which is what you pasted) -OR – just make it ($login_url) if you can’t get that.
Hi Chad
Great work with the plugin. I installed it on my web site for premium content subscription.
“Forgot Password? click here to reset” functionality is not working. What can be the possible cause and solution to this problem. I am from a non-technical background, so would appreciate with you can make me understand this in novice language.
Regards
Ryan
I’ll try to keep it simple, but you haven’t provided much information – “not working” could mean a lot of things. It sounds like the link is showing up, in which case you must have put the location of the members settings page into the plugin options. I would begin by double checking that you have the correct URL in there. If you typed it in manually, it might be a good idea to browse to the members settings page and copy/paste the url into the settings. Here are some things to check/try:
Hope that helps.
Hi Chad
So I have not created any “member area”. I block each page using “custom field > block = 1 “option
what should then go in “member area url”?
If you haven’t created a members area, then the forgot password link will not show (as there is nowhere to direct them). Is that what you meant by not working – that it is not showing?
It might be helpful to review the section in the Users Guide titled “Members Settings Area”
hello,
i am trying this plugin and everything is working for me expect that the login form on my “members-area” page is too big. is there a way to edit that? i am not good with CSS but i just can not find the file to edit. your tips on this matter would be appreciated.
I would say that you have two options. First is to create a custom CSS file. If you are “not good with CSS,” use the existing stylesheet as a starting point. It is found in the plugin’s /css/ folder. (Use wp-members.css, not the twenty-eleven.css file, which is not really ready for prime time.)
Your other alternative would be to switch to legacy forms. These are tablebased forms that fit a variety of applications. There are CSS div tags wrapping the forms so that you could add CSS specifications to your theme’s stylesheet to tweak the layout and make specifications to the table elements and form elements.
Note: in either case, your theme’s CSS may also have an effect on the forms as there may be certain specifications that are inherited.
I would not recommend changing the forms directly in the plugin as any changes would be overwritten when you upgrade the plugin. (Also, the functions that generate the forms are currently getting a complete overhaul in 2.6, so while the output will be the same, the function will be considerably different.)
I have a feature request to your plugin:
It would be great if you could use custom-post types to determine if a page/post is public or private. Currently you only can specify 2 flags for default visibility on pages and posts. Think of custom post types like: “Private Articles”, “Private Pages”, “Private Protocols”. Now wp-members comes in and allows to specify private access privileges to all post types. From now on all of those posts created are simply private to the public.
How can I get the “Forgot?” link under the login area to read “Forgot Password?” And also up the font size?
Hi there,
Great plugin, thanks!
Just wondering if there is any easy to provide a ‘self delete/unsubscribe’ link for users?
I know it’s in the original email but is there a way of providing a way to do this via say members area?
There is not at this time. That is in the project queue, though and should be added sometime in the near future (probably in the 2.6 or 2.7 release)
Hey Chad,
Awesome plugin! I am very impressed at the ease of use and the hardwork you have put into it. Forgive for using the comments as a way to ask for support, but I have a question. How exactly do I set up my subscribers so that when they log in, the do not have the admin bar show by default. I know where I can go in and uncheck the “Show Admin Bar” box, but I need it to happen automatically for every new subscriber without me having to manually go in and uncheck the “Show Admin Bar” boxes. Is there a master option that I can check that will keep new subscribers from having the WP admin bar show on the website? Forgive me if its a stupid question, but I just cant seem to find it. Thanks Chad!
Todd
Hi Todd – that’s a GREAT question. Since the admin bar is more of a recent addition to WP, I hadn’t really thought of that but I know certain users of the plugin would not want that to show if a subscriber is logged in. Based on this question, I’ll be putting together a more in depth blog post on how to manage this. But in the meantime, a quick and dirty fix would be to add the following to your theme’s functions.php file:
// show admin bar only for adminsif (!current_user_can('manage_options')) {
add_filter('show_admin_bar', '__return_false');
}
Hey Chad,
It worked Perfectly!! thanks, I really appreciate it
Todd
Hi Chad,
Great piece of work with the wp-members.
Just want to check, i’m running WP 3.2.1 and I have the wp-members plugin installed.
Then I tried registering 2 ‘test’ new users/members, and I received the New User Registration emails to inform me so. However, the ‘test’ users that registered had never receive any password as prompted by the system upon signing up.
It’s been at least 2 hours, I don’t think it’ll take that long anyway. Is there anywhere that I can check? or fix this?
Thanks in advance.
Thanks for your comments @quattro. I will refer you to the FAQ titled “Users are not being emailed their passwords, what is wrong?” at http://wordpress.org/extend/plugins/wp-members/faq/ (I should re-post all of the contents on this site, but haven’t yet
)
Hey Chad,
Thanks for the tip.
Finally managed to get it working by installing the wp smtp plugin.
My ‘test’ users are getting the password now. Great.
Thanks a lot.
Regards
Hi, I have downloaded your membership scripts to my wordpress hemsida.Men I do not really understand how to do, although I’ve looked at your hemsida.Jag have a page that members can write their messages in, but other pages can not they write in but just read. How do I do that? Grateful for a quick response. / / Mats
Hi Mats – thanks for your comments, but that’s not really what this plugin does. Sounds like you are looking for something that is more of a social networking plugin.
Hi Chad,
This is a great plugin, almost exactly what I’m looking for!
Is there a way to block categories? and custom menus? If there is any possible way to do that across the board, please let me know. I’d love to just set a “members” category and block everything from it. And I also have a custom sidebar menu with options and documents only available to members that I’d love to block as well in my widgets.
Thanks!
Matt
Hi Matt – thanks for the comments. At this time, there is no category blocking, although that is a feature that will likely be added some time in the future. As for custom menus, that can be done in your sidebar with a little coding using is_user_logged_in().
< ?php if ( is_user_logged_in() ) { ?>... user is logged in so show menu ...
< ?php } else { ?>
.... user is not logged in do something else ...
< ?php } ?>
There are of course lots of takeoffs on this as well. You could do something within the menu so the whole menu shows if a user is logged in but certain menu items do not if they aren’t; or, you could have a secondary menu for members only that only shows if they are logged in, etc…
Hope that gives you some ideas.
Hi Chad,
The plugin works well, except that the login & registration forms both appear in body of restricted post page using recommended settings & the form fields are compromised or broken.
I’d like for non-reg users to utilize the Register link at the bottom of the login form OR keep the login form and add a Register link of my own. I’ve tried to make this work and have been unsuccessful. Even with both the login & register forms in place, clicking the reg link at bottom of login form fails to produce a register pg. I tried unchecking the register form option in the plugin- which removed the register form (good) but it also removes the register link at bottom of login form. This is acceptable if I can still offer a workable solution for users to register.
Please provide suggestions for making it work. (fix the form fields & allow users to login or register using one form/link.
I’d contact you through ‘Contact’ but doesn’t appear to work.
Thank you!
Courtney W
Hi Courtney,
I took a look at your site and it seems that the primary issue is the shortcode for the registration page. All the WP-Members shortcodes should be in the following format:
[wp-members page="register"]It seems that this was incorrect in the Users Guide (which I will update). Hope that fixes things for you.
-Chad
Chad! Thank You!
Still not sure the ‘password’ field (login form) and ‘first name’ (registration form) are as intended (not in line with other fields- sent you a screenshot) but everything works as I wish now.
Thanks for the prompt reply- the fix worked!
Thanks again. Everything functioning perfectly. Love the plugin.
I am new to wordpress and wp-members.
I followed instructions to install the wp-members. when I want to login with the sidebar widget, it do nothing after I enter username and password and click “login”. What should I do for this problem?
What type of template are you on when this occurs or is it occuring on all types (page, post, home page, archive, etc)?
When people are registering for your website, is it possible to change “State” to “Province/State” and “Zip code” to “Postal or Zip Code” in the registration form? Thanks in advance!
Hi Steve – thanks for sharing the video link. Unfortunately, it can’t go in the comments, so I listed it in a post. Is that your video or just one you happened across? I thought it was a good overview of the install process (although with the new User Guide and the addition of shortcodes, some things have changed a little; such as incorporating the members settings area).
Regarding changing the fields, this post covers it. Although, in the upcoming 2.6 release, there will be functionality added to the settings panel to be able to customize the registration fields via the admin.
A few errors in the code:
Line 495 of wp-members-dialog.php should be <input name="log" type="text" value="” id=”username” class=”textbox” /> not <input name="log" type="text" value="” class=”username” id=”username” />
This causes visual errors with certain themes that style input textboxes.
Same error exists in line 124 of wp-members-sidebar.php
And Line 41 in wp-members-dialogs.php should be $wpmem_login_form_arr = array(__(‘Existing Users Login’, ‘wp-members’), __(‘Username’, ‘wp-members’), ‘text’, ‘log’, __(‘Password’, ‘wp-members’), ‘password’, ‘pwd’, ‘login’, __(‘Login’, ‘wp-members’), ‘textbox’, ‘password’); NOT $wpmem_login_form_arr = array(__(‘Existing Users Login’, ‘wp-members’), __(‘Username’, ‘wp-members’), ‘text’, ‘log’, __(‘Password’, ‘wp-members’), ‘password’, ‘pwd’, ‘login’, __(‘Login’, ‘wp-members’), ‘username’, ‘password’);
(Or at least this solved my problems with my theme CSS getting overwritten.)
I know I might have been able to fix this by punching around in the CSS, but then any change that I made to the overall theme form CSS would mean coming back in here and trying to fix it again, etc.
Everything else about that app is fantastic, but the little visual glitches make me dig into code.
Hi Nick – thanks for the comments. While I appreciate the suggestions, I can’t agree that this is an “error,” nor that it “should be” another way. We are simply talking semantic differences, which does not equate to an error. Due to the large number themes floating around and that there is no single design standard (at least in this case), there is no way to please everyone out-of-the-box. The only way for me to come remotely close to that goal is to make the plugin as flexible as possible.
With that in mind, the included CSS is really there for people who have little to no experience with HTML, CSS, or PHP and simply want something that plugs in. But for the best integration, it is fully intended that you would incorporate your own CSS into what is loaded for the plugin. That could be as simple as adding .username to the style definition you have for .textbox.
But not everyone is going to follow the same standard. For example, what if a particular installation requires some specific style applied to the username and/or password textboxes that are not applied to the others (such as maybe a user icon and a padlock icon in the background). I’ll agree that in your example that could be accomplished with the id rather than the class, but hopefully, you can see the point.
So as I said, that is the reason that the CSS can be customized which is far better than hacking the code – a solution that is not upgradeable, since you’d have to redo any hacks in the event of an upgrade, whereas customized CSS would remain if you specify a location outside the plugin folder.
To make this further extensible for the more advanced user, beginning with the upcoming 2.6 release, the CSS for the plugin will be loaded using wp_enqueue_style so that advanced users can simply deregister it and load their own without needing to deal with the plugin admin panel.
Again, I appreciate the suggestion, but my suggestion is to work with customizing the CSS rather than the code. With thousands of users of this plugin that have already gone through the process of integrating into their themes, it would be unfair to make a change that is simply a matter of stylistic difference, thus forcing them to re-do any customization work they’ve already done.
Is their anyway to notify the admin if a member edits their information.?
Hi Jason – thanks for the comments. There is not a way to do that without making edits to the core, which I do not recommend. Also, that could result in a significant number of emails (say a user updates, then realizes they missed something, updates again, then one more time, etc).
That being said, if you want to do this, it would be a simple process (although any hacks need to be redone in the event of a plugin upgrade). Both registration and updating are handled by the same function –
wpmem_registration()found in wp-members-register.php. The notify admin function is fired near the end of the register case. What you need to do is add this to the end of the update case. Add:wpmem_notify_admin($user_id, $wpmem_fields);just before the line
return "editsuccess"; exit();I gave it a shot and this is what it says….Fatal error: Call to undefined function wpmem_notify_admin() in
Ahhh… yes. I see why.
That function is in wp-members-email.php, which is only included when needed. In this case, it is needed for the registration case, so when you are in the update process, it doesn’t need it and therefore doesn’t load it.
Right before _notify_admin, you need to include the file:
require_once('wp-members-email.php');Also, looking over other potential items, the user ID might need to be caps:
wpmem_notify_admin($user_ID, $wpmem_fields);Hope that helps.
It worked ! My last hurdle is a problem with the registration/sign-in text boxes that do not line up with the labels. It looks perfect on my widescreen laptop, however on a 15″ desktop monitor it moves the 2nd label (password or first name) over to the right and lowers all of the text boxes down one spot. Therefore, it makes the registration very confusing and the existing log in looks funny.
Hi Chad,
Is there a way to block all posts of a specific category or on a specific page?
I’ve blocked the page titled “Members” but the post on it is still visible behind the login information. Is that because I haven’t blocked the actual post? All posts on that page will be in the same category and I would like them all to be private. Should I block the page or the the posts?
Hope that makes sense. Thanks for the help!
Steph
From your description, it sounds like you want to be blocking posts for a specific category. The plugin does not differentiate blocking based on category (although at some point in the future it might). So you need to decide if you want to block all posts by default and then unblock individual posts that are not in the blocked category, or vice versa (unblock all posts and individually block posts that are in that category).
I’m have a problem where even though I uncheck ‘hold for approval’ it still does. Can I get around this? Thanks
are all the other emails working?
I actually figured it out, but thanks for replying so quickly. Even though I unchecked the ‘require approval’ box the registration dialog message by default still said that the password would be emailed to them upon approval, so it was a little confusing. Maybe it was because I was using an older version? I updated it, but since I changed the dialog message to something else I’m not sure it would have been fixed with the update.
However it’s not emailing the username & password on new registration. Is it supposed to? Thanks,
-Garrett
OK got it working. For some reason the update alone didn’t really update complete. I ended up deleting the plugin and reinstalling, everything seems to work fine now. Thanks!
Glad to hear you got it working.
Generally, if there are issues with emails, it is best to check to find out if other emails are working as well. WP-Members uses the wp_mail function to send its emails. If wp_mail is not working, none of these will be sent.
I think the WP-Members plugin is messing up my photo captions when a user is not logged in. I’ve turned off then on all my plugins and WP-Members is the one. Also, googling for support, I’ve found other sites displaying the caption code like mine (for instance: http://mylifechanging.co.uk/2011/07/13/the-fancy-dress-winner/
and
http://www.spiritworksfoundation.org/2011/05/02/welcome-to-my-blog/
When a user is logged in, the photo captions show up fine but logged out or new users see the raw code for a caption.
Here is one page on my site that shows the caption problem
http://voiceofwr.com/2011/07/27/visitors-guess-who-done-it-at-historical-murder-mystery/
Any thoughts?
Jeff – the current (and previous) version of WP-Members is not compatible with shortcodes in the excerpts. A number of core functions have been rewritten for the upcoming version 2.6, so it is likely that future versions will have shortcode support for excerpts.
Is there anyway of changing the background color of the “registration log-in:”and “new users registration” field names? The grey colour does not work at all well with my site’s colour scheme.
Also, earlier I posted (or thought I did) another question which has not appeared. I am wondering whether I actually didn’t post it or whether it is still be monitored.
Many thanks
Absolutely! The forms are entirely CSS driven and you can load your own stylesheet for them. I would suggest reviewing Customize the WP-Members stylesheet for information on setting up a custom stylesheet. From there you can style the form however you like.
Hello, can anyone help me with a login problem I have? I just get redirected to the same page when I put in the uname n pwd. If you wanna see what I mean you can try u:Al and p:2233 on my page. Thanks!
ps. Currently working on it hope I figure it out soon.
I suspect those are not valid credentials – check in your admin panel to see if it’s a valid user then double check the password. If you can’t log it in with on the WP backend either, the credentials are invalid.
Thanks for the response. The specific user wasnt valid for some reason, I had made him to test apparently I mistyped but all my previous users have been unable to login for a while now (they were able to login earlier). I corrected the user and now using http://dirac.dynalias.com/bb/wp-login.php I can login with u:Al and p:2233 but I still cannot with the sidebar widget (I can’t login with my proper account from there either). I moved it up just in case I messed something while playing with my theme and I also tried uninstalling WP-members and re-installing it. I havent changed the setting of WP-members so I’ll go with the “recommended” ones in the tutorials though I don’t see why that would be an issue .. :S
that’s still not a valid user account as far as I can tell.
For the sidebar login, the only known issue is logging in on the home page, and it usually presents itself when WP is run in a directory (as opposed to the domain root). You can fix this by making a change to wpmem_do_sidebar() in wp-members-sidebar.php. There are two places you will see
Change those to:
That was it
Thank you!
My Members Area has the following:
Forgot password? Click here to reset
When I click the “Click here to reset” link (http://www.taconicgolf.org/members-only?a=pwdreset) it appears that I immediately get access to the secure area and no email is sent with my new password. Also, no form shows up to allow me to specify a new password. I’ve verified that WP-Mail is working because it sends me the login information when I add a new user. I’ve tried to setup the plugin so that it doesn’t allow new users to register on their own. I’m using it to control access for a membership list that is administered manually if you will. What am I doing wrong?
What is showing is not the reset password form. It is only showing the login form (without the registration form, as you have indicated you have that process turned off). What it looks like is that something is not configured correctly and that is preventing the reset password form from displaying properly. There are two possibilities:
First of all, thanks for the great plugin!
My question is about the login link included with the new member email. For my purposes, my site administrator will be adding all members manually. There is no registration or specific login page.
The email to send new members their info works fine. Only problem is that below the username and password, there’s a link to wp-login.php that I can’t get rid of. I’d like to replace it with the main domain URL or any other non-admin page.
After playing around with wp-members-email.php I can’t find where the code is to take out or change that login link. And I am aware that editing that file is not particularly advisable but for this site’s needs I’m fine with doing that.
Can you lend some guidance how to alter/delete that pesky link?
Thanks!
It doesn’t sound like you are talking about an email that comes from the plugin, as nothing the plugin generates directs users to the wp-login. Are you talking about what gets generated when adding users through the WP admin panel? If so, there is likely a hook or filter available to override that, but I do not know what it is. Here are some other ideas…
Redirect the user after login:
add_action('login_form', 'my_login_redirect'); function my_login_redirect() { global $redirect_to; if (!isset($_GET['redirect_to'])) { $redirect_to = get_option('siteurl'); } }Or you could override the wp-login page altogether (also good if you get this same link as part of your theme’s comments template):
add_filter('login_url', 'my_login_url'); function my_login_url($login_url = '') { $login_url = 'http://mysite.com/myloginpage'; // you need to change this return $login_url; }You’re right Chad, that’s the reason why messing with the wp-members-email.php wasn’t doing any good.
For the record, when adding members directly through WP Admin, a very plain user email gets sent out with a link to wp-login.php. As a temporary fix I installed the SB Welcome Email Editor plugin. There’s probably a better way to do it but that works for me for now.
Thanks again for the plugin. Love it!
Thanks so much. I will create my own stylesheet and see how I go!
Sorry but I have two more questions. They are:
1. I have a member’s page and a discussion forum. The text against the dialog box entitled “Restricted post (or page), displays above the login/registration form” appears if I try to access the discussion forum without logging in. However the text does NOT appear on the member’s page in the same circumstances, although the login and registration fields do appear.
Is there any way I can get that messages to appear on the member’s page as well as on the post ?
2. Is it possible to change the email address that sends an automated email from WordPress@xyz to admin@xyz so that it is clear to those receiving the email where it is from. Most users won’t know what WordPress is but I think if they see ‘admin’ it will be ok.
Thanks so much once again for all your help.
Brenda
Brenda – The text that it is a restricted post does not appear on the members area page because that’s not really what that page is about. It is a location for members to manage their information – change registration info and change/reset passwords. However, the upcoming version 2.6 has some significant reprogramming to better utilize the shortcode API. You’ll be able to add text for both logged in and logged out users on both the Members Settings page as well as the Registration page.
Change the Email ‘From’ Address without a Plugin
Change the Email ‘From’ Address with a Plugin
Hope that helps.
Thanks Chad, I will look forward to the new version!
I have what I hope is my last question for a while! I am trying to work out how a person can change their password from the random one that is sent to them. A link in the email takes them to the members page but all that does is allow them to log in. It doesn’t give them the ability to change their password.
And if they click on the reset button all that happens is that they are sent a new password, even though the message that comes up when they do that is:
“Password successfully reset.
An email containing a new password has been sent to the email address on file for your account. You may change this random password then re-login with your new password.”
What am I missing here please?
Thanks once again.
Once the user logs in on the members page, they can change their password.
Hi Chad,
In response to your message of August 3, 2011 at 2:27 pm saying:
“Once the user logs in on the members page, they can change their password”
On my site, when a user logs in they get the following on the member’s page:
You are logged in.
* Click here to logout.
* Begin using the site.
You are logged in as Webgyze
click here to logout
“Begin using the site” just takes them to the home page. I can’t see anywhere they can click to change their password.
Thanks in anticipation.
Brenda
That’s what shows if you are on the registration page if you are logged in… Look at the shortcode you are using to generate the page – it should be [wp-members page="members-area"]
I love this plug in and want it for the moment to use as a login and members area rather than the wordpress bland page, but no matter how hard I try I cannot get the members area to work or the new password request.
I was trying to copy the way you have itset up on your twenty ten trial page everything runs smoothly.
I too cannot get the members area (reset pw) to show up, its just a blank page. I inserted the shortcode and have it unblocked, any ideas?
Chad,
I just want to say how much I have appreciated all the help you have given me.
I am still learning and so am doing a couple of community webpages for free to get the experience (and also to help out some non-profit groups).
So I am unable at this stage to make a donation. But hopefully soon I will have a paying customer who needs this plugin at which point I will happily make a donation.
Best wishes
Hi Chad,
in functions.php? in the plugin’s php files? Any hints would be appreciated.
Great plugin!!! a nice work you have done here.
Would it be possible to make it compatible with a multilingual site? I’m using qTranslate plugin for the site to translate to different languages. But WP-Members doesn’t seem to work with it. I found this it might be of some help: Making Plugin work with qTranslate, only if I knew how to use it,
BTW, I’ve done some changes to the Spanish translation to a not so formal style and correct a few things. I can send it to you.
Thnks
Feel free to email any translations – I’m always happy to post those.
At this point, the plugin can be localized and works fine in a single language, but certain elements do not work well on multilingual sites.
Chad, you can download the Spanish translation files from here:
http://db.tt/RVIjvex
http://db.tt/iZnnupA
Please, if you could have a look at how to implement the compatibility with the multilingual plugin, otherwise it is not of any use for me.
It’s semi-compatible as it is. It is the form elements and dialog messages that are customizable (and therefore stored in the database) that won’t get translated on the fly (they are translated at install).
OK, I’ve found a work around. It seems to be working now when I switch languages, but it might interfere with other plugins…
In wp-members.php changed line:
load_plugin_textdomain( 'wp-members', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' )
to:
add_action('init', 'init_textdomain');
function init_textdomain() {
load_plugin_textdomain( 'wp-members', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' )
}
If anyone find a better solution, please let me know.
Thnks
Could not edit comment above, it should read:
add_action('init', 'members_textdomain');
function members_textdomain() {
load_plugin_textdomain( 'wp-members', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' );
}
Does this plugin let me hide restricted content from all non-logged-in users, even titles, excerpts, in searches, etc?
Thanks!
Hi Valerie – thanks for your question. That’s not really what this plugin is designed for. But you can easily do that without a plugin if needed just by editing your theme where you have things you don’t want to show, use the is_user_logged_in function to determine what to show.
This plugin is more designed to offer a way to show titles and excerpts (i.e. teaser content) so that non-members are encouraged to register – more like a premium newsletter site.
Hi. I’m using your plugin to protect some pages. It’s awesome!
However, the clear form button isn’t working .. What could be wrong?
The Clear Form button uses the HTML reset specification. I can verify the button does work on Windows in Chrome, FireFox, and most versions of IE, and since it is an HTML standard, I would have to say any issues that arise are going to be of a non-standard nature, such as the use of some type of auto form plugin, etc.
Hey. It doesn’t seem to work in chrome. Do you think it’s conflicting with CformsII ?
Well, since it does work in Chrome, I would say it’s a conflict with something you have on your end.
I am using on one of my sites and you saved my life. I was so confused about how to do this and your plugin did the trick. Thank you very very much!
Just one question, is it possible to unblock all the posts in a certain category? I have hundreds of posts (in each category) and if there is a way to do this, that would be awesome! Please reply to this comment or email me.
Thanks!
Hi Alice – thanks for your comments. At this point, there is not category-based blocking, although that may be a feature in the future.
Why is it that on the member’s page when a person is logged in it has two different links for logging out?
Is there anyway of removing one of them?
Thanks
The members page functions do not put any logout links into the page. The plugin only puts a logout link in the sidebar widget (where the login form would be when not logged in). There is also a login status function that puts the username and logout link into a place where you call the function, but it is currently an undocumented feature so I doubt you are using that (and since you have to actually put that function call into your theme, you would know where it is). Any other logout links are put there by WP and/or your theme, possibly the comments template – try not allowing comments on that page and see if it goes away.
I’ve just installed Members and while it appears as though its functioning properly, when I go to my register page I have what looks like a simple version of the script showing up above the header while the more formatted login box appears where it is supposed to on the page.
My web address is as follows:
http://mysandyspringstv.com/community/?page_id=121
Anyone have any idea what this issue might be?
Thank you for your help!
Yes – whatever you are using to create the meta tags in the head of your template is using an instance of the WordPress Loop. WP-Members is not compatible with multiple Loop instances. When fired, WP-Members replaces the_content in the Loop with the login/registration information. When there are multiple loop instances, this creates a conflict.
You basically need to track down the offending script and figure out whether that could be removed, or changed, or not. In some cases that means basically deactivating all plugins except WP-Members, then testing. If the problem persists, it is in your theme. If not, bring up your other plugins one-by-one and retest each time to track down if it is an incompatible plugin.
More discussion here: http://wordpress.org/support/topic/plugin-wp-members-duplicated-registration-form#post-2213450
Hi,
When someone subscribe and got an email, the email title is WordPress. How can i change this to the title of the website.
Thx
Hi Kevin – please see links under “Common Question” above.
Hi there, great plugin! One quick question, is there a way to restrict a category page? I have some posts that I would like to be restricted for one category (i can block the individual posts, but not the actualy category page). I would like members to be able to login and see the category page, but not the general public. I have set it up on it’s own template: category-1.php, however I am not sure what to add to the template to restrict the category page.
thanks for yor help,
Kristi
Hi Kristi – while the plugin doesn’t directly support what you described, you could accomplish this directly with the template using is_user_logged_in().
In your example category-1.php you might have something like this…
<?php if( is_user_logged_in() ) { ...user is logged in, show the loop... } else { ... user is not logged in, direct them to register... } ?>Hi
Thanks for the great plugin. I just have one problem. On the registration page on my site the first name field is moved into the right so there is no box for people to input their first names. Please let me know what I should do. Thanks a lot!
http://militaryhairbase.com/members-area/#
Tom – see “Customize the Stylesheet” above.
Hi Chad,
Great little plugin….thanks! It is working perfectly.
I’m a bit of a WordPress newbie, so forgive a dumb question. I have embedded the shortcode into a page called ‘Members’. My problem is that every thing else on the page shows up AFTER the shortcode, no matter whether I place it above or after the shortcode. So I am unable to title the page. What am I doing wrong?
Thanks again for a fine piece of code!
-Michael
Hi Michael – the shortcode pages weren’t originally designed to have additional content on the page. The upcoming 2.6 release will begin a vast improvement on this – a lot of the code has been rebuilt from the ground up to make better use of the shortcode API. 2.6 is currently in testing phase and will be out soon.
Great…I’m looking forward to the upcoming release!
Please I need some info to see if this plugin does what i need.
Have login and registration area within a side box
Be able to have client access only there account page. example: 20 clients, 20 different logins, 20 different pages, none of them have access to view each others page.
Able to send my newsletter to all
There is a sidebar widget for login.
There is a shortcode for setting up a page for registered users to manage
their settings.
so will my idea of the setup will work with wp-member?
Hi! Great application
I wondered if I can set up a page with buttons that once clicked on will link to the page with registration and log in form respectively? At the moment these forms are on the homepage and I would like to have buttons “Register” and “Log in” on the home page that will then send visitors to either of the two forms.
Many thanks!
The login and registration forms replace protected content. If you have them showing on the home page, there are a couple of possibilities – if you have a conventional type setup, sounds like you are not using the ‘more’ tag in the content, or you are in some way showing full content on the home page (which the plugin would then replace with the forms). Alternatively, you may be using some kind of content widget?
I am not using any widgets on the page but I’d like to create a custom page with “Register” and “Sign in” buttons which would then take me to the forms… I know the content of the page is replaced with forms but maybe there is a way around doing this?
Sorry I am a bit of a newbie and may be missing a few crucial points here..
Thanks!
Hi,
1 Question, it seems that when a new user registers the only way to know is from the email. On other members plugins I have seen you get a little notification on the left menu system in the dashboard to let you know 1/2/3 ect members are awaiting approval. A little like the circle update styles you get warning you an update is ready.
I love your membership plugin and dont want to swap to another but my client is putting pressure on me for this notification.
cheers
Geoff
Hello
I am running the latest version of Wp with BuddyPress 1.2.9 plugin. I have installed wp-members and (apparently) configured it correctly.
In particular, I am interested in the possibility of approving new member registrations. I have disabled the “Anyone can register” feature in Settings/General but no alternative registration link appears on the front page – and so, no one can register. I suspect either that I am ignorant (experienced CMS user but not WP) or (maybe) that there is an incompatibility with Buddypress.
Any help greatly appreciated.
Andrew
There aren’t any direct incompatibilities with BP. Depending on the registration fields that you are using, you may or may not choose to disable anyone can register. If you do disable it, you can setup a dedicated registration page via the plugin (as discussed in the Users Guide). You can provide a link to this via the page structure (since it is set up as a page) and/or using the sidebar login widget (when setting the location of the registration page in the plugin settings, there will be a register link in the login widget) and/or providing some other type of link to the registration page. Also, the registration form (if not disabled in the plugin options) will show on any protected content when the user is not logged in.
Thank you so much. I will follow up.
Andrew
When someone subscribe and got an email, the email title is WordPress. How can i change this to the title of the website.
Seriously? That question is answered at least three times on this page already (and in the actual content of the page above the comments)… Did you bother to read anything on this page before you asked?
Hello! I just installed wp-members plugin and it is great! One question, on the comments page, where it says “You must be logged in to post a comment” and “Log in to Reply”, these links still go to the default WP login. Is there an option in wp-members that I can use to change these links so that they instead lead to the WP-members login on my site?
Thank you!
The links in the comments area are handled by your theme. There are a number of ways they can be put into your theme and depending on the method used, a number of ways to alter them. All of this is outside the control of the plugin, due to the variety of ways they may be placed there. But here are some ideas:
You could redirect to a WP-Members login page. WP-Members now has a shortcode to create a login page (
[wp-members page="login"]). You can create a filter in your functions.php file to direct logins to this page:if( $_SERVER['REQUEST_URI'] != "/wp-admin/" ) { add_filter('login_url', 'my_login_url'); } function my_login_url($login_url = '') { return '/my-login-page-slug'; }Note: This isn’t cut-and-paste ready. This assumes that your WP installation is not in a directory in your domain, you’ll need to put in the proper page slug, and you might need to tweak the URI value it is looking for, depending on your installation.
The downside to this method is that the WP-Members shortcode is new and there is no redirect filter for it, so you can’t tell it to redirect back to the page the user wanted to comment on.
Another possibility would be to go ahead and allow the wp-login for this purpose (it uses the same parameters) but filter to redirect the user back to the page once they login. You could do that with something like the following in your functions.php:
if( $_SERVER['REQUEST_URI'] != "/wp-admin/" ) { add_filter('login_url', 'my_login_url'); } function my_login_url($login_url = '') { $redirect_to = get_permalink(); $login_url = '/wp-login.php?go='.$redirect_to; return $login_url; } add_action('login_form', 'redirect_after_login'); function redirect_after_login() { global $redirect_to; if (!isset($_GET['redirect_to'])) { $redirect_to = $_GET['go']; } }This directs the user to the WP login, but after a successful login, redirects them back to the page they started on. (Same adjustments need to be done as the other snippet.)
Please help! I just tried to put in the top code to the functions.php
if( $_SERVER['REQUEST_URI'] != “/wp-admin/” ) {
add_filter(‘login_url’, ‘my_login_url’);
}
function my_login_url($login_url = ”)
{
return ‘/my-login-page-slug’;
}
and it didnt seem to work so I removed it again and now I cant get into my admin!! Any advice?!
Dont worry! Sorted it.
Hi Chad,
Great PlugIn, thanks for all your hard work. I am having some problems with the sidebar widget login. If i try to login this way I get a page 404 error saying ‘The requested document was not found on this server’.
I can login okay from the Members Settings page, so assume it is an issue with the widget…?
Many thanks in advance
There is an issue with the widget when logging in on the home page. It is being corrected in version 2.6 which I intend to have out this weekend (if final testing goes well).
Great, thanks Chad. When the new version comes out, is it best to start again with a new download is will there be an ‘update’ option?
cheers
Hi Simon – since the plugin is hosted through wordpress.org, you’ll get a notification via the WP admin panel when the update is out. I always try to consider upgrades when releasing updates so that (hopefully) there is little to no impact on the upgrade process (i.e. when a new setting is added, the install should add this without touching existing option settings, etc.). BUT – while I do test these things out with various setups, it is a best practice to run a staging version of your site (for any updates, not just mine) and test any updates there before updating a production site (or at the very least, have a good backup to roll back to if anything goes wrong).
Love the Plug-In. Thanks! It seems to work fine for me but I have a question. Every day I come back to my site I have to log in again, even though I clicked “Remember me”. The thing is that a while ago I remember that the site would go weeks and weeks without making me log in again (if I didn’t log out). Is anybody else experiencing this? Did an update to WP-Members change this behavior? Can it be adjusted to extend the ‘forced logout’ behavior? Like I said, the function of WP-Members seems to be working fine but it’s really annoying for registered users to log in over and over again.
I’ve been focusing on the new version release, so this has been overlooked. But I’ll look into this and add it to the project list.
Chad – This plugin is great. Thank you for the hard work. I have two sites and got it setup without any problems on the first site. On the second site, the blocked pages keep showing the login/signup forms twice (once in the header and once in the correct spot). Both of my sites have the same settings, css, etc. I can’t figure out what the issue is. Any ideas?
Site that works: http://denver.savingspassport.com/2011/179/
Site that doesn’t work: http://dallas.savingspassport.com/2011/get-online-coupons-and-discounts-2/
Chris – anytime there is a duplication of forms, that indicates that you have more than one instance of the WordPress Loop on the page. Since that could be a number of possibilities, I can’t give you a specific as to where to track it down and how to work around it, but generally it would be probably in the theme or a plugin using an instance of the loop to put keywords or meta tags into the header, or to put additional content somewhere else on the page. (I tried to look at the links you provided, but the one you said doesn’t work wasn’t there – I got a 404.) Hope that helps and if you have another link to look at, send me an email directly.
Any obvious reason as to why the registration form should fail to work? It just returns to the blank form again – no emails sent.
Sorry Hedley – that part of the plugin is pretty well tested over the years, so there isn’t anything I could think of unless you have an unconventional WP installation.
The best plugin ever!!!!!!!!!!!!!!!! Bro you rock!!
I’ve updated to the latest version and the widget login works perfectly!!!!!!!! I’m so wrapped right now!
Thanks for fixing this..
Thanks for the plugin..
Thanks for all your awesome work.. and,
Expect our very kind donation soon… (we’re still setting up the paypal stuff)
(our website is still currently in development – and we have made you an honorary account in commemoration of your awesome work… We have every intention of highlighting and promoting your work through our website, and hopefully entice other Polynesian developers to seriously consider your plugin as the only “Membership” solution for their website.)
Lastly – I was wondering if you had a fix for the “WP Search 2″ plugin that finds and displays all searched content, including protected portions of a website?? I have already emailed the “WP Search 2″ developers regarding the “perfect..ness” of their plugin, with no response yet. I really need that search functionality for our website, as the content is fairly massive considering we’re only a not-for-profit organisation. Increasing the accessibility level (searching for specific content) for our users is a high priority. I’ve tried and tested 9 other “search” plugins, and they pale in comparison to “WP Search 2″…..
Anywayz – your login credentials will be sent to you following this post…
Reuben Matene
Te Roopu Atawhai Inc
Victoria,
Australia,
Earth..
Hi Reuben – thanks for the kind words. Looking forward to taking a look at your site…
Regarding the WP Search 2 plugin, I have to say I’m not familiar with the plugin, so unfortunately I don’t really know how it handles its search results and (more importantly) how it displays them. Without knowing that, I can’t really suggest anything. I usually do not develop considering specific plugins, but when I do become aware of issues my approach is to look at how well it is integrated into the WP core and if there is a code improvement on my end that will improve compatibility in general. If I find out more, I’ll certainly look at it, but at this point I don’t really have an answer on that one…
Hi Chad,
Firstly awesome plugin. Loving it and have applied it across a number of client websites.
Quick support question however, I am having issues with my register and members-area pages looking like this: http://www.fitstuff.com.au/index.php/register/
Where there are 3 forms above the actual head of the site and then the forms again in the site further down.
Have you come across this before and any suggestions?
Cheers in advance.
What is happening there is that there is something (or actually 3 somethings) that are using an instance of the Loop in the head. That could be the theme, or it could be a plugin. WP-Members is not compatible with multiple instances of the Loop at this time.
Hey Chad, thanks for that piece of info. Which file should I look into that has this loop function you are referring to? And also, do you think that you will be adjusting the plugin to cope for Loops?
That’s a pretty complex question. Begin with understanding The Loop. In your case, it is occuring in the HTML head, so I would start with looking at the generated source and seeing what happens right before it and right after it. Then you have to figure out what is happening there. Is it in header.php of your theme or is it a plugin?
As far as adjusting the plugin to cope for Loops – we need to clarify. The Loop is a critical structure to WordPress. That is how WP displays content. WP-Members works with The Loop to empty $content when the user is not logged in and replaces it with the login and registration forms. This does not work well when there are multiple instances of The Loop on a page. Secondary instances of The Loop are not something you’ll find in what I would define as a standard WP installation. However, they are becoming more common in complex themes and certain plugins. In these cases, there is no way for the plugin to automatically know the difference between what is the main content Loop instance and what is being used for other purposes. The key word here is “automatically.” I am working on an override variable to put within a Loop instance that an administrator wants to skip, but based on the fact that the vast majority of users of this plugin are non-technical, implementing that is going to require a great deal of support. Also, this is in the VERY early testing stage, so depending on results, it may never make it into production. That’s a long, involved way of saying, it’s a non-standard issue and I am working on a solution, but I have no idea when, if at all, it will make it into production
Hi,
I have 2 questions. One, exactly what do I put into the custom field to allow a page to be unblocked (exact format, please). Sorry, I do not see this… unblock with value true. I am somewhat naive to the whole wp thing.
And really important, I blocked all pages, went to try to figure out what to put into the custom field to unblock, not knowing, I unchecked the block all pages, and now the restricted message and registration fields are on my home page, though other pages are fine. It is not a history thing, as i tried it in 3 different browsers, two of where there was no history of this URL.
Any help is greatly appreciated. I would really love to have this work, it appears to be a great plugin for as far as I’ve gotten
.
The custom fields are covered in both the Quick Start Guide on the third page and there is a screen shot. Also, this is covered specifically in the Users Guide and the FAQs.
i have updated the WP-Members plugin and now the homepage text isnt populating like it was before? i am using the infocus theme by mysitemyway, and the homepage text is added through their custom settings??? any help would be greatly appreciated…
dummy site is at http://www.whitemaggot.com... hehe…
Unfortunately, I don’t have a good, specific answer for you. Once we get outside the realm of standard installations and into using WP as a CMS (and more specifically, commercial themes with their own control panels) it becomes vastly more difficult for me to support. Also, I am making the assumption in this answer that based on how you phrased your question, you had this installed and working the way you wanted with an earlier version of WP-Members, and that you upgraded the plugin from a previous version.
I can tell you that WP-Members 2.6 makes significant changes to some primary functions in order to provide better functionality with its own shortcodes and also when parsing shortcodes within excerpts. I took a look at mysitemyway’s info/screenshot on their homepage part of the control panel, and I would say that it may have something to do with that, but I don’t know for sure. It might depend on how this home page is handled. Do they store it as some type of option, or is it actually saved as a page/post with custom fields? If it is stored as a page or post, then how it is handled by the plugin depends on your plugin settings. You might have to experiment and dig a little under the hood to figure this out.
Hi,
I installed the Plugin and the installation process worked great. One quick bug, when I clicked the “Settings” link in the Installed Plugins screen, it gave me an error message. However, when I went to Settings > Wp Members I got to the appropriate screen just fine. Also, is there a way to setup your Plugin in such a way as to allow a newly registered User to have to pay (via PayPal or Google Checkout) for access to the blocked areas of the blog? Perhaps by having an auto generated password send out upon payment? Please let me know if you have done this with your plugin before, I’d love to give it a try. Thanks!
Is there any way to remove the login from a restricted content page/post?
no – you can remove the registration form but not the login
I have removed the registration. So there is no way around it to remove the login dialog?
Hi,
I it possible to import users from another database ?
Hi Kevin – that’s a timely question – I am working on an import module that should be ready for release soon. It would require import via CSV.
Hi!
This plugin looks awesome but I didn’t see any way of showing/hiding a part of a post.
Don’t know if that option is or will be available?
THANKS!
Roger
Hi Roger – you can choose to display excerpts. However, if what you are talking about is displaying something within the post (say in the middle or the bottom), then no, there is not a feature for that. However, I have been developing additional shortcodes for the plugin and that feature may be worked into future versions.
Hi Chad,
I’ve just discovered that although I’ve set wp-members block pages AND posts by default, non members/logged out users can still read posts. I’ve tried adding “block” in the custom field on the edit post page, but no joy. Any ideas?
Other than this glitch (probably my fault) I’m REALLY pleased with this plugin!
Many thanks
Sean
Sean – I would need to take a look at some specific examples. Why don’t you contact me via email (use the contact form) and give me some links to specific content that should be blocked that is not.
A great plugin. But the fields are too wide for my page. How do I make them narrower. Same goes for the widget, it goes off the borders.
Thanks
See links above for “Users Guide” and “Customize the Stylesheet”
Hi there
Use your plugin – fantastic. Updated today to version 3 and noticed a slight issue following it. All my post were only showing summaries rather than the full thing on the home page. Tried changing my index.php code but it didn’t work so I’ve rolled back to the previous version.
Just though I should make you aware.
Thanks again for a brilliant plugin!
Hi Colin – thanks for the report. I believe you mean version 2.6?
Yes – sorry! Got carried away!
C
Hi,
I want to thank you for this plugin, so far I am very pleased. I do have a few questions and hopes and I have read your instructions but maybe missed something.
Below is the email content that I receive once my registration is approved. I would LOVE to get rid of the line that says: You may login at: http://www.*********/thecms. This directs me to the to a page not found and is to the folder where the wp installation resides, not the URL of the site (and I would prefer no reference to either).
Your registration for ************* has been approved.
Your registration information is below.
You may wish to retain a copy for your records.
username: *****
password: 3ad5377
You may login at: http://www.*********/thecms
You may change your password here: http://www.************/parent-area
You originally registered at:
http://www.**************/parent-area
And here is the message I get when I register…
Thank you for registering for The Little School. Your registration has been received and is pending approval.
You will receive login instructions upon approval of your account
BUT this is what I put for Registration completed within the dialogs and errors section of set up:
Thank you! Your registration was successful.You will receive an email from us shortly to notify you of approval.
I have searched and cannot figure out if this is generic wp verbiage? Tho, I am happy to see that the url’s to the parent-area are within the approved registration email.
And since I have you… there really is no need for both a registration page and a members area, correct? it appears that the members area takes care of both.
Thank you very much, I do appreciate what it must take to put up with continual questions, with sometimes over obvious answers
.
sorry to bother you again, in reference to my recent question regarding the login url in the registration email, can I just delete this:
$body.= sprintf(__(‘You may login at: %s’, ‘wp-members’), $url).”\r\n\r\n”;
$body.= “$wpmem_msurl”;
from the wp-members-email.php ? sorry, I know so little about .php.
I couldn’t’ find what Tom, a few months back did, and am assuming that the code was updated for version 2.6? thanks again, I am trying to figure it out and not bug you too much…
Yes, you can take those lines out. However, anytime you make an edit directly to the code, you will need to redo any changes in the event of an upgrade (your changes will be overwritten by the upgrade). I can tell you that the current project in development is 2.7 and is intended to include panels to customize the emails that are sent out. However, that’s not guaranteed, and also, we will likely have bug fix and code improvement releases in the 2.6 project before that’s completed.
Regarding the registration page question, you are correct, you do not have to have a registration page. It is strictly an option to allow for the plugin to be more versatile in various utilizations. (Actually, the members area would be optional, too; although that’s where registration information can be updated, and passwords reset/changed.)
Thank you so much for getting back to me. Wow, such support appears to be rare
. A donation is forth coming (as soon as I get paid for this education…oops, job
).
I am imagining that I could use hooks for what I want to do (and already did), similar to the way you clarified how to lose the ‘wordpress” in the email address? would I put these in the theme functions file as well?
Guess it’s time to hunker down and learn some php. thanks again!
I don’t think you could use hooks to edit the email on the fly – you probably would need to edit it directly.
Hi Chad,
I love your plugin… its awesome and easy to use even for a non-techie like me. Its giving me all the features I need for my site.
My challenge is that I do need to specify an automatic expiry date for memberships (say 1 month from date of registration)… Is there a way to do this with Wp-members? Can I use another plugin along with WP-members to achieve this?
I would hate to replace it with another membership plugin just to be able to achieve that. Appreciate your help.
Thanks
Ish
There is an expiration module in development, but it’s not completed yet. I don’t have a date of release at this time.
Hi at all,
I need help.
I use WP-Members on my Site so that the users can edit their profiles in the frontend.
But some fields are allowed to see but not to edit for the Users. Only the admin can edit this fields.
How can I do this?
sebastian
could you be a little more specific as to what fields you are referring to?
Chad, Let me begin by saying I really like your plugin. We are using WP-Members on our organizations website to create user profiles (helpful for event registration etc) as well as to filter updates to members by category.
I’m interested in hooking our outbound posts to Feedburner thereby giving our members the option for an RSS feed or email via Feedburner. I’m new to this but as I understand it, using Feedburner, subscribers would get all feeds as a default. I know that if I want Feedburner to filter by category, I can setup feeds for single categories. However if a member has several categories I’d save them the trouble of subscribing to multiple feeds – the subscription interface alone would be messy.
Perhaps I don’t know how this all works but I’d be interested to know if your plugin (which has user/category preferences build it) has anything to add to the use of Feedburner.
Ideally,, WP-Members will pre-filter content to Feedburner and a standard Feedburner link would suffice as a registered member would naturally have only the content from their profile choices pass to Feedburner.
Can you help me get my brain around this?
John
John – thanks for your comments – glad you like the plugin! As far as feeds go, WP-Members does not pre-filter the content. You simply need to set your feeds to summary and that will truncate the content by using the excerpt (essentially, the content that is before the ‘more’ tag). If you need more control over feed excerpts, there are some filters you could add to your theme’s functions.php file (perhaps I should do a post on how to do this). Hope that helps.
Chad,
Thanks for your quick reply. The plot thickens in that I did a post today and the number of emails that queued up was the exact number of only my public subscribers. I did a separate email to my Registered users and some of them got the posting so I’m not sure who really got the post. Of approx 120 addresses, only 64 sent. I’m sure this has to do with my trying to use Subscribe2 and WP-Members.
I’m not worried about sending excerpt but threading email/rss to subscribers based on category preferences.
I’ve been in discussion with MailChimp who confirms that they can send to pre-set groups based on groupins on their side. This means I push out info to them for 100% of the members and only those that meet certain criteria will get it. Problem is, the user cant modify a setting on their member profile and have the MailChimp side update (not that I know of).
Feedburner can handle the groups as seperate feeds. But in that scenario, a member may have to subscribe to between 3-5 feeds and managing them becomes drama.
Every time I get my brain on a solution there is a gotcha.
In the end my needs seem simple. Have different mailing groups based on categories that correspond to categories in blog postings. Push them out to users by either RSS or Email depending on the users preferences. Have all posts go to those different audiences seamlessly and give registered users the ability to choose their categories.
Some bloggers seem to use Feedburner, others recommend MailChimp. My big issue is I’m not shoving 100% of content to 100% of my subscribers.
I am happy to back up and say that knowing WP-Members is a baseline plugin for my registration needs, what do you recommend for multi-threaded emails. (Hopefully I haven’t totally confused you and the issue.)
John
John – unfortunately, that’s getting well outside the realm of the plugin. I can say that I specifically worked the user registration process into the WP construct so that user could be integrated with other plugins and programs. I will probably be exploring specific email properties within the plugin (or an add-on module) in the future, as I’ve had a number of user requests for that, but I don’t have any specific recommendations. I do know that some users of the plugin do use the Subscribe2 plugin in conjunction with WP-Members, but I don’t really have any insight into how they are integrating. Wish I had a more specific answer for you.
I seem to be having an issue with the registration form not appearing at all. I’ve read your documentation and this comment thread and haven’t been able to determine the cause. I’ve tested on a few sites and same result.
One instance is here – http://normanhuelsman.com/register/
I would start by double checking that you are using the correct shortcode. [wp-members page="register"]
This is great and easy to use plugin. Thanks for awesome plugin with short code.
Hi,
I am using your wp-members plugin on my blog and it is really useful. The idea that only members can comment has helped me keep the spammers away. However, in the past couple of days, some people have managed to post spam comments without logging in. I have checked the usernames, they don’t exist. I am wondering how this could happen? Could you please tell me.
Thank you
When users must be logged in to comment, the plugin hands off security in this area to WordPress. There are a few possibilities. First is that they could be exploiting direct access to wp-comments-post.php. Another is the possibility that what you are looking at are not comments but trackbacks. Requiring login for comments will not stop trackbacks. These are turned off elsewhere.
Here are some good articles on the subject:
Combating Comment Spam
How To Stop Comment Spam Bots in WordPress
Hello Chad,
Thanks for the good work !
Will your plugin support dropdown list on registration page ? I mean the one ?
Olivier
The plugin does not natively support dropdowns and radio button groups at this time. These can be hardcoded in (and a full registration page could also be hardcoded) but that would not be a small project.
Sorry my HTML were strip.
I have a 8 items dropdowns list that need to be on the registration page. I’ve thinking of rewriting the HTML with JQuery to add the – then send the value as a classic text input.
Ugly way of doing a registration page tweak but might be faster and easier to maintain.
Olivier
Hi Chad.
I am setting up a site for committee members to use as a discussion point and to share documents and a calendar of events/meetings. My about page (Home0 is the front page of the blog and I have unblocked using the custom filed entry unblock with a value of true.
The balance of the pages block without a problem however the posts are still visible. Settings activated are Block posts by default and Block pages by default. I have deleted and reinstalled the plug in but still no joy. I am using WordPress V 3.2.1 with the Twenty Eleven 1.2 theme.
Hope I just have a simple setting wrong but I have followed the instructions and read the user Guide.
If I change the posts page (Discussion) back to a standard page it blocks but when I set the page as the posts page it becomes visible again.
Hope you can guide me on this one. Cheers, Jen.
Thanks for your question.
Make sure we are talking about actual posts and not archives (lists of posts). Archives will show titles and excerpts (which is why you need to use the ‘more’ tag – that creates the excerpt). You can put the tag at the beginning if you don’t want an excerpt, then just the title would show.
Hi Chad,
No new Posts. The site is live but not active as yet until I get this sorted out. But all new posts are immediately visible to everyone signed in or not.
Cheers, Jen.
Hi Chad,
There are a easy way to show the login form directly in header.php?
I want to show the same widget content (login form, links if the visitor is logged etc.), but in the header…
thanks
You would need to hardcode that into your header.
I really enjoy using this plugin and it has certainly allowed me to shortcut things for clients. My question is, is there a way to allow users as editors to see and export the membership list? I setup my clients with editor accounts to avoid them disrupting important settings, yet I would still like them to be able to export the user information collected.
The plugin itself is not really set up to allow that process directly to less than an admin, but you might be able to alter that with some type of role editor plugin. (Off the top of my head, I believe that the process actually doesn’t look for admin role assignment, but actually that the user role can manage users.)
Chad,
I can’t seem to find this in the documentation… is there any capability with the plugin to have members register and pay a fee? We have annual dues so it would naturally nicely piggyback on their member record to be able to pay the fee and pay thru paypal. All fees are the same.
jc
Alternatly, I could buy a developers version of Gravity Forms and create a dues page but I’d need to pull data from the wp-members table. Bit over my pay-grade if you know what I mean.
There is a subscription/payment module in development, but I don’t know when I’ll have it completed.
In the meantime, your option is basically doing a manual process or merging with another process as you suggested. Pulling out the data to import into another process is possible – there is a user export feature already built into the plugin (under the Users > WP-Members menu).
Hope that helps give you some ideas.
Having the following issues when I try to login (now I can’t get into my admin panel to fix)
Based on the error messages posted (which, for the sake of space, I edited out), it looks like you are in the wrong place. Those all indicate some other plugin, not WP-Members.
Thanks Chad!
Hi,
I wonder what happen to the restricted posts / pages in search engines. Do they appear ? How ?
I wish that this content does not appear at all in search engines results.
Thanks
Anything that is accessible to a spider or a bot would appear in search engine results. However, the actual protected content would not appear, as the content is not accessible to the search engine. If you want to take it further and not allow these pages to be cataloged, then you need to make changes to your robots.txt file accordingly, using a “disallow” parameter. (See http://www.robotstxt.org/robotstxt.html for information on how to do this.)
When you search for “Powered by WP-Members” in a search engine, results appear.
Does it mean that the restricted pages / posts DO appear in search results but only the forms are picked up by the search engine bots ?
I’ve acknowledged the robots.txt solution. Thanks.
Yes, unless you specifically restrict a page or a post (or directory, etc) in robots.txt, anything you have on your blog is spiderable. However, the bot only sees what a logged out user would see. So they would see the login form and anything else that is on the page (sidebar, header, etc.). This is part of the reason for including a “show excerpts” option in the plugin settings. There are some users who want certain keywords, etc picked up by the bots to drive traffic to these pages and encourage users to register for full access (teaser content).
Chad,
I need to know how to troubleshoot this set of issues and don’t know where to begin. I started getting emails about new registrants but no info in the email for the address, phone etc. The address etc. data is in the user and usermeta tables but not the phone. All fields are required at registration.
So I created a new user, got the registration email, (both to the new user address and the admin’s email inbox). I accepted the user and got the password email. Tried to login using that password and it said I did not have privledges to access the page BUT it did log me in. (had the wordpress toolbar at the top of the browser.)
Now I don’t know what subscribers are actually doing, if they can log in, why data is being saved but not emailed and why the phone number isn’t saving.
Can you give me a pointer on where to begin? I deactivated the plugin and reactivated it again but it didn’t seem to make a difference.
john
OK, I think I fixed it… not sure why but I had unchecked anyone can register to this site. That meant that a new registrant had no role assigned to them. It may all be working now. Disregard my last post until I know if there are any issues.
Sorry for the post.
Oh yea, I remember why I had anyone can register checked… the plugin tells me to. I uncheck it and all my registration data issues went away BUT the plugin tells me to check it. What should I do?
jc
The plugin should actually recommend that you uncheck it. I’m wondering where you might have seen that you should check it because that would be a typo. I double checked and the readme.txt, the Users Guide, and the warning message in the plugin are all correct. The warning message will only show if it is checked, and it will indicate that the recommended setting is unchecked.
Oddly, this should not effect the default role assigned to a user. The default role is assigned in the WP options table and whether you check or uncheck “Anyone can register” does not change it. So if the default role is set to subscriber, the user will be assigned the role of subscriber regardless of whether this setting is checked or unchecked.
Anytime I get a question like this, I double check to make sure the various settings are working, and in my checking, I did receive and store phone data when the field was required. Obviously, if changing the anyone can register setting made your problems go away, that’s a good thing, but they shouldn’t be related – I tested it both ways, and as mentioned above, that does not change the default role assigned to a user. It simply prevents anyone from registering via the wp-login.php page.
Incidentally, if you continue to have any issues and/or do any testing, deactivating/reactivating the plugin may help (as you indicated you did), but it will not change any of the plugin’s settings. If you need/want to force the default settings to reload, you either need to delete/reinstall, or go to the install file and change the value of $chk_force to true (which is at the top of the file). That will force a reload of the plugin’s defaults.
Chad,
Still having trouble with plugin retaining information. I have many fields as required (address, tos etc.). I get emails saying someone has registered and that i need to activate them. The email shows their user name but other info is blank. I go to their profile and user role is blank. User name is filled out as is email… other fields are typically blank. I assign them a role, save the record and refresh the screen or navigate away and come back and some of the data is there. There is no pattern to what is retained – sometimes the address is there, sometimes not. TOS checkbox is off and on. IP address is most always there. I’m having to fill out missing info in some cases. Since all members are members of our group, I have the info but not sure why it’s not saving. I’ve tried deactivating the plugin. Perfectly understandable that another plugin is getting in the way but I don’t know which one and can’t find it. I can supply samples of the emails and a login if necessary but don’t know where to go from here. Any suggestions?
john
Hi Chad,
The checkbox on registration page seems not to work – well I can’t have the value of the checkbox display next to it. To be clear I just have the so nothing appear on the screen.
If you can help me with this
Olivier
To be clear, the term “value” of the checkbox as it is used on the plugin’s field settings page refers specifically to what value is stored when the user checks the box. This is an HTML field parameter that does not show to a user. The “field label” of the checkbox is what will display to the user on the front end. Is that what you are talking about?
The value of the checkbox is good – and is not display to the user – you’r right.
In fact my problem is: I need to display the field label so the user can see the value of the checkbox.
Thanks again
Hi there,
I’ve just started using the plugin and it’s exactly what i’ve been looking for. I’ve got the general setup cracked but have a quick question relating to the custom fields that i’d like to use.
Is there a Tag or something that would serve up the custom fields for use either simply echo’d on screen or for inclusion in a custom page template or php script? Forgive me if this is WP basics, i’ve not long started but can’t initially see where i’d get this from.
Thanks in advance for any help.
hi, as others did I installed your cool plugin and I tried it out. Is it possible to change the “from” shown in email? because the from email was not really existing, it was wordpress@nameofwebsite.com. I want to change it to an existing email that I have. Thank you
See above under “Common Questions”
I have new registrations coming in to ultimately login to a forum on site.. but in the registration process the readers are saying that it says the “password” would be emailed to them. so everyone is still waiting for the password..what is going on and how do i get the passwords to be sent to them. they say its not in their inbox or spam box..
This is generally an issue with wp_mail and not the plugin. Take a look at the FAQs under “Users are not being emailed their passwords, what is wrong?” for some testing and suggestions.
Hi,
I sorted my previous query – sorry if it was beyond this plugin.
Am I right in thinking that Custom Fields cannot be set for Administrators? When editing the Users I see the custom fields at the end of the profile however as soon as I set the user as Admin (instead of default Subscriber) this section vanishes and the previously saved data in the Custom Fields gets deleted from the database.
Is this correct behaviour (I can’t see it documented) or a bug?
Thanks.
Clearly i’m asking dumb questions.
Shame as I thought this was the plugin for me. Time to look again.
It’s possible… I can’t seem to find your previous question(s) which would tend to indicate the comment/question was deleted. If I did not respond or provided a terse answer, it is likely that your question was already specifically answered directly on this page. There are times when I will answer a question of that nature, but most of the time, if something is overtly addressed in the content of this page, the question will probably not get answered.
September 20, 2011 at 11:05 am &
September 22, 2011 at 7:45 am (the thread this is in reply to).
Both show on here.
I couldn’t find the answers after spending quite some time looking down this page. Given there are now 300 posts here, it would be easy to miss something.
Well, if it’s something that is covered in the comments, I overlook that because of the number – I was more referring to the content proper of the the page – and usually it’s just the email question that sends me over the edge (how to change the email ‘from’ address) because it is covered right under the heading “common questions”.
I went back and found your questions – sorry I overlooked those. I think what happened was that I marked them approved, but didn’t answer right away, then they got buried. So, my fault… sorry about that and thanks for coming back. Definitely a legitimate question – I think I set it aside because I was trying to think about how to answer it.
So I’ll reply under that thread…
Actually, you should be able to set values for custom fields for administrators other than yourself (i.e. if you are logged in and looking at your user profile, you won’t be able to add data for custom fields for you, but you can for any other user – admin or lower). This data can also be entered on the front end for any user.
Even if you change the user from subscriber to admin, you should still see the extra fields. I should note that if you create the user on the back end, you will not see the extra fields in the add new user panel – I have not found a way to hook into this page. But once you create a user, then you can add additional information on the user detail screen.
There is nothing in the plugin that would remove data from custom fields once it is set. So, while I have tested this and I do not see the custom fields go away when I change a user from subscriber to admin, let’s just say this is in fact occurring, there is nothing that deletes any previously set values that went into the usermeta table.
So I guess we need to see what is really occurring on your end. Are the users in question that you set as admin users that you created on the backend or the frontend, and are we talking about the ‘add new user’ page on the admin side or the user detail page?
The Admin I was looking at was indeed the default Admin account created when the site was first setup. I’ve created a second accout through the plugin and that now shows the fields when logged into a different account. Having removed the initial account and recreated it through the plugin it is all happy.
Thanks for that.
Hey, hey! That’s great news! (I’m always a little worried when things work on my end and there’s someone out there where it’s not working – trying to figure that out sometimes can be frustrating, so in this case I am glad that worked!)
Hi Chad,
Just noticed a couple of things: I upgraded to 2.6.2. and now if (in the WP admin) I click on Users > Add New I get all the WP native fields showing up, but none of my custom fields – I’m not sure if this is supposed to happen or if something’s amiss. I’m tending towards the latter,because if I click on (under ‘Users’) ‘WP Members’ I now just get a blank page, whereas I used to get a whole list of the membership. Is it something I’ve done?
Thanks for your question Michael – The Users > Add New has always only had the WP native fields. I have not been able to hook into that page at this point (although I have been trying – I even developed a plugin to assist tracking down the appropriate screen object). So nothing is amiss there…
As to why you are not seeing the full user list on the Users > WP-Members page, there’s nothing wrong there on the plugin end of things. Are you getting a completely blank page, or just an empty table?
Thanks for the prompt response. I think I’ve sorted the latter problem now – albeit by luck rather than judgement. When I first installed the upgrade t0 2.6.2. , I did so from within WordPress itself (i.e. from the Plugins page). However, I’ve since deactivated and re-installed by means of ftp and all now seems to be well. So – I’m putting this down to operator-error or ‘unknown temporary glitch’! Thanks again for your help.
Love the plugin. I just have a quick question. At first, registered users could log in and come back the next day or even next week and they wouldn’t need to log back in again. Now my registered users need to log back in repeatedly, even if they just close their browser and come back an hour later. “Remember Me” doesn’t work and I’ve even tried two different plugins that are supposed to extend the timeout period up to a full year but those haven’t helped either. At this point I’m simply trying to identify what the cause of the problem is. I’m trying to isolate the problem but I can’t disable WP-Members because it would open up all my restricted pages to the public. Can you please tell me if there is any way at all that WP-Members could possibly be causing this issue with constantly logging out? Does WP-Members have any functions which interact with the log out timer (or however that works)? Thanks.
Hi Mike – I think that something might have gotten changed that affected the cookie when we switched from wp_login (which is deprecated) to wp_signon. This occured in 2.5.2, so it was fairly recent. I’ll check into it and get a fix on the project list
Thanks for this plugin, this is by far my fav plugin for this sort of stuff. Also love the advancement of this plugin, much more dynamic now.
Do you know if there would be a way for when a user registers, to give them a unique user ID for say eg ‘usr0000001′ etc? Which is stored in the database?
Thanks again.
David – WordPress allocates users an individual ID number already. WP Members doesn’t show you it, but there are some plug-ins that will. Try AMR Users.
Great suggestion!
There is a user ID created in the registration process, but it is not visible/usable by the user. The user ID is stored on the users table and is the key that is used linking that user in other tables. You could not necessarily ‘create’ a second ID without modifying the registration process. However, you could use the existing ID, and if it wasn’t suitable in it’s raw form, run it through some type of a filter so that, like your example it is always ‘usr’ + 7 digits.
One example might be to write something like this and put it in your functions.php file, then call it whereever you need this “pseudo ID.”
<?php function get_psuedoID() { // get the users ID and put it in $user_ID global $current_user; get_currentuserinfo(); $user_ID = $current_user->ID; // create the $pseudoID switch( $user_ID ) { case( $user_ID < 10 ): $pseudoID = "usr0000000$user_ID"; break; case( $user_ID < 100 ): $pseudoID = "usr000000$user_ID"; break; case( $user_ID < 1000 ): $pseudoID = "usr00000$user_ID"; break; // carry this out for addtional leading zeros // ETC... } return $pseudoID } ?>Then you could just
whereever you need it.
Wow, thank you both very much for your replies. I’ll give both options a go!
Hi Chad,
Using 2.6.2 with WordPress 3.2.1. My php memory limit (and WordPress limit) is set to 64M – the highest my ISP will permit. When I visit (in the Admin UI) Users > WP Members, I am getting the following message:
“Fatal error: Out of memory (allocated 31195136) (tried to allocate 256 bytes) in /web1/user270/website/Newsite/wp-includes/wp-db.php on line 1383″
The display then shows me about half of my 389 members. I also use AMR Users, and am getting a similar message from that plug-in if and when I try to ‘re-build the cache’. Basically, it times-out. The reason for posting here is that I have seen it suggested that this error could be caused by there being too many fields/records in the wp_usermeta table, which both plug-ins access. Although I only have 389 users, they do have a fair few custom fields and my wp_usermeta table has a total of 18797 records in it. Do you think this could be the cause and, if so, is there anything I can do to stop it?
Hi Michael,
The extra custom fields are probably doing it, since the bulk user table for the plugin does not paginate. Looks like it is time to add that to the project list
I’ll be working on this with whatever the next release is. It’s something I’ve thought about, but other things got prioritized in front of it.
In the meantime, it would probably be best for you to access the users via the WordPress users list where it does paginate. The things you lose are the ability to activate in bulk and also the export, but you’ll be able to access all of the users and activate at the individual level.
Thanks for the prompt response, Chad. If you’re going to be looking at the wp Members display, do you think it would/might be possible to incorporate an option for the admin to choose which fields are displayed? (I guess you wil be thinking: Doesn’t this guy know I have to find time to earn a living somehow…)
That’s not a bad idea Michael. I will look into that (although it probably won’t make it into the first iteration…)
Hello Chad,
I thought it would be nice to have an “edit field” feature on the field settings page, plus a different class for each type of button, I mean one class for the “clear form” button and another one for the “submit” one – then it would be easier to style them.
Thanks again
Hi Oliver – those are good suggestions, I’ll definitely consider. To be honest, the edit field already crossed my mind but was given a lower priority over some other items since an existing field could be essentially recreated rather than edited and building in an editing process would add additional complexity the admin panel code. But it will probably be implemented at some point.
Hi Chad, first thx a lot for the plugin! Nice work.
I was wondering if there is any possibility to add a link to the TOD – field. So it could go to a wordpress page as an option?
Best regards
Patricio
Actually, there isn’t a good way to do that right now. Certainly, you could edit the form code directly, but hacking any of the code puts you in a situation where you need to redo any changes when you upgrade (not good).
With the next couple of releases, however, I will be formally introducing pluggable functions and ways to better customize the plugin. These features have been in the plugin for awhile, but they were considered experimental. They have reached a level of development where I can now officially offer them as a feature for the masses. That will accomplish what you are asking here. There will be more formal documentation of this feature forthcoming as I get ready for the next release (in the form of a tutorial post).
Thx for your quick reply. I agree no good hacking plugs concerning future releases. Mean while I’ll just wait for your next releases and see what ingenious solutions you will develop and present.
Best regards
Patricio
Thanks for the wonderful plugin
Hi guys,
how can setting the Time-exipiratio or Trial period for user registration?
I find the filed label “Time-based expiration” and “Trial period” during the translation, but I can’t see that field or that function in the admin panel settings.
Thank you in advance.
That’s for a future module that is in development but has not been released
Hi, I am very pleased with the plugin.. does exactly what i wanted. Thanks for share!
yes, this plugin is very helpful, some new features will be nice
This is an amazing plugin. Thank you so much.
Is there a way to display the information of ALL the users together on a page/post … ?
Hi Elizabeth – could you describe what you have in mind a little more?
Gosh your service is amazing. I really appreciate you.
OK, I’m asking users to sign up and list their skills, locations and interests on their profiles. I’d like to display ALL those profiles on a page so that clients can choose which one they’d like to contact.
Perhaps a [ list_users ] shortcode or something?
Hi Elizabeth,
Firstly, I have to agree, Chad’s service is second to none. He has to be the hardest working plug-in developer out there!
Secondly, I use an additional plug-in “Members List Plugin” which works with Chad’s perfectly but may not quite have the functionality that you need (it may have if modified) but there is also “The WebGears Members Plugin” which, although I haven’t tested it personally, looks to be what you need.
I hope this helps and thanks once again to Chad for all his hard work.
Sean
Hey Sean … nice to meet you.
I am using the Members List Plugin and Paid Memberships Pro too and they all integrate really well. Great idea to try the WebGears Members Plugin but it wasn’t right.
Having the capability to display the users with ALL the extra fields that this fabulous plugin allows me would be absolutely perfect.
A do appreciate your assistance so very much.
Thanks Elizabeth for the ideas. I’ve been working on ways that I can improve the plugin with shortcodes and this is a great idea for inclusion as a shortcode – something that could take parameters like display a specific user, or a list of users (defining # of users displayed per page), etc. That may start to take shape in an upcoming version.
Sean – thanks so much for the kind words! Since I put out a new release last night, I actually expected to check in this morning to a pile of support needs, so it was great to see this
Hi Sean!
We are trying to use your great plugin for a new website. It works with multiple browsers I tested (Firefox, Chrome and Safari) but I can not log in to the Internet Explorer.
I tried to delete cookies but still not working.
Can you tell me what is causing the problem?
Greetings!
Thanks for your comments. Unfortunately, I don’t have an answer for your situation. The plugin is tested in various browsers including IE and nothing in the login has changed in several versions. Login is handled using wp_signon (a WordPress function) on the server side so the browser version really has very little to do with it.
Hi Sean!, the problem with Internet Explorer was in my hide redirection. I don’t know why, but in Internet Explorer works if you not redirect to other name site.
Greetings!.
Hi Chad, Don’t know if my last message came through or not, but have another go now. (I have sent you a message via your contact page) Thank you for a great plug in. I have installed and used if for the past month with no issues at all until yesterday when I installed the update. Since then I get an error message 503 server busy type of thing every time I go to activate a member. I have even joined as a member myself to test this and it does the same thing. Is there a problem with the new update? Can I please go back to the old version while this is being looked at.
Thanks again.
Kamal – thanks for your posts and your question. Please note that you only need to post once and I’ll get to it. Comments on this blog are moderated and must be approved by an admin when the poster does not have any other approved comments. That is why your post didn’t show right away. I sent you detailed instructions via your email question.
Actually Chad, I am getting this same error as Kamal since upgrading to 2.6.3. , when trying to activate a new user.
Hi Michael – I’m trying to track down exactly why this particular function call isn’t working – the wp_update_user (a native WP function) that is used in wpmem_activate_user is working fine when called from the bulk user management, but not on the individual user edit page. I’m hoping I can track it down and fix it because I like this method better than using the $wpdb->update method that was used before.
Until then, I have a fix posted here: http://wordpress.org/support/topic/plugin-wp-members-moderate-registration-u-get-a-404-error#post-2405607
I will probably end up releasing this in a 2.6.4 version that also fixes one other minor problem. But I’m waiting to see if there are any additional bug reports from 2.6.3 before I do that.
Let me know if you run into any issues with the fix.
Thanks as always for the prompt response. I’ve applied the fix – now I’m just waiting for another user to register so I can see if it works. I’ll keep you posted.
Is it possible to restrict some posts to certain users?
Example:
User1 can access any post. (1 to 5).
User2 can only access post 1,2 and 3 (4 & 5 are blocked out)
I hope te hear something soon.
Thanks for your great plugin!
Thanks for the question – at this time, it’s an all-or-none.
Ahwell, too bad.
Is it on the to-do list? Is it even possible?
Greets.
Something like that is on the project list – different access levels or groupings. But I don’t have a estimated time on when we will get to that.
Ah thats too bad. Well, looking forward to it!
I will be using this from now on, as I’m using seperate plugins for these things now. Your plugin looks promising!
Hi Chad,
at the risk of sounding stupid… i can’t quite work out how to use the “more” link. I followed ( I think) the instructions in your installation guide, but it comes up just showing the following :
this is a test post
this is supposed to be the secret stuff for logged in users…
you can see it here: http://www.churchfreo.info/2011/10/testing/
Any advice/help would be appreciated
Mitch – I took a look at your site. It looks like what you probably did is paste
into the WordPress visual editor, which will not work as the editor will convert this to<!–more–>. When using the visual editor, there is a button in the toolbar for inserting the ‘more’ tag. In the default installation of WordPress, this is the fourth from the right. There is a good description of this at WordPress.comBrilliant! Thank you!
Hi Chad – many kudos to you for your great wp-members plugin!
A quick question; is there any easy way I can show only the login form on the members area page that is automatically shown to not-logged in users? I’ve created a separate registration page so would like that not to show on the default page too.
Besides, there’s some format error in the layout on the members area page, it shows the reset password-link and register new-user link on top of the login-submit button. It doesn’t do this if I use [wp-members page="members-area"] on a page I create myself though.
Many thanks,
Richard
Hi Richard – thanks for your comments. Right now I don’t have a way to remove the standard login form. That may come down the road though. Also, I have more formalized most of the functions to be pluggable so there may be a work around that might suit you. Stay tuned as I will be putting together more information on how to do that.
On the second issue, I think I know what you are talking about but would you mind posting a link to an example so I could verify. If it is what I think it is, there is a fix coming shortly… (I think that it is a WP text parsing issue and I am working on an override)
Wow, that’s a swift response!
Thanks!
Here’s a link where you can see the login submit button ending up behind the reset-password and new-user links:
http://mildnervillorna.se/wordpress/?page_id=37
It doesn’t end up like that here though:
http://mildnervillorna.se/wordpress/?page_id=109
It’s on the first page I also would want only the login form and not the register new user form. Would you mind telling me where in the code this is and perhaps I can alter it manually until you have your solution in place?
Another feature I was looking for was the possibility to display logged on user’s username (or other fields) using embedded shortcode in a page or a post. Any chance you will add this too? I know about the php option.
Thanks!
Yes, that is what I suspected – the upcoming fix for overriding the text parser should correct this issue.
The plugin does have a shortcode to display the login form, so you could turn the registration form off in the settings, but that effects everywhere the login/registration forms are displayed. You’d be better off just using the shortcode for a one-off solution like the homepage.
There isn’t a shortcode to display username only. That’s probably a good idea for the project list though. There are some WP functions that you could use to do this directly though.
I should also mention that fixing the this until the fix comes out is not possible – it’s not a problem with the form, it is a break tag that WP is putting in there when it runs the code.
Hi Chad,
Any idea when the upcoming fix for overriding the text parser will be available? I’d be happy to be an early adopter and test it for you if you like…
Thanks,
Richard
It is in the 2.6.4 release actually… The login form makes use of it. In the 2.7 project, it will cover the entire login and registration forms. I’ll post more on this soon…
Fantastic! I was on 2.6.3. Just updated and it works fine now. Many thanks!
One more thing, in a couple of places (the widget for one) it says “you’re logged on as” but then nothing. It shows no username so seems this is not working as supposed to. I’m using Swedish language files, but other than that no tweaks.
I’ll check into this…
Good morning (?), Chad… here’s yet another thing; when I try to Activate a user I get http 500. Hence they cannot log in. Editing other WP-Members Additional fields from wp-admin works fine.
I’m using WordPress 3.2.1.
Any ideas?
Richard – see http://wordpress.org/support/topic/plugin-wp-members-moderate-registration-u-get-a-404-error#post-2405607 on this.
Actually, it works to activate users from the WP-Members menu using the batch feature. It’s when editing user by user using WP built-in UI it doesn’t. So it’s no “cow on the ice” as we say in Sweden
but perhaps you wanted to know anyway.
I now also found out that username is shown if I remove the SE language files.
Another thing that doesn’t work with the language files is the email notification to user that the registration is pending approval and/or that it is approved and what their password is. This too works again if I remove the SE langauge files.
I’ll look closer into it tonight. Sorry for all the spam.
Hi Chad
Thanks again for this fantastic plugin. I updated to 2.6.3 and found that whenever I tried to activate a new user I got a Fatal Error message then I had ran out of space or something like that. I rolled back to 2.6.2 and it’s resolved the problem.
Thanks
Colin
Colin – explanation and solution at http://wordpress.org/support/topic/plugin-wp-members-moderate-registration-u-get-a-404-error?replies=2#post-2405607
Please help! The password wont email to the new users who register. Im using xmapp server and latest wordpress. Anyone?
See “Users are not being emailed their passwords, what is wrong?” on the FAQs page.
Just a thought – but is there ever likely to be an option to de-activate a user? For example – one site I run is a members site where folks pay an annual membership fee. Would be useful to deactivate them if/as and when they fail to renew their membership for some reason.
There is not a current option for deactivation, but it is likely to be added soon. I actually do have that on the project list.
This is a feature which I need to. I actually this would work by default, by ticking or unticking the activation checkbox, but I’ve noticed once a user has been activated the checkbox then disappears.
Is this close to being added to the plugin? Its currently the only thing thing preventing me from using it.
Cheers.
Hello i suddenly run into a deep problem em tryin to call the fucntion name into my theme with this full syntax
but nothing comes up ..? i need to call this function how em i suppose to call this in my theme..?
need to know this ASAP any help will be appreciated
What function are you referring to?
em referring to function i should display registration form.
my display code
whats wrong with this editor..? its only out the plain text not code..?
any strslashes code attached with it..?
em referring to function i should display registration form.
my display code
shan – just email me via the contact page.
Just updated to new version and now when I go to manually activate users the page goes to a blank page and does not activate users.
A workaround is to activate users via the wp-members section under the Users area. But do know your new version has a bug with activating members via the users area.
Yes – I am aware – explanation and solution at http://wordpress.org/support/topic/plugin-wp-members-moderate-registration-u-get-a-404-error?replies=2#post-2405607
I will be releasing an update with the fix applied within the next couple of days.
Hi Chad,
Love the plugin all is working perfectly. I am using it to protect the pricing page on my site. I customized all of forms so they work with my theme:
http://mod-rugs.com/rug-pricing/
Thanks for the great work and support.
Awesome – glad you got it working. The form integration looks great!
Hi! It’s an awesome plugin
I have a simple question, I know it’s something probably really simple to do but I can’t figure it out (I’m very beginner in coding php).
I would like that in the sidebar, instead of writing “You are connected as myusername”, it would be written “Hello myfirstname”. I see two places that I have to change the code in the sidebar file, and I changed “You are connected as” by “Hello”, and it works fine. But I don’t know what kind of code I have to put to show myfirstname. I tried simply replace $user_login by $first_name (and a couple of things like that), but it doesn’t show anything. Hope you (or even anybody that is better than me to coding) could help me
Thanks..
Is there a maintainable way to verify fields during the registration process? For example, if someone add a URL (in a field that we add through the plugin) we would like to verify it’s a valid URL before accepting the registration.
Hello chad I’ve mailed you the exact code. please review that & let me know
Regards
Shan
Another question. When users try to comment on my blog posts when not logged in they get prompted to register but on other pages like http://pursuitofstrength.com/how-to/how-to-deadlift/ there is the word press sentence :
Leave a Reply
You must be logged in to post a comment. which takes them to the wp-admin screen.
How do I get it to act like the blog comments?
Hi Dan – that is actually coming from your comments.php template. As to how you change that depends on your theme. More modern themes utilize the comment_form function. comments_form() accepts various arguments for outputting the comments form and one of those arguments is must_log_in which specifies text you are referring to. What you want to do is create a filter for this in your theme’s functions.php file to override the default.
Are there any issues with Google Analytics being placed in the footer which will then populate all of the pages, including the password protected ones? Would it be best for me to specify which pages the Google Analytics goes on?
Thanks!
The plugin only handles content within the Loop, so as long as you have the analytics code in your template outside the Loop (which you should have anyway), then there are no conflicts.
Hello,
Thanks for a great plugin!
I was wondering, how safe is wp-members to use for example registrering personal information, resumes etc. using the registration fields? Is it easy to access other users registration information?
Thanks in advance!
The answer to that is “it depends.” WP-Members utilizes the WP users and usermeta tables. It piggy-backs the WP registration and user management process. So it is only as safe as your WP installation is.
For example, it is up to the end user (the site admin) to establish whether data is transferred over SSL or not (WP will work either way). Also, how you manage who has access to the user data – depending on the roles you have established for your WP users determines who has access to the information (and also who has access to the WP database).
I know that’s not a direct answer, but truthfully, if you follow best practices for maintaining a WP site, it’s very safe – the safety and security is up to the site admin.
Hi,
I was planning on using this plugin for a uni student association website and I was wondering if there was any way to make it so you have to use an email address from the uni to register (i.e. email@university.edu.au would be registerable but email@gmail.com wouldn’t).
Weird request but thanks for any help you can offer!
David
I found http://wordpress.org/extend/plugins/user-domain-whitelist/ says it works up to 3.1 so good chance it’s current or could be modified easily to be, and http://wordpress.org/extend/plugins/wp-email-restrictions/ but that doesn’t say it works with 3.0 (but may). I know there are some BuddyPress plugins too so if you’re using BuddyPress search there too.
Basically I think you want a whitelist email domain plugin so I searched the plugins for “whitelist domain” and found those. HTH!
Thanks for posting that Andrew. It should work if it hooks into the WP email validation is_email()
Thanks for the help!
Unfortunately this whitelist plugin doesn’t seem to work with wp-members. When users register through wp-members their registration isn’t blocked even if the domain isn’t on the whitelist. But when I re-enable the default wordpress registration registrations through that form are blocked.
I know there’s probably no easy fix to get these plugins working together, but I was wondering if you had any suggestions?
Well, WP-Members checks the email in wp-members-register.php at the very beginning of the registration process using is_email. I thought the whitelist plugin sounded like it might filter that process (it may or may not – I haven’t looked at it). Depending on your knowledge of PHP, if you can write a filter hook for is_email to not only check the validity of whether it is an email address, but also to check for the domain(s) you are looking for, that would be the best way. Otherwise, to accomplish what you are looking for, you would need to modify the registration function, adding your validation to occur with the other form validation. That, however, is not an optimal solution because you would need to reapply your hack everytime you upgrade the plugin.
Hope that helps.
i like this plugin, but is there a way that if the using is not login is it possible to display the word register just beside the login button?
If you set up a registration page as outlined in the users guide and the quick start guide and set the location of that in the plugin settings it will display a link to the registration page. Likewise, if you set the location of the members area it will display a link to to reset a forgotten password.
Having set up all the fields, forms and other components I need, I would now like to turn over day-to-day handling of WP-M to one of our Users. That’s to say, he should have access to the WP-Members list in the Users UI and would be able to view and edit ‘admin-only’ data and so on. I don’t however, want to make this User an overall admin of WP – he just needs admin access to WP-M, not the other WP admin functions. I’ve got Role Scoper and User Role Editor plug-ins installed, but even so I don’t see a way to do this. Am I missing something, or is this just not something one can do with WP?
Many thanks for any help in advance.
Well, the plugin is not designed with limiting admin duties for just the plugin. However, if you use a role manager plugin that can assign roles, you might be able to bump him up to another role (such as contributor), then remove unnecessary actions from that role and give him the ability to edit users.
Thanks Chad. I had thought of creating a new role just for him – which is pretty much what you’re suggesting – just wanted to check I wasn’t overlooking something more obvious.
I think that would work – as long as he has ‘edit_users’ as a capability (1. to actually edit users, but more importantly 2. because the plugin only loads the admin functions if the user has that capability)
This plugin does exactly what I want, so that’s great, and I have made a donation accordingly. However, one more thing would help a lot: allow the new user to capture their password on registration. That would save me having to create passwords for them and email the password to them.
Or am I missing something and it is already there?
Hi Peit – thanks for the comments (and donation!)
Currently, the plugin emails the user a password upon successful registration. You should not need to create a password for them. If users are not receiving password from the system automatically, you may have some problems with wp_mail (unless you are using a localized/translated site – there have been some reports of mail issues with translations – this is an open issue).
The reason the plugin emails the password to the user rather than simply display it on the screen is a validation issue. For most users, validity of registration data is important. For sites that choose to not moderate registrations, this process provides at minimum a valid email address for the user as they are unable to receive a password without it.
If you are running a localized version of WP and suspect that might the issue with the email, contact me directly either via email or the contact form.
Everything seems to be working properly, except the input boxes for the 2nd lines (“Password” and “First Name”) on both the “Existing Users Login” as well as “New Users Registration” have jumped to the 3rd line for some reason. How can I fix this?
That is a style issue – either an inherited CSS property that you’ll need to define, or you may have to make some adjustments to the width of the various form field elements (also CSS). To do this, you’ll need to specify a custom stylesheet for the plugin. Instructions for starting that process are here: http://butlerblog.com/2011/07/25/customize-the-wp-members-stylesheet/
Hi Chad this plugin is working fine for me but from yesterday i’m getting strange problem … after user registration i’m getting 404 error page instead of thank you message or welcome screen. my url is http://www.tmp.net.au … please check. Thanks for help and such a great plugin.
Hi Chad, nice plugin looks liek it will do exactly what I need it to!
One thing though – my username text field in the Register page is missing and therefore I can;t type in anything, what could be causing the problem?
Anything you can advise much appreciated!
Without an example to look at, that sounds like a CSS issue. The included CSS will work well in a variety of scenarios, but it is intended for users to customize the CSS to get the best integration. One thing to consider is that there may be properties for some undefined elements in the default CSS that are inherited from your theme (or other) stylesheet.
The description you provided sounds like more of a width issue. If the content area of your layout is too narrow for the default CSS, then it will wrap, giving the illusion that a field is not there, when it is actually more aligned with the label on the next line. To adjust this, you need to make adjustments to the width of the entire form, and also the labels and form elements (and wrappers).
Setting up a custom stylesheet for the plugin is easy. There is a description here to get you started.
Many thanks for your reply Chad, it was indeed a CSS issue, the CSS with my theme had the username property set to display: none…
Hi Chad! Is there any possibility to add a custom function to the registration page. For example to check if a referrer’s email is in the database? Thanks!
Patrick – thanks for the question. I get similar versions of this (in terms of how you would best apply a change) a lot so I started to put together some more formal information. Essentially, the plugin does have a feature that allows most of the functions to be pluggable – that is, that you can recreate a custom version outside of the plugin itself. This is the best way to customize since any hacks directly to the plugin itself would need to be reapplied when you upgrade. The general information is here:
http://butlerblog.com/2011/11/29/customizing-wp-members-with-pluggable-functions/
Feel free to give some feedback on the post as this is kind of a work in progress on something that makes perfect sense to me, but may not to those not intimately familiar with the plugin.
As for specifics in your case, the registration process itself (wpmem_registration found in wp-members-register.php) is not pluggable, but there are actually some cleaner opportunities to slip in what you are talking about. My suggestion would be to slip your process into the wpmem function. This is the main action function that fires at the very beginning of the plugin before any data is sent downstream. It essentially checks the state we are in (login, registration, nothing, etc…) and acts accordingly. If the user has submitted the registration form, it will be in the “register” case. It will then run wpmem_registration. This would be where I would add a function to check your referrer.
Depending on how you envision this working, you might have two functions here, one before wpmem_registration to check if the referrer’s email is in the database (and maybe that’s all you want to do), and one after. If you need to do something based on a successful registration, the value of $wpmem_regchk will be “success” if the registration has been successful and we are moving on, so you could slip something in after based on that.
Hope that helps.
When I add a custom register link there is a ? added to the end of the link. so instead of my custom register link being what I enter which is
http://www.example.com/wp-login.php?action=register
it creates a link of
http://www.example.com/wp-login.php?action=register?
can you tell me how to fix this please.
wordpress version Version 3.2.1
plugin version Version 2.6.4
Well, I can see that the wpmem_chk_qstr probably needs to be updated for some additional uses, but oddly, in its non-updated state, it should be returning an appersand (&) in that case rather than a ‘?’. So I’ll add that fix to the list.
Part of the issue is that the location of the registration page wasn’t intended to be the WP regristration (wp-login.php?action=register), but rather a specific page using the WP-Members register shortcode. So, one workaround would be to set that up. The other workaround would be to change the code where the registration links are generated. These would be in wp-members-dialogs.php (lines 156 & 790, depending on which set of forms are being used) and wp-members-sidebar.php (lines 115 & 144). Changing
$link = wpmem_chk_qstr( WPMEM_REGURL );to$link = WPMEM_REGURL;should take care of it.Hi Chad,
How would I go about using a link to terms of service in order to maintain the layout for the site? I’ve created a separate page for tos on wordpress and would love to be able to link it to this page instead of a plain white background with just text. I know the file affected is wp-members-dialogs.php and that’s about it! Many thanks in advance.
linda
Hi Linda – actually, I am working on adding functionality to the plugin to be able to use a specific WP page as the TOS as you have mentioned. I’m not sure when that will be complete – there’s a 2.6 fix version in the works, then hopefully a new feature release 2.7. That process is on the 2.7 project list.
I usually caution against making changes to the code directly, but in this case, it’s something that’s going to change anyway, so a temporary workaround would be to change line 658 in wp-members-dialogs.php. That line is:
$tos_pop = "<a href=\"#\" onClick=\"window.open('" . WP_PLUGIN_URL . "/wp-members/wp-members-tos.php','mywindow');\">";If you are going to just make it a link to your specific page, then you could do something like:
Hope that helps.
Thanks very much for your reply Chad! There was a syntax error which I’ve corrected and it works!
Hmm, can’t seem to paste the code correctly. Using [/code] seem to generate extra characters!
Remove spaces:
$tos_pop = ' ';
Well worth donating to a great and well supported plugin!
Hi Linda – thanks again for the donation.
Probably easier to send copy/pasted code via that contact form.
Hello,
Is there a way to set up where they have to pay to register?
Thanks
not at this point, although there is a payment module in development.
Hey, nice plugin, tanks!
I wonder whether it might be possible to block the home page also, not only additional pages! Am I missing something?
You can do that if you set a static front page in the WP admin Settings > Reading panel. You’ll either need to be blocking all pages by default, or make sure whatever page you choose as the front page has been blocked.
Hi,
I’m just using your default registration page for new members. It asks for username setup, but not for a password setup.
How do I add the field, for password setup, to show up on the registration page?
Thanks for your support.
Shay C.
Thanks for the great work on this plugin. I’ve been using it on some of my other sites with great results.
I’m having trouble with the registration page under one theme, though. The field labels and input boxes are out of line i.e. the space to the right of “Username” is blank while the space to the right of the next field down, “First Name,” contains the input box associated with Username. And so on down the form. The final input field is hanging, and appears to have no label to the left of it.
Check it out here if necessary:
http://www.t2trades.com/?page_id=17
I’m not really sure how to fix this; my other websites never had this plugin problem. Will I need to edit something in the wp-members CSS?
Thanks.
Thanks for the comments Jeff. Looking at the link, there is definitely something throwing off the CSS, so you will probably need to do some customization of the stylesheet. There is some information here to get you started the right way.
Has anyone else report this error for 2.6.5?
Warning: array_reverse() [function.array-reverse]: The argument should be an array in /blahblah/htdocs/moreblah/wp-content/plugins/wp-members/wp-members-register.php on line 41
This was fired off by the registration page.
Update: Has something to do with fields. Only user name was present in the form and the config. I’ll just try to replicate the fields list.
Was email present as well?
No. Only user name was filled out. So I had to supply other fields: email, name, etc.
If you’ve applied any hacks to the code, you *must* have at least username and email on the registration.
No hacks (so far) for this particular install. I was hardheaded and installed WP-Members in Multisite. That mainly caused all the malfunctions. Sorry for the confusion and apparent waste of space/time.
One last thing, what value does TOS (tos) store? true/1/yes/y/t?
The checked value of the TOS field is “agree” – for any custom set checkbox, the checked value will be whatever you set in the plugin settings.
Thank you.
Against advice, I used it on MU. Initially working for super admin though strangely behaving. However, I encountered other serious errors while logged in as a network site admin. And that will stop me from furthering the experiment. LOL.
Hello! I absolutely love this plugin, but have been unable to register new users as of late. It is sending them to the 404 page. Here is a link:
http://www.destinysrehab.com/register
Any insight you have would be great!
Thanks, and happy holidays!
Looks like your permalink settings are the default, so your register page would be something like http://destinysrehab.com/?page_id=1234. You can either change your permalink settings, or you need to know the page_id of the register page.
Hi, I tried checking into this, and it is still not working. It originally worked with no problem, but started acting up as soon as I upgraded to WP 3.3. Is there any way that you could help me do what you mentioned above? I appreciate your assistance.
You need to either change your permalink settings (under Settings > Permalinks) or you need to change your links to the register page to http://destinysrehab.com/?page_id=1234 (where 1234 is the ID number of your registration page).
Hi, thanks for the amazing plug-in.. so far it has worked like a dream.. I have one question.. and could not find it in the documentation.. what if a user forgets his/her USERNAME? I don’t see a way to reset.. thanks! Jesse
Hi Jesse – at this time there is not a process to retrieve a forgotten username automatically. However, a user could contact an admin and you should be able to find them via email address in the user list.
I assume a user cannot use the built-in wordpress feature for resetting their password?
The plugin only shuts this off if registration moderation is turned on and the user has not yet been activated. That particular instance would otherwise be a security hole as a non-activated user could use the built-in password reset to immediately receive a password. If, for some reason, you wanted to turn this off for all users, the function wpmem_no_reset() is pluggable. (See this post for setting up WP-Members pluggable functions.) The following would turn this off completely:
<?php function wpmem_no_reset() { return false; } ?>NOTE: The are going to be some changes to the login functions in the near future (sometime following the upcoming 2.7), so if something like this is implemented, new releases should be monitored for changes.
Chad,
Two questions, if you do not mind.
1) Are the manual, FAQ, etc. available in PDF or similar or just here on the blog?
After reading one of the above posts I felt like I may need to ask this one as well.
2) If the css for my theme and the css for your plugin happen to be named the same can I change the name of the css and the reference on the pages to access the new name?
Many Blessings,
Clyde
The manual is a pdf available on this page. The info you need on the CSS is in there and there is also a post describing setting up custom CSS linked above on this page.
Hey Chad,
we’re currently testing your plugin to use on our site, and are fairly happy with it, but we’ve run into two issues that I was hoping to get help with.
1. Translation issue. We have finally figured out how to force the fieldnames to be German and it’s all fine, but in the dialogues the field for the Password reset just won’t stick. We had to deactivate the plugin a couple of times and after every re-activation, the default text is back in the Password reset box instead of the translation we have filled in earlier. I am assuming that it gets the default value from the database. Why does the translation not update properly in the database? Not a huge issue, just a little bit of a nuisance.
2. Login page. We have set up the optional registration page and it worked just fine, but then from one moment to the next the registration form is on the login page, even though we have the optional link turned on. We can’t seem to get rid of the registration on the login page and are truly stumped here. What could possibly cause this? I could supply screenshots if necessary.
We would greatly appreciate your help.
The only things that are stored in the database are field names and the dialog for certain error messages. I would make sure that you have properly forced the installation process as described here. From your description, I don’t think that’s your issue, but just make sure. You should also compare the strings between your translation file and the wpmem_reset_password function in wp-members-dialogs.php (I assume we are talking about password reset and not password change, although the password change function is also in that file). Make sure that the string the translation file is looking for is correct.
As for the login page, it sounds like you have the page blocked. If you have set up the login shortcode on that page, that’s the only reason the registration form would show on it.
Hi,
I’m having trouble with the registration process. I log out of wordpress dashboard then fill in the registration, which sends me to a login page. But don’t receive the email with the pass word and it’s not in the junk folder. I do receive an email from wordpress stating there is a new user registration on on site. The registration page is http://pooktre.com/extras/
I’ve managed to correctly set up this plugin on two other sites.
The only think I can think of that is different is the pooktre site is setup as sub folder with redirects to the main domain and maybe this is stuffing up the registration process.
Becky – it’s odd that you would receive one and not the other. Also, the registration email is sent prior to the admin notification. BUT – it is possible that it could be an issue with your web host. Some hosts put restrictions on email sent directly from scripts as that is how spammers bypass things. Since in this case two emails are being sent right on top of each other, that could be an issue (depending on the host). You might try it without the admin notification to see if you get the registration email. Also, you could implement a plugin such as WP Mail SMTP which will hook the wp_mail function into an SMTP server – this is cleaner and more reliable for sending messages, and should get you past any issues. Hope that helps.
Thanks Chad that worked. I did have to use a plugin to turn off wp admin notification I used ‘Disable wp new user notification’.
Becky
Hi Chad: I just adore this plug-in and all the well organized details in every respect! I have one minor issue that I’m stumped on. When someone attempts to login and they enter the wrong info they get a dialog with giant red letters that says “LOGIN FAILED! You entered an invalid username or password.”
I wanted to tweak that language to make it a bit more friendly and adjust the size & style of the red font, but I don’t see this message anywhere in the Dialogs choices (all the messages there are quite friendly).
Can you tell me where I can change this message and its CSS styling?
Thanks!!!! Happy New Year!
Since posting I see why the type font is large red – I see in the plugin php that the message is set to be an H2 which I had set to be big red letters on the site – that is easily changeable for me. I still would like to change the dialog but I don’t want to mess with your plugin php codes without hearing from you exactly what I can and cannot do and where (I’m a TOTAL novice at this!)
Thank you in advance for your reply!
There would be two ways to approach this. First (and best) is that you can specify a CSS style for this. Yes, as you already noted, it is an H2 tag. But it is within the ID wpmem_msg. So what you would want to do is specify a style for: #wpmem_msg h2 { your style properties here }. You could do this in your existing stylesheet, or you could set up a custom stylesheet for the plugin (outlined here).
Alternatively, this dialog function is pluggable. This post outlines how to set up a file to utilize pluggable functions. The function in question is
wpmem_inc_loginfailedin wp-members-dialogs.php. If you create a new wpmem_inc_loginfailed in your pluggable file, you just need to put the html you want for message to be returned by the function. Something like this:<?php function wpmem_inc_loginfailed() { $str = '<div align="center" id="wpmem_msg"> <p>Your login was invalid.</p> <p><a href="' . $_SERVER['REQUEST_URI'] . '">Please try again.</a></p> </div>'; return $str; } ?>Note: this should be done using the process for pluggable functions – not changing the file directly. If you change the file directly, it’s just going to be overwritten when you upgrade the plugin (hence the reason for pluggable features).
Hope that helps.
Hi Chad, love this plugin. I have 1 question:
1 Is there any way to do a mass user import from a CSV file? I noticed the export function but after I made changes to the file, how do I import them back?
Thanks again for your help in advance!
While it may be added in the future, there is not an import process.
Would this plugin be suitable for a directory of Realtor’s who can manage a profile and list properties via comment?
You’d have to make that determination based on giving it a test drive. It blocks individual posts and pages and uses excerpts as “teaser” content on archive (multiple post) templates. It also places login and registration within your branded theme in a way to encourage registration.
Hi Chad, I was wondering if there is a way to put in a Login status and Logout function (like in the sidebar) in the header of my website. I’ve been looking around and trying some functions but all my attempts either fail or return a server error on my website
There would be more than one way to accomplish this. But if you are hooking in to the WP-Members login process (which uses the WP function wp_signon, same as the WP backend), you basically need a conditional statement to determine if the user is logged in or not. is_user_logged_in returns true if they are. Based on that, you would display their login status if they are logged in, or if not, then a login form. The form needs to post back to the url you are on, and in order for WP-Members to fire the login function, you need to pass “a” with a value of “login”. The credentials need to be “log” for the username and “pwd” for the password.
Hey, thanks for the quick reply. I managed to get it working with is_user_logged_in.
I do have another question, is there a way I can echo some user information on the members area ao it doesn’t look so empty? eg: username, name, address, etc..
You could… although that information is pulled up when they click ‘edit my information’. If you wanted to put more into that, the function that generates that content is wpmem_inc_memberlinks found in wp-members-dialogs.php. This is a pluggable function, so what you would want to do is set your own version of this function as outlined here and simply make changes to the case for ‘members’ (as this function also handles the register and login pages as well). Hope that helps.
Hello,
I’m french and very interested about your plugin but i wonder if there is a Easy PayPal Integration or something like that…
Thanks for your answer
Bests regards
PG
not at this time…
Hi, Chad,
I really appreciate your plug-in. I’m having one small difficulty, though. I will need to export the member list (the entire list) on a regular basis. This was not a problem the first time, but now all of the records (except the new ones) have been coded as exported. I can only export records one page at a time from the WP-Members Users page. There are currently 20 pages of data and we’re adding users everyday, so this isn’t really practical.
Questions:
1. Is there a way to select all members at once for export?
2. Can I reset the code that designates all members records as exported?
3. Is there a way to export from the database and still get all of the information in one file?
In other words, what’s the best way to do this?
Thanks!
Richard Dannenberg
Hi Richard,
Yes, we kind of lost that possibility when I went to paginating the user list. Prior to that, it would list all users on the page and you could select any or all to export. But that was a problem for admins that had a sizable list of users (and/or a lot of extra fields) as the script would time out.
So, I will be working in a full export option in an upcoming release. The 2.7 release is pretty much wrapped up and is currently in a beta release, so this might make it in to 2.7.1. In the meantime, probably the easiest way if you don’t need to keep track of users that were exported is to clear out the toggle. It sets a usermeta of ‘exported’.
I have now installed and activated the WP-Member plugin with my local language .mo file and
2 errors pops up:
1.: a member wants to change his password and gets this error:
Fatal error: Call to undefined function wp_update_user() in …/wp-content/plugins/wp-members/wp-members-core.php on line 493
2.: I want to visit WP Dashboard / Users / WP-Members and get this error:
Fatal error: Call to undefined function get_users() in …/wp-content/plugins/wp-members/wp-members-admin.php on line 992
What to do?
Those are both WordPress functions so I’m not sure why they would be undefined; neither of them are deprecated. wp_update_user used to be in registration.php which is now a deprecated file, but it was moved to wp-includes/user.php (as was get_users). So I would start by making sure that file is present in your WP installation.
Always use the latest version of WP!
When I updated WP to the latest edition all the problems disappeared.
My Excuse ?
I have been waiting for a local version of WP
thank you for a very nice plugin
ahhh… a very true statement Mikael! And I wondered if that might have been part of the problem.
Hi Chad,
I used your plugin before and it worked wonders, thank you!
I would like to re use it for another project but i have a question – after the clients log in to the members area some of the members will then have a page where they have to enter a code given to them in person to access one more page within the members area – is this technically possible to achieve assuming it is members within members sort of set up?
Many thanks in advance!
Is it technically possible? Yes, but not within the construct of the plugin as it is. It would take some customization to achieve that kind of functionality – possibly a significant amount of work.
Hi, great plugin! Is there a way of setting up user name and password to only one value that will never change (something like username:admin password:admin)?Also is it possible to have visitors just enter a password that will always be the same value and hide the username field in the login box ? Thanks so much!
The answer to the first question is, of course. Although that’s not really secure, I can see how it would be applicable to various situations. Just create a user and distribute the login credentials as needed. As for the second, you could do that as well although I’m not sure why you would want to bother since that is essentially what is already built into WordPress when you password protect a post.
Hey Chad, i was able to get a hold of the beta release of wp-members 3, and wanted to report an issue. In internet explorer 7 when navigating to the registration page, the page never finishes loading completely and just sits waiting for the server. The only thing i have enabled and different from 2.7 was the password field.
I’m seeing what i can find but wanted to report it to you. Maybe your aware of this and could provide some feedback. Or if you need any environment specific information then please let me know.
Thanks
Do you mean WP-Members 2.7 rc3?
How can I find this out? The readme says “Stable Tag: 2.7.0″ and is the only version number I can find.
The reason I asked is that your original question started with “i was able to get a hold of the beta release of wp-members 3″ and there is no WP-Members 3. But there were three release candidates of 2.7 prior to the final production release, so I assumed that’s what you were talking about.
Are you using a caching plugin of any kind?
Have you tested without any other plugins enabled (to see if there may be something conflicting)?
Are blog url and the site url (in WP general settings) the same? In other words, is the blog in a subdirectory?
Hi there,
Love the plugin, goes great except for one minor issue.
http://www.farthingtranslation.com/wordpress/?page_id=188 the plug-in registration page is set-up here and the form fields don’t line up with the field titles (basically they’re ‘one down’ from where they should be) which is causing issues as people get an ‘invalid’ email error when trying to sign up because they’re unknowingly entering their email in the wrong field.
Is there any solution for this?
Thanks!
Mat
That is a CSS styling issue. You will need to work on customizing the CSS properties to integrate with your theme. Looking at your example, you’ll probably need to adjust the width of the fieldset (and the elements, since they are based off the width of the fieldset).
If you don’t know anything about CSS, you could revert to the non-CSS forms in the plugin options. However, this may be deprecated at some point in the future, so I wouldn’t rely on that.
More info on customizing the CSS is in the Users Guide and also here.
Hi.
I was wondering if there is any way to add a log out function to the member site, so that when a member is logged in it is also possible to log out again?
There are several ways to accomplish this. First, if you are using the plugin’s sidebar widget, it already presents the logged in user with a link to logout.
I understand that not every theme utilizes a sidebar on every page (Twenty Eleven would be a perfect example). In that case, you would have a few other options.
There is a function in the plugin called with
wpmem_inc_status(). While it is possible that this function will be deprecated at some point in the future in favor of something better, you could call that if the user is not logged in by placing the following in your theme where appropriate:<?php if( is_user_logged_in() ) { echo wpmem_inc_status(); } ?>Alternatively, depending on how handy you are with php, implementing your own customized logout would be relatively simple (and much better integrated) by echoing a link your blog domain with the query string a=logout. Something like: http://mydomain.com/?a=logout
Just configured and activated the plugin for the first time this weekend. Many, many thanks for the Quick-Start Guide, Users’ Guide, FAQs, and support, and esp. for the addition of the email-change option, which BTW works perfectly.
I confess I have not looked at every single query on this page, but I did search the page for terms related to my problem but found nothing. Apologies if I missed something.
All the plugin’s functions seem to work perfectly on my site except that the required information new users fill out on the initial application form is making it neither to the users’ area (prior to registration approval) nor to the email that is sent to me as admin requesting registration approval (I’m using the Alert Admin and Moderate Registration functions). The only information making to the users’ area and the email to me are Username and email address.
I’m unsure where to look to address this issue.
Many thanks.
It would be unusual that the user data wouldn’t be posting. Are you using a caching plugin of any kind?
Chad,
Thanks for the swift reply.
I am using W3 Total Cache but deactivated it while making these tests. Should I have deactivated it during the entire plugin setup? At what point does one activate it again?
I realize the following is a question for a different section of your blog, but I also cannot get the plugin to recognize the custom css style sheet I copied over (per your instructions elsewhere) into my theme folder; it shows up in my admin editor and is saved to the plugin options, but is not overriding the original. Could these two issues be related?
Thanks again.
Chad,
I just checked:
When W3 Total Cache is activated, it blocks all the required information in both the notification email sent to the admin and in the users area except email and username; when deactivated, it allows all the required information.
When @3 Total Cache is activated, I can reload (Ctrl + F5) the users page and retrieve city, state, country, and IP address, but not First Name and Last Name.
Hi Doug,
I have come across one other user in the past that had a similar problem when using W3 Total Cache, and unfortunately, the issue was directly tied to that plugin. So at this time, the only thing I can really tell you is that if you really need caching, then you’ll likely need to test a different plugin for compatibility, or go without caching. WP-Members is an actively supported plugin, so it is possible that at some point in the future I will discover a way to bypass this, but at this point I don’t have a solution for you.
On the CSS issue, did you set the location of the customized stylesheet in the plugin’s settings? If so, have you verified it is correct? You should be able to copy/paste the URL you have set in the plugin’s settings to your browser and view the customized stylesheet or, depending on your browser’s MIME settings, it might try to download it, either is ok. If it doesn’t show up that way as valid, then you need to recheck your settings. Depending on your level of understanding with PHP and WP, you could also just use wp_enqueue_style in your functions.php file.
Hope that helps.
Chad,
Many thanks for the response.
My previous comment is incorrect: it is only when the W3 Total Cache plugin is completely deactivated that any of the required information shows up.
That said, I will try to figure out which W3 Total Cache option (if it’s a single option rather than the entire plugin) is causing the problem by disabling each in sequence and testing the registration process. I’ll let you know if I find anything helpful.
I resolved the css path issue (thanks) but find — peculiarly — that the mere relocation and redirection of the wp-members css to the theme folder results in layout and font changes in WP Members (e.g., in the login and registration page) without my editing it at all, and yet I still cannot get my actual changes to show up. Could my theme css be overriding parameters simply because of that relocation?
Thanks.
WP loads your theme CSS prior to plugin css that is enqueued, so if anything, the override would be the other way around. If you notice a dramatic difference, I would suspect that what you are actually seeing is the elements with no style applied. I took a look at your site and I think what the problem is that you have a space in your custom theme name (generally not a good practice). If you put the stylesheet location into the settings with the space not URL encoded, that would likely break the script. You need to use the encoded %20 for the space, like: http://www.carolineschelling.com/wp-content/themes/Caroline%20Schelling/wp-members.css
Thanks for responding.
I changed the path and still cannot get it to work. I’ve tried altering the Username and Password fields in the sidebar widget:
#wp-members label { color: #000; }
#wp-members .div_text { padding-top: 4px; }
#wp-members .username, #wp-members .password {
border: 1px solid #1155bb;
background-color:#CC9966;
width:176px;
font:10px verdana,sans-serif;
color: #700000;
but get no change, at least to the widget.
Well… you’re the first one to discover a problem with version 2.7! I’m not sure I would label this a bug, per se, because it’s not really something that programmatically doesn’t work, but it is something that’s going to need to be fixed.
In 2.7, one of the changes was to upgrade the sidebar widget to extend the WP widget class and therefore be multi widget compatible. Prior, once you applied the widget to a sidebar, it was unavailable for other sidebars which, for users of multiple templates and more complex themes, was a problem. The changes eliminated the id# wp-members that was used to apply the styles. I guess I didn’t catch this as the testing usually is done in the very generic TwentyTen theme.
I’ll be looking into how/if to correct this. I usually expect a followup release of fixes to be a couple weeks after the initial release. In the meantime, you can work around this by changing the ID in your custom stylesheet to widget_wpmemwidget-2 (I took a look at your page and this is the ID that is given to this widget instance – if you change things up on your sidebar, this will also change, so keep that in mind). You’ll want to be aware that there may be a fix in the next version that might effect this.
Many thanks for the sleuthing and detailed response.
(1) “widget_wpmemwidget-2″ does indeed solve the widget issue — but am I to assume that if you address this issue in the next release I will (or might) need to revert back to “#wp-members”?
(2) When you say “if you change things up on your sidebar, this will also change, so keep that in mind” are you referring to my possibly changing, e.g., the sidebar parameters or id in my theme css?
(3) Font-size: wp-members widget font-size seems to be defaulting larger than everything else in my sidebar. Is that a theme-css issue or a wp-members css issue?
Thanks again. I do appreciate the support.
(1) Yes, it is possible. But I’m not sure yet until I look a little farther into the issue.
(2) If you move things around on the sidebar, or move the WP-Members widget out and back in again, yes, the number at the end could change. I’m pointing this out as a possibility “just in case”.
(3) That depends – Could be one or the other. Generally, if something is specifically defined in the theme but not in the plugin’s css, then you will have an inherited property, in which case you would need to define that property in the plugin’s stylesheet if you want to override what is being inherited. I find Firebug an indispensable tool for tracking down where CSS properties are coming from when viewing the final product in the browser – it saves a lot of time.
Chad,
Many thanks for the response. I will try to be alert to the widget-id issue when your next update is available and to the widget-id number if I shift the sidebar items (which may happen). I will also try to address the styling issues.
In the meantime, I have experienced a problem with the “Forgot Password” feature. I have an unblocked Members Area and have pasted its URL into the appropriate WP-Members options field.
The text “Forgot?” now appears next to “login” in the widget, but it takes the visitor to the following message:
“The page you requested could not be found.” The URL is:
http://www.carolineschelling.com/members-area/%20%E2%80%8E?a=pwdreset
The text and link
“Forgot password? Click here to reset”
does indeed appear on the Members Area page (albeit partially hidden by the Password field, but that’s presumably a styling issue), but the link gives the user the same could-not-be-found message above.
Can you help?
Many thanks.
Looks like when you pasted the URL into the settings, you added a trailing white space. The plugin should be trimming off that whitespace, but for some reason, that doesn’t seem to be the case here. Delete the extra white space at the end of your Members Area URL and you should be fine.
Thanks for the response.
I noticed that in the URL as well, deleted the spaces, saved, and got the same result. I even tried deleting the / at the end of the URL. Same result. For some reason, the plugin keeps adding the spaces.
BTW: I’ve also noticed it takes 2 clicks to logout rather than one. Is that normal behavior?
The plugin doesn’t add any spaces, it only appends to what is there. I took a look and it seems to be working now, so I’m not sure if you changed something since or if this might have something to do with the caching (where changes would not necessarily show up immediately). Also, on the logout, no – one click logs the users out. Again, that might have something to do with your caching plugin.
Chad,
Many thanks for your extraordinary patience.
I deactivated W3 Total Cache and manually cleared my cache (Firefox), then reactivated W3 Total Cache:
The Lost Password feature now functions correctly, even with W3 Total Cache activated.
My original problem above (the required information not being included in the applicant’s Users Area or alert-admin email) remains when W3 Total Cache is activated, so I will, as I said, try to go through W3 Total Cache’s options one by one and see if I can identify the problem option. I’ll certainly let you know if I do.
In the meantime, I’ll move on to restyling things in the custom css.
Thank you again for your patience.
Hi there. Im a newbie web programmer. I want to change the form html so that the checkbox will be grouped. I have change it manually by changing the code in the wp-members-dialogs.php. Is there any better way to do this?
I dont mind hacking the code as this website is maintain by me.
See Customizing WP-Members with Pluggable Functions.
Thank Chad.
hi,
i use your script for some time now but i wanted to make it a bit nicer, i am dutch and there was no translation of the script.
i use the plugin CodeStyling Localization for translation, but unfortunatly, i does not translating all the text. if you make an update, i have to translate about 50 words. why are they not seen by the localization plugin?
i found the words in WP-members-dialogs.php like “edit my information” and “Change password” on the settings page. the text “new user registration”
in wp-members-core.php i found ” edit your information”
and in wp-members-register.php i found “sorry, %s is a required field”
and so on, there are more like this. and there is more to find, because i am still not ready.
because i am not well trained in building scripts, i takes me some while to fine it and change. i have to lern all by tril and error
also, something is that the width of the fields is fixed to 630… i have to bring that back to 560 to fit my page. can you make that in % ?
maby, i do something wrong and you can give me a tip to do it better. your script is easy to use and intergrate.. but this are some things to shape it it bit and translate it to an other language
hope you have a tip for me, or you can chage something in the script, so the parts of text will be seen by the localization plugin.
Willem-Jan
I’m not sure I understand your problems on the localization because the examples you gave are all localized. Is it possible that it is because you are using a plugin to manage the .po files? There is a Dutch translation available here, although it is somewhat out of date. You can bring this more up to date using something like Poedit.
As for updating the width, that is a styling concern. You should be making these changes in an external stylesheet rather than directly in the plugin. Any time you make a change in the plugin files, your change will be overwritten when you upgrade. WP-Members makes allowances for this by use of pluggable functions and allowing for outside style customizations.
Thank you for fast response.
i used now the translation form your site, and as you told me, it does not translate the new things. i have seen that POedit sees more than the plugin i use, i is not complete. i will see in to POedit or that has better compability.
if i have a good and complete translation of your plugin, i will give it to you!
the CSS file, i did changed how you told me… work perfect! this was a lack of my knollidge
Willem-Jan
Hi Chad
Thanks again for the plugin. I notced yesterday that I had not been receiving notifications of new user registrations and when I did activate their registration they did not receive an email with password etc. I investigated various things and nothing resolved it. However I rolled back to 2.6.6 and it works again. It there likely I’ve missed out doing something while configuring 2.7?
Thanks
Colin
Hi Colin,
There was really no fundamental change that would make the sending of mail not work from 2.6.6 to 2.7. The fundamental change was the generating of the content of the email. The function calls all remained the same, as does the use of the wp_mail function.
I did have another user note that they were having a problem specifically with the user activation email (which you also noted), and this has been something that in the past, I have a few support issues raised, but I can’t find anything specific that is wrong. I am trying to track down what might be specifically causing this issue as I wonder if there might be some host issue with the mail headers or use of the php mailer (which wp_mail uses).
Long story short, there isn’t a known bug on this end, but I am looking into what might be the commonalities for the users that have reported problems. Could you contact me via the contact form and let me know the location of the site in question and also your host?
Hi,
Great plugin.. just started using WP and love the flexibility of great plugins like yours.
Installed WP-members on 3.3.1 and so far works fine. setup a [members-area] page
which shows up on the menu and works fine.
My question is:
1) how can the members-area menu item only be displayed when a user is
logged in?
2) Will you be adding more shortcodes to do things like create user groups and custom roles?
Donation is coming after I get all this setup! Thank you for the assistance…
Mel
1. This post describes the process for displaying different menus based on login status.
2. I am continually adding new features. While the items you have mentioned may likely be added in the future, I can’t guarantee if or when.
Hope that helps.
Hi! Thanks for making this plugin! I have one problem, though: New people registering for my website aren’t receiving emails with the computer generated passwords. What’s going on? Thanks again!
Check the email tab in the plugin’s settings. Is there content in the messages?
Hi Chad,
Great plugin! I have tested a handful of membership plugins and wp-members is by far the best! I am implementing it now to my site and there is just one thing I would love to do but can’t seem to figure out the way ( if there is any).
From what I understand, when I restrict a post, viewing of comments are restricted as well and I was trying to figure out a way to show the comments only while still restricting the actual content. There is a “Show excerpts” option which does it for excerpts and was wondering if there is a workaround for the comments.
By the way, I still do want to limit new comments to registered users only ( which I believe can be set with the default wp setting).
I have been looking at past comments but couldn’t seem to find a solution. It’ll be great if you can help me out with this. Thank you in advance!
Hi Ken – thanks for your comments. I’m glad you like the plugin.
At this point, the way the comments work is the way the comments work. In the old days of the plugin, there was a code snippet that needed to be added to protect the comments. Overtime, some new WP hooks allowed that to be integrated into the plugin. However, with the new(er) comments template in WP, the entire process is handled in a different way than it used to be. That’s a long way of saying, right now, comments are blocked unless the user is logged in. There isn’t another option in the plugin.
However, in the future, the way that process works will be addressed and I’ll be adding more flexible options to the process. I can’t tell you when that will be, but I can say that it is something that is on the project list.
This is an excellent plugin, thank you for developing and maintaining.
My client would like the reset password link on the login form. (He doesn’t want to make the member mgmt form available.)
What is the most straightforward approach to doing this. I’m on your v. 2.7.0.
There’s not really a straightforward way of separating the two. I’m sure your client has his reasons, but without the members area available the user has no way of updating their information, including changing their password. As a matter of security, the password reset sends a random password to the user’s email address of record. Without the other behaviors of this page, the user would not have the ability to change this to something they could remember.
Hi,
Your plugin is helpful. But i want ask you a problem please help me.
My blog is a music blog, i want show a content ( Review of album, Biography of artist…), and hide the link download of album. How can i do it.
Thanks so much
You can block any content within a post or page by using the status shortcode as follows:
[wp-members status="in"]This is the protected content...[/wp-members]This shortcode and all available shortcodes are listed in the Users Guide.
Note: in your case, this does not prevent someone from using a link once they know it. You are just using the plugin to mask the link. If you want to lock it down further than that, you should restrict the link from being accessed from anything other than the page you have it on (that way they would have to click the link on the page, and have to be logged in to do so). To do that, you should how to use .htaccess to prevent hotlinking.
Hi Your Plugin Is Awesome.
But i have a issue, what if i ant to lock “download links” in my post such that they have to register to download my content.Means it should be like below:
Uploading.com:-
“You Must Be Register/Login To See Download Links”
I Will Be Really Helpfull And Already donated You
Thanks
Regards,
Villatainment
The answer to your question is the same as to Tina (see above)
Hey Chad, again, great plugin … just want to shout out a big THANK YOU for the ‘choose a password’ functionality at registration. That is a great enhancement.
Here’s a challenge for you to think about tomorrow: allow registered members to sign-in with username OR email … not urgent, but like the ‘choose a password’, would be a nice user-friendly enhancement.
Side-note, I modify the code in your sidebar widget to render the login form at the top of our site.
Cheers!
Joe