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™

Cannot get members to membership welcome page

s2Member Plugin. A Membership plugin for WordPress®.

Cannot get members to membership welcome page

Postby kiawah1 » March 16th, 2011, 11:48 am

I installed S2 on a client's website. Followed all the directions and set up everything. I should say that I am using Shopper Press for my theme. I am still testing this for my client and when I setup a user with a level 2 access, after I login (with my new user id), it keeps bringing me back to the Membership options page and not the welcome page. I know that some users had this issue because of a redirect that was setup, but I have no redirect. Can someone please tell me what I need to do to get this to work? I am not very comfortable with php so I need some easy to instructions on how to check and fix this. I did try changing the theme and that did not help at all.

I love the plugin but need help getting this to work.

Thank you.
User avatar
kiawah1
Registered User
Registered User
 
Posts: 8
Joined: March 16, 2011

Re: Cannot get members to membership welcome page

Postby Cristián Lávaque » March 16th, 2011, 12:20 pm

Hi! I'll try to help you solve it.

  • Does the same happen for accounts set at other levels?
  • In your login page's source code, did you search for a hidden redirection field?
  • Did you select the desired login welcome page in WP Admin -> s2Member -> General Options -> Login Welcome Page?
  • Did you use a Special Redirection URL there?
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: Cannot get members to membership welcome page

Postby kiawah1 » March 16th, 2011, 7:23 pm

Hi-

Yes this happens at all levels (only using 1,2 and 3)

What source code do I need to look at? Do I look at wp-login? Or should I look for my theme's login form? Or do you mean when I am on my site, viewing the course code for that login area? I do think that my current theme is causing this to not work but am unsure what lines of code to look for.

Yes I selected the correct login welcome page and did not use a special redirection url.

Thanks for your help.
User avatar
kiawah1
Registered User
Registered User
 
Posts: 8
Joined: March 16, 2011

Re: Cannot get members to membership welcome page

Postby Cristián Lávaque » March 16th, 2011, 7:33 pm

kiawah1 wrote:I do think that my current theme is causing this to not work but am unsure what lines of code to look for.


Got it. What theme is it?

Could you try changing your theme back to the default TwentyTen and try logging in to see if that solves the welcome page problem? If so, then you'd be sure it's the theme.
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: Cannot get members to membership welcome page

Postby kiawah1 » March 16th, 2011, 7:40 pm

I did change it to twenty ten and it still did not work.
User avatar
kiawah1
Registered User
Registered User
 
Posts: 8
Joined: March 16, 2011

Re: Cannot get members to membership welcome page

Postby Cristián Lávaque » March 16th, 2011, 8:03 pm

OK...

Try disabling other plugins until it works. This may help you find the problem. If you do, please report back so we can have a closer look. It might be something we can help you with; making it possible for the two plugins to co-exist.
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: Cannot get members to membership welcome page

Postby kiawah1 » March 17th, 2011, 8:59 am

Hi- I tried the different themes, disabled plugins and this still does not work. I am using Shopper Press for my theme which when I did change it to twenty ten, brought me to the S2 login screen but again bumped me to the Membership options page.
User avatar
kiawah1
Registered User
Registered User
 
Posts: 8
Joined: March 16, 2011

Re: Cannot get members to membership welcome page

Postby Cristián Lávaque » March 17th, 2011, 12:18 pm

Got it.

OK, let's take a look at how you set up the access protection for that content. Could you show me screenshots of every panel where you set a certain access restriction? Access restrictions per level for posts, pages, tags, categorys or URIs; or access restriction for unique pages or posts; or custom capabilities.
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: Cannot get members to membership welcome page

Postby kiawah1 » March 17th, 2011, 4:39 pm

Hi-

Post Level Access - none
Page Level Access - see attachment

Tag Access - none
Category access - none
Unique/Custom - none

Thanks for trying to help with this. I am hoping that a fresh set of eyes will find something.
Attachments
tennis.docx
(265.68 KiB) Downloaded 20 times
User avatar
kiawah1
Registered User
Registered User
 
Posts: 8
Joined: March 16, 2011

Re: Cannot get members to membership welcome page

