Page 1 of 1

Basic question-- can I do this?

PostPosted: June 4th, 2011, 5:45 pm
by cgirl
Hi all-- I've installed the plugin and was going through all the steps and watching the videos, etc, and it occured to me to ask this question:

What I need to do is very basic. I need to password-protect one page of my Wordpress site. That's it.

Users click that one nav link, they're prompted for a login, they enter it correctly and are directed to that page.

Can I do this with this plugin? If so I would appreciate the steps, as this is a very complex plugin and I'm a little lost! Many, many thanks...

Re: Basic question-- can I do this?

PostPosted: June 5th, 2011, 8:33 am
by cgirl
Hey all-- on a deadline and just trying to get an answer for this. Any help is appreciated-- thanks!

Re: Basic question-- can I do this?

PostPosted: June 5th, 2011, 9:50 am
by artEV
Easily done using "Specific post/page access restrictions".
Watch the video on this: http://www.s2member.com/specific-posts-pages-video/

Re: Basic question-- can I do this?

PostPosted: June 5th, 2011, 9:56 am
by candy
Do you need a different password for every user / visitor?

If not, and if one single password will do, why not simply use the Wordpress "protect post/page" integrated feature?
You set a password for that file (page, post) , send the password to the people you want to grant access to that page, and that's it :-)

Sure you can use s2member for that too, the question is if you really need that ...

Re: Basic question-- can I do this?

PostPosted: June 5th, 2011, 9:59 am
by cgirl
Because as far as I can tell, the built-in Wordpress function never logs people out-- so any user of that computer/browswer will be logged in. (I have posted this question on the WP forums for clarification, yet to come: http://wordpress.org/support/topic/pass ... st-2149453)

Can't find a simple way to do this, which is why I'm looking at this plugin!

Re: Basic question-- can I do this?

PostPosted: June 5th, 2011, 12:51 pm
by Cristián Lávaque
I agree that the Specific Page Access Restriction may work for you.

Re: Basic question-- can I do this?

PostPosted: June 5th, 2011, 12:56 pm
by candy
try to punch this somehwere in your theme:

Code: Select all
<a href="<?php if (is_user_logged_in()){ echo wp_logout_url();} ?>"> LOGOUT</a>


Or just follow Cristian's link, he always know better :-)

Re: Basic question-- can I do this?

PostPosted: June 5th, 2011, 1:54 pm
by Cristián Lávaque
candy wrote:try to punch this somehwere in your theme:


You seem to have replied in the wrong thread. :)

Maybe it was this one you wanted to reply in? viewtopic.php?f=4&t=10034

Re: Basic question-- can I do this?

PostPosted: June 6th, 2011, 10:28 am
by cgirl
Cristián Lávaque wrote:I agree that the Specific Page Access Restriction may work for you.


Hey Cristian-- thanks for your reply-- what exactly do you mean by "Specific Page Access Restriction"? Is that a WP or plugin thing? See my reply above for the problem with password-protecting a page through WP (the user is never logged out). Do you know of a way to automatically log users out when they close the window or browser? Thanks!!

Re: Basic question-- can I do this?

PostPosted: June 6th, 2011, 1:50 pm
by Cristián Lávaque
It's explained quite well in this video http://www.s2member.com/specific-posts-pages-video/

Let us know if you have questions. :)

Re: Basic question-- can I do this?

PostPosted: June 7th, 2011, 12:20 am
by cgirl
Cristián Lávaque wrote:It's explained quite well in this video http://www.s2member.com/specific-posts-pages-video/

Let us know if you have questions. :)


Turns out, I do have questions :)

Followed the video (slightly different steps now, with the updated plugin),but then it gets to a point where there's PayPal integration... I don't have any paid members on my site, I just want to put one page behind a password. So I did the steps in "Restriction Options" but then what?

Help? Thanks...

Re: Basic question-- can I do this?

PostPosted: June 7th, 2011, 11:34 am
by Cristián Lávaque
Ah, I see, you don't want to sell it, just required that they enter a password... Well, then instead of Specific Page, I guess that Page Restriction set at Level 0 (logged in, even free accounts) wil work well. If the person wants to see that page logged out, he'll be taken to the Membership Options Page where you can tell him to login or register to view the page.

Re: Basic question-- can I do this?

PostPosted: June 7th, 2011, 2:28 pm
by cgirl
Thanks-- I set the Page Restriction, and set the Login Welcome Page. But something's still missing.

When a user comes to the "Wholesale" page, I want there to be a login box/prompt where they enter the password they've already been given. I don't need any "registration" options there; I want to keep this as simple as possible and have one password for all wholesalers. So, can I set one single password for the "Wholesale" area? If so, where do I set that, and how do I protect that page/area? At this point the "Wholesale" area still doesn't seem to be protected...

Thanks again, really appreciate the help...

Re: Basic question-- can I do this?

PostPosted: June 7th, 2011, 2:31 pm
by Cristián Lávaque
If you try the protected page from your Admin account, you'll never be stopped. You have to log out to see how it behaves for a visitor.

The Page Protection set at Level 0 will show the page to those logged in, which implies they create an account in your blog. A single password for all users to see that page is not something s2Member does, probably because it's something WordPress already does.

Re: Basic question-- can I do this?

PostPosted: June 7th, 2011, 2:48 pm
by cgirl
More information:

- I set the Membership Options page to be the "Wholesale" page (so users go there to login)

- I set the Login Welcome Page to be the page users should be directed to after they login

- I set "allow open registration" to yes

However there's still no protection on the Wholesale page... what am I missing?? And, is it possible to pre-set one password for that section, so I can give that to users, instead of having them register?

Re: Basic question-- can I do this?

PostPosted: June 7th, 2011, 2:53 pm
by cgirl
Thanks-- I did logout and there's still no protection on the Wholesale page.

I understand now that users will have to regiser on the site-- that's fine.

But I can't seem to get the protection working on that one page...

Re: Basic question-- can I do this?

PostPosted: June 7th, 2011, 5:43 pm
by Cristián Lávaque
Just as the Login Welcome Page will always be protected at Level 0, the Membership Options Page will never be protected. This is because that's the page people without any access should always be able to see when redirected there. I hope that helps understand it better. :)