Community Support Forums — WordPress® ( Users Helping Users ) — 2011-05-11T19:22:04-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=6347 2011-05-11T19:22:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6347&p=14659#p14659 <![CDATA[Re: Login Welcome Page Bug]]> Statistics: Posted by wesleysoccer — May 11th, 2011, 7:22 pm


]]>
2011-05-11T17:51:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6347&p=14651#p14651 <![CDATA[Re: Login Welcome Page Bug]]> theme to use a custom capability levels 0 to 4 (current_user_can(capability)) then the admin will not be able to see it.

Will not work
current_user_can(access_s2member_level0) or 1, 2, 3, 4

Will Work
is_user_logged_in

You can use multiple Conditionals && is_admin() or is_super_admin

If you are not using any of the above directly in your theme then create another admin user and try to log in and see if your see the changes.

If you are getting a full white page then you might want to check some pages including your .htaccess
Another, if permalinks are used, then you might want to hit the Save Changes button couple of times..it might just be a small hiccup

Sam

Statistics: Posted by drbyte — May 11th, 2011, 5:51 pm


]]>
2011-05-11T12:33:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6347&p=14637#p14637 <![CDATA[Re: Login Welcome Page Bug]]> Statistics: Posted by Cristián Lávaque — May 11th, 2011, 12:33 pm


]]>
2011-05-11T12:10:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6347&p=14635#p14635 <![CDATA[Re: Login Welcome Page Bug]]> Statistics: Posted by wesleysoccer — May 11th, 2011, 12:10 pm


]]>
2011-05-11T11:52:50-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6347&p=14632#p14632 <![CDATA[Re: Login Welcome Page Bug]]> Statistics: Posted by Cristián Lávaque — May 11th, 2011, 11:52 am


]]>
2011-05-11T08:34:01-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6347&p=14624#p14624 <![CDATA[Re: Login Welcome Page Bug]]> Statistics: Posted by wesleysoccer — May 11th, 2011, 8:34 am


]]>
2011-05-10T18:13:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6347&p=14588#p14588 <![CDATA[Re: Login Welcome Page Bug]]> Statistics: Posted by wesleysoccer — May 10th, 2011, 6:13 pm


]]>
2011-05-10T17:16:44-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6347&p=14582#p14582 <![CDATA[Re: Login Welcome Page Bug]]>
Edit: Nevermind, the deafult page works well for an invalid URL, but not for invalid replacement code values cause they could still be in a valid URL (e.g. http://example.com/?optional=%%replacement_code%%)

Statistics: Posted by Cristián Lávaque — May 10th, 2011, 5:16 pm


]]>
2011-05-10T17:13:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6347&p=14580#p14580 <![CDATA[Re: Login Welcome Page Bug]]>
Yeah, we don't want it to happen unknowingly, for sure. :)

Instead of having the routime prevent, it could just warn when saving the new setting, then let the admin decide if he changes or leaves it. Would this be more difficult?

Statistics: Posted by Cristián Lávaque — May 10th, 2011, 5:13 pm


]]>
2011-05-10T17:08:54-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6347&p=14579#p14579 <![CDATA[Re: Login Welcome Page Bug]]> Statistics: Posted by Jason Caldwell — May 10th, 2011, 5:08 pm


]]>
2011-05-10T17:03:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6347&p=14576#p14576 <![CDATA[Re: Login Welcome Page Bug]]>
I don't know if someone will want to protect the homepage, though, so I would not make it impossible.

Statistics: Posted by Cristián Lávaque — May 10th, 2011, 5:03 pm


]]>
2011-05-10T16:40:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6347&p=14565#p14565 <![CDATA[Re: Login Welcome Page Bug]]> / ) mark.

Statistics: Posted by Jason Caldwell — May 10th, 2011, 4:40 pm


]]>
2011-05-10T16:32:38-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6347&p=14563#p14563 <![CDATA[Re: Login Welcome Page Bug]]> Statistics: Posted by Cristián Lávaque — May 10th, 2011, 4:32 pm


]]>
2011-05-10T16:25:58-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6347&p=14562#p14562 <![CDATA[Re: Login Welcome Page Bug]]> Thanks for reporting this important issue.
~ and thanks for bringing this to my attention Cristián.

Yes, this is a bug ( of sorts ). s2Member will attempt to resolve the Replacement Codes in your Special Redirection URL. If the Redirection URL contains only one Replacement Code for %%current_user_login%% and that Replacement Code resolves to being empty, it makes s2Member think the Home Page is the Login Welcome Page; and thus, s2Member protects it.

@TODO: default %%current_user_login%% and other Replacement Codes to generic values when they would otherwise resolve to null? Cristián, do you have any thoughts on this?

Statistics: Posted by Jason Caldwell — May 10th, 2011, 4:25 pm


]]>
2011-05-07T21:05:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6347&p=14390#p14390 <![CDATA[Re: Login Welcome Page Bug]]>

You posted about the gallery link in another thread, let's keep it there. I remember answering it, but if I missed something, please remind me or give me more details. Thanks!

Statistics: Posted by Cristián Lávaque — May 7th, 2011, 9:05 pm


]]>
2011-05-07T19:52:34-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6347&p=14388#p14388 <![CDATA[Re: Login Welcome Page Bug]]> http://www.example.com/user/%%current_user_login%% - The video does not state this?

Next Question: At the Current User Login Welcome Page, I need to add a link to a second page just for that current logged in user...how can I link to that page using the current_user_login and custom capabilities?

For example the second page is a gallery page...How would I link to that page?

Statistics: Posted by wesleysoccer — May 7th, 2011, 7:52 pm


]]>
2011-05-07T18:00:46-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6347&p=14386#p14386 <![CDATA[Re: Login Welcome Page Bug]]> http://www.vinitasalomeblog.com/demo/%%current_user_login%%)...Plus I can't change my portal pages to /user/username (not able to do so)... Let me know,

please inform the developer of the issue...I will test and get right back but right now there is an issue...need a fix.

Statistics: Posted by wesleysoccer — May 7th, 2011, 6:00 pm


]]>
2011-05-07T14:50:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6347&p=14371#p14371 <![CDATA[Re: Login Welcome Page Bug]]>
I wonder if s2Member takes http://www.example.com as a possible Login Welcome Page too in case the replacement code is empty... That would explain the sending to the Membership Options Page, since the Login Welcome one is protected by default.

Could you change your portal so that instead of /username it's /user/username and see if that fixes your homepage problem?

Statistics: Posted by Cristián Lávaque — May 7th, 2011, 2:50 pm


]]>
2011-05-07T13:27:30-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6347&p=14362#p14362 <![CDATA[Login Welcome Page Bug]]> http://www.example.com/%%current_user_login%% and set your Members options page to any page, you will not be able to access your homepage when not logged in...I've tested for over two hours with different themes and no plugins running but S2member...I can send you a demo if you want...would love a fix :) Thanks.

This was without any plugins installed and using the default wp twenty ten theme and using the latest version of wp 3.1.2

url: http://www.estore.muntzdesigns.com - demo site

Any help would be awesome!

Statistics: Posted by wesleysoccer — May 7th, 2011, 1:27 pm


]]>