Postby Jason Caldwell » March 19th, 2011, 2:34 am

Thanks for reporting this important issue.
~and thank you for bringing this to my attention Cristián.

So everything in your configuration sounds good. I was surprised to here that reverting to the default WordPress theme and removing all other plugins from the equation has not produced any positive result.

One way to see what is actually going on, is to look in the address bar of your Membership Options page. Whenever s2Member redirects you to the Membership Options Page, it also includes details in the ?query string of the URL about why it forced the redirection. So this would be a good place to start analyzing what is actually causing s2Member to act funny on your installation.

From the documentation ( Membership Options Page Variables ):
Code: Select all
Membership Options Page Variables:

At the core of s2Member, is it's ability to protect content ( i.e. Posts, Pages, Tags, Categories, URI word fragments, etc ). Whenever a public User, or even an existing Member attempts to access an area of your site that is unavailable to them; either because they are not logged-in, not a paying Member at all; or maybe they are logged-in, but they don't have access to content you've protected at a higher Membership Level; — s2Member will always redirect these un-authenticated requests to your Membership Options Page. So your Membership Options Page is a key element of your site. It serves as the focal point of your s2Member installation.

Understanding this, it becomes important for s2Member to provide information about what the User/Member was attempting to access ( before they were redirected to the Membership Options Page ). This is where s2Member's MOP Vars come in ( i.e. Membership Options Page Variables ). Whenever s2Member redirects a User/Member to your Membership Options Page, it will include these important MOP Variables in the query string of the URL. These Variables can be used to provide more informative messages; or even to provide a different set of Membership Options ( i.e. Payment Buttons ), based on what a User/Member was attempting to access.
* Further details available in your Dashboard, under: s2Member -> API Scripting -> Membership Options Page Variables.



So here are some things I would check on.

1. After you're redirected to your Membership Options Page, what does the full URL ( including all query string variables ) look like? Does it provide you with any indication as to why you don't have access?

2. Are you really logged in so that s2Member can recognize your Access Level?
Please read this VERY important article that talks about the difference between links with the www. prefix, and without. viewtopic.php?f=36&t=1066 ( this gets a lot of people )

3. Are cookies actually being set in your browser? Is WordPress® recognizing you as a logged-in Member?
Here is one way to test. Pop this Shortcode into a Page:
Code: Select all
[s2Get constant="S2MEMBER_CURRENT_USER_ACCESS_LEVEL" /]


If nothing gives, please email me a
Dashboard login through this form and I'll have a look for you.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Cannot get members to membership welcome page

Postby kiawah1 » March 21st, 2011, 8:27 am

Jason-
Thanks for your help. The issue was that I had some links that did not match the way the site was originally setup. Once I corrected those, it is now working. Thanks so much!
User avatar
kiawah1
Registered User
Registered User
 
Posts: 8
Joined: March 16, 2011

Re: Cannot get members to membership welcome page

Postby Cristián Lávaque » March 21st, 2011, 12:06 pm

It's great that you solved the issue! Thanks for reporting back. :)

Can I ask you a favor? Would you go over to WordPress.org http://wordpress.org/extend/plugins/s2member/ and rank s2Member as well as report that your versions of WP and s2M are compatible? Thanks! ;)
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: Cannot get members to membership welcome page

Postby Gayatriom » March 22nd, 2011, 11:25 am

I am suddenly having this issue, but only for free members.
My login welcome page redirects to the memership options page.

This is how it looks.
http://talentedtenthnetwork.com/subscri ... evel_req=0

Any thoughts?
User avatar
Gayatriom
Registered User
Registered User
 
Posts: 21
Joined: January 28, 2011

Re: Cannot get members to membership welcome page

Postby Gayatriom » March 22nd, 2011, 11:28 am

its working.
had changed the http:// to www and so it messed everything up.
User avatar
Gayatriom
Registered User
Registered User
 
Posts: 21
Joined: January 28, 2011

Re: Cannot get members to membership welcome page

Postby Cristián Lávaque » March 22nd, 2011, 12:12 pm

Glad you sorted it out. :)
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: Yahoo [Bot] and 2 guests

cron