PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Basic question-- can I do this?

s2Member Plugin. A Membership plugin for WordPress®.

Basic question-- can I do this?

Postby cgirl » June 4th, 2011, 5:45 pm

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...
User avatar
cgirl
Registered User
Registered User
 
Posts: 8
Joined: June 4, 2011

Re: Basic question-- can I do this?

Postby cgirl » June 5th, 2011, 8:33 am

Hey all-- on a deadline and just trying to get an answer for this. Any help is appreciated-- thanks!
User avatar
cgirl
Registered User
Registered User
 
Posts: 8
Joined: June 4, 2011

Re: Basic question-- can I do this?

Postby artEV » June 5th, 2011, 9:50 am

Easily done using "Specific post/page access restrictions".
Watch the video on this: http://www.s2member.com/specific-posts-pages-video/
User avatar
artEV
Experienced User
Experienced User
 
Posts: 32
Joined: April 26, 2011

Re: Basic question-- can I do this?

Postby candy » June 5th, 2011, 9:56 am

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 ...
User avatar
candy
Registered User
Registered User
 
Posts: 102
Joined: November 16, 2010

Re: Basic question-- can I do this?

Postby cgirl » June 5th, 2011, 9:59 am

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!
User avatar
cgirl
Registered User
Registered User
 
Posts: 8
Joined: June 4, 2011

Re: Basic question-- can I do this?

Postby Cristián Lávaque » June 5th, 2011, 12:51 pm

I agree that the Specific Page Access Restriction may work for you.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Basic question-- can I do this?

Postby candy » June 5th, 2011, 12:56 pm

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 :-)
User avatar
candy
Registered User
Registered User
 
Posts: 102
Joined: November 16, 2010

Re: Basic question-- can I do this?

Postby Cristián Lávaque » June 5th, 2011, 1:54 pm

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
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Basic question-- can I do this?

Postby cgirl » June 6th, 2011, 10:28 am

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!!
User avatar
cgirl
Registered User
Registered User
 
Posts: 8
Joined: June 4, 2011

Re: Basic question-- can I do this?

Postby Cristián Lávaque » June 6th, 2011, 1:50 pm

It's explained quite well in this video http://www.s2member.com/specific-posts-pages-video/

Let us know if you have questions. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Basic question-- can I do this?

Postby cgirl » June 7th, 2011, 12:20 am

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...
User avatar
cgirl
Registered User
Registered User
 
Posts: 8
Joined: June 4, 2011

Re: Basic question-- can I do this?

Postby Cristián Lávaque » June 7th, 2011, 11:34 am

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.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Basic question-- can I do this?

Postby cgirl » June 7th, 2011, 2:28 pm

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...
User avatar
cgirl
Registered User
Registered User
 
Posts: 8
Joined: June 4, 2011

Re: Basic question-- can I do this?

Postby Cristián Lávaque » June 7th, 2011, 2:31 pm

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.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Basic question-- can I do this?

Postby cgirl » June 7th, 2011, 2:48 pm

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?
User avatar
cgirl
Registered User
Registered User
 
Posts: 8
Joined: June 4, 2011

Re: Basic question-- can I do this?

Postby cgirl » June 7th, 2011, 2:53 pm

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...
User avatar
cgirl
Registered User
Registered User
 
Posts: 8
Joined: June 4, 2011

Re: Basic question-- can I do this?

Postby Cristián Lávaque » June 7th, 2011, 5:43 pm

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. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot] and 2 guests

cron