Shortcodes for email messages:
- [blogname] – the Site Title you have specified under Settings > General
- [username]
- [password]
- [reglink] – a link to the page the user registered on (useful to return a user directly to the content they registered to view)
- [members-area] – the members area where, among other things, the user can change their random password to whatever they want
These shortcodes are only available in the admin notification email:
- [email] – the user’s email address
- [fields] – a list of any of the registration fields
- [user-ip] – the user’s IP address when they registered
- [activate-user] -a link to the user profile page so they can be activated (used if moderating registration)
Page Shortcodes:
These page shortcodes run various optional pages for the plugin:
- [wp-members page="members-area"] – creates a page where a logged in user can update their registration information or change a password, and a logged out user can reset a forgotten password.
- [wp-members page="register"] – creates a page specifically for registration.
- [wp-members page="login"] – creates a page specifically for logging in.
Status Shortcodes:
The status shortcodes determine whether content should be shown based on the user’s login status.
- [wp-members status="in"]Content to display if user is logged in[/wp-members]
- [wp-members status="out"]Content to display if user is logged out[/wp-members]

Hey Chad, When I Putting The Code “[wp-members page="register"] It Doesn’t Work! Like Here : | And Also, The Log-In Page, Doesn’t Work Also! Here : | Will You Help Me? Please?
Is it possible you have something typed incorrectly?
Almost got me…don’t go there!
Viruses galore!
Thanks Roger. I checked the site with Sucuri (http://sitecheck.sucuri.net/results/alecbelievers.co.cc/alecbelievers-register/) and it is infected. Michael – you’ll need to clean up your site first.
Hi … thnks for the nice plugin.
I have set “users must be logged in to comment”. Now there is a link below post/page that says “you must be loggedin to comment” and clicking this link takes to backend login page of wordpress. I need users to login/register through the page created by me using this plugin’s shortcode.
I know this can be done by editing template files and creating a link to my register page but would appreciate if the plugin takes care of this automatically.
thnks and regards
There’s not really a way to do that from within the plugin. It must be changed at the template level.
How come when I use [password] in an e-mail, it doesn’t show up when being delivered to the user? Is this a known bug?
If you have set up the plugin to use user defined passwords AND moderated registration, you cannot send the password when the user is approved. If that is the combination of settings you have set up, and you want to send the user a copy of their password (which is not a requirement, since they are choosing it), you have to do it in the welcome email and not the user is approved email. The default email content does not reflect this because that is not the default install of the plugin.
If that needs clarification, or you have another combinations of settings, let me know.
Great plugin, works very well.
Just wondering if there is anyway to show certain information to members based on their role. For example if a “Subscriber” is signed in, they can see a list of posts, but if an “Administrator” is logged in they can see several paragraphs of text?
Thanks!
Hi
i am using the short code [wp-members status="in"] to hide content from users who are not logged in. But its not working. Its applied on an internal page form that i have designed and i want that to hide it from the user till he does not login into his account.
Do you have the closing tag with that ( [wp-members status="in"] logged in content here… [/wp-members] )? Are there any additional shortcodes on the page? What version of WP-Members are you using?
Your plugin is awesome and had a great help ……thank u……..
On my WP Member login widget my “forgot password” link is not working and when they click it it redirects people to a registration page that is nonexistent. Where do I change the forget password option?
The forgot password link is generated from the URL that is set in the plugin options for the members area page, so if it is not working, it is quite likely that what ever is set for that setting is incorrect. This page in the User Guide discusses all of these settings: http://rocketgeek.com/plugins/wp-members/users-guide/plugin-settings/options/ see the section for Members Area URL.
Hello there !
I have a members page with a navigation bar and a widget for displaying status, my members page is using a template file for the layout.
With the template selected to my custom template the plugin is not restricting any content from the page, but if a switch back to default it works.
Can you please help me how I can use this with custom template pages.
Regards,
Abahy.
This Plugin is awsome to use, As i am web developer and i used this in number of my websites. And its provide me great Help .
Thanks SO Much
Sachin
I added custom profile fields for the users of the site and when I go to view their profile, it isn’t showing the custom fields for the information I requested. Any idea why? I’ve been researching for a few days.
Isn’t showing the fields? Or it isn’t showing data in the fields?
Are the fields set as required fields in the plugin field manager?
Are you using W3 Total Cache?
The users are able to input the information into the fields when they register but it is not showing up on the Members page or on their individual profiles when you click on their names. Only the original fields (name, website, profile, activity) are showing.
I have display checked and the fields are not set as required because I am not requiring that all people have a twitter account or amazon wishlist to signup.
I don’t know what W3 Total Cache is so I’m probably not using it.
Any fields that are not WP native fields will be included at the bottom of the user profile. If there is not data in there and you are not using a caching plugin, then the next question would be are you sure that users are putting data into those fields, since they are not required? Have you tested the form from the front end and determined that data is not being captured?
The plugin was working perfect till some time back. A problem I have noticed recetly is that the mail to admin does not contain the data in [fields] even though the new user has filled and submitted the information. Also the [reglink] is missing from the user email. Kindly help!
I am using W3 Total cache, any link with the problem?
I have the box checked to ‘ Hold new registrations for admin approval’
Which admin is supposed to get notified of these new registrations? The wordpress admin or the email address that is connected through WP-members?
Right now I am not getting any email notification of a new member registering…please help!
http://www.cookcountyadvertiser.com/
It goes to the address you have specified in the WP settings. If you need it to be some other address (or addresses), there is a filter hook for the notification email address (see: http://rocketgeek.com/plugins/wp-members/users-guide/filter-hooks/wpmem_notify_addr/)
I’m not quite clear what the plugin-settings/options page (which you referred Chad to in a reply above) is saying under, for example, Members Area URL. When it says “allows you to establish a Members Settings Area…” and I specify a URL, does this mean that WP-members will then create the page at that URL ? Or do I need to create a page somehow and give WP-members the URL of that? If the latter, where is the bit of manual that tells me how to create such a page ?
Oh, I see – I have to create a normal wordpress page and include the “page shortcode” in it, then record the URL that wordpress uses for that page. It would help if that was made a bit more explicit in your documentation – there’s very little you can take as “read” for new users. I suppose making them google for what “page shortcode” might mean does result in their gaining a better understanding quite quickly
I understand that the full users guide is a bit verbose, but the setup is also described in the Quick Start Guide. I’m not sure how much more explicit I can make it.
Verbose is good! But I’d got here through a web search or a useful link and hadn’t actually found the full user guide or quick start guide when I first posted – typical programmer assuming I could figure everything out by just playing. However, in *this* page it says “These page shortcodes run various optional pages for the plugin” and it is far from clear to a new user what that means… when he doesn’t understand what you mean by “page shortcode”, or indeed “run optional pages”. It was not clear that I had to create my own pages and use these shortcodes within them. It would be nice to make that clearer on this post, however explicit the user guide might be..
Real useful plugin, BTW, although I found I had to add wordpress-access-control as well, since I wanted hidden content to be completely invisible to non-logged-in users, rather than the title and part (or all if I didn’t use ‘more’) of the post being visible. Less than 2% of my pages are ever going to be “members only”, but for those that are, I don’t want non-members (or anyone not logged in) to have even the slightest clue that the pages exist.
Thanks, Andy
Hi,
http://www.lmnobroker.com after filling all data on sign-up page when I click on submit, one pop-up comes where I have to confirm the agreement. I want to change content of that form. Can you please advice that from where I can do that?
Thanks
Vrun
I had a look at your site and while I see that you are using WP-Members, I have no idea where that pop-up is coming from. It is not part of the WP-Members plugin.
Hai,
I am a webmaster to 20 wordpress sites and using your WP Members plugin. But I am not finding any option to use photo/image i.e. alternative to Gravatar. give some idea to add a custom field to define images for members or registrants.
Please reply ASAP.
There is not presently an option for a gravatar alternative.
Thanks Chad, for the response… But still I am waiting for that from you guys…
How can I make the login and registration forms show in a pop-up or, better yet, a lightbox? Also, is there a log-out shortcode?
How to remove
Forgot password? Click here to reset
on login page?
Thanks
Clear the members area URL in the plugin options.
I installed and activated the plug-in. But I don’t see it doing anything on my site. I logged out of my admin page and was still able to access content. I went to my site with my PHone and none of the content was blocked.
It is necessary to enter shortcode somewhere?
That description would tend to indicate that you’ve not followed the installation instructions (most likely you are looking at posts without using the ‘more’ tag, or you are looking at pages without having set the plugin to block pages). I would suggest beginning with the installation instructions (http://wordpress.org/extend/plugins/wp-members/installation/) and then reviewing the plugin’s support documentation starting with the Quick Start Guide (http://rocketgeek.com/plugins/wp-members/).
Hi Chad,
I really like your plugin and am using it on my website.
There is a slight problem though!
All the posts are restricted to logged in members. However, I find that search engine, esp Google throws up my admin username and Author Page and all the posts can be viewed by anyone following that link. For eg. mysite.com/author/admin username/page/16/ without the need to login.
Can you please suggest a solution to this problem.
Thanks
Are you using excerpts in posts and/or the ‘more’ tag in post content? If not, any archive page (which an author page is) will show full posts (see the first point under “locking down your site” in the install information: http://wordpress.org/extend/plugins/wp-members/installation/)
i have one query i want to check that there must be Upper caase letters Lower case letters as well as special character in password so how can i do that
There is a tutorial for rocketgeek.com premium members on how to do that here: http://rocketgeek.com/filter-hooks/create-a-rule-for-updated-passwords-to-meet-certain-requirements/
Hi there, love the plugin. Thanks so much for sharing. Just one question, is there a shortcode to grab the user’s sign up/register date?
Thanks!
There is a field shortcode that will display various registration fields for a user: http://rocketgeek.com/plugins/wp-members/users-guide/shortcodes/field-shortcodes/ “user_registered” would be the parameter. If you need this behind the scenes, however, you would want to extract that with get_userdata (http://codex.wordpress.org/Function_Reference/get_userdata)
Thanks Chad. I have another query. I want to integrate my website with a payment gateway. It seems WP Members is not compatible with CCAvenue payment gateway, which is the most popular one for India. Paypal is unsuitable for India, as there is no option to receive payment from within India. Could you please suggest a suitable payment gateway which is compatible with WP Members?
At present, there is only a PayPal option (this is a premium add-on). I’ll probably extend that to include other gateways at some point, but that’s a ways off in development.
Please let me know if you’re looking for a writer for your blog. You have some really great articles and I feel I would be a good asset. If you ever want to take some of the load off, I’d absolutely love to write some content for your blog in exchange for a link back to mine.
Please shoot me an e-mail if interested. Thank you!
Hi,
First of all: great plugin, thank you, I surely will join the club.
How to configure it, or posts directly, to see on the right side of the title which post is free and which is for members only?
Merry Christmas!
Maciek