Community Support Forums — WordPress® ( Users Helping Users ) — 2012-01-04T21:16:36-05:00 http://www.primothemes.com/forums/feed.php?f=36&t=2837 2012-01-04T21:16:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=59714#p59714 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]> Let us know if there's anything else we can help with.

Statistics: Posted by Raam Dev — January 4th, 2012, 9:16 pm


]]>
2012-01-04T21:04:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=59711#p59711 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]> I didnt C + V when I put in some shortcodes, I redid the page and its fixed. Thats, what I get, I generally code everything myself :>
Thanks for your help Raam!!

Statistics: Posted by angelar — January 4th, 2012, 9:04 pm


]]>
2012-01-04T20:55:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=59710#p59710 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]>
angelar wrote:
It is working correctly on the other pages (that are also protected but not in the same way as chosen from a drop down menu in the initial setup for welcome and login pages).


Could you clarify that? Are you saying that s2Member-protected pages that are protected using the s2Member Widget on the edit page/post screen are showing up fine, but core s2Member pages like the Membership Options page and the Login Welcome page are showing the problem with the sidebar?

angelar wrote:
Could I just change the code to the proper way above?


Unfortunately all of that code is generated by WordPress, so there isn't an easy way to just go in and "change it". :( It's better if we figure out what's causing the problem in the first place.

Statistics: Posted by Raam Dev — January 4th, 2012, 8:55 pm


]]>
2012-01-04T19:01:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=59689#p59689 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]>
Raam Dev wrote:
Are you using a different WordPress page template for the Membership Options page? NO - the same as others Can you tell us how your WordPress theme is generating the sidebar? not sure what this means If it's using a non-standard way of generating the sidebar, that could be screwing things up when s2Member protects the page.

A quick test to see if this is theme-related would be to temporarily switch to the default TwentyTen theme.


Hello. Im not sure what the above quote means about generating the sidebar. It is working correctly on the other pages (that are also protected but not in the same way as chosen from a drop down menu in the initial setup for welcome and login pages).

If I switch to the default twentyten theme will that mess up all of my changes to my site? I have been working very hard on this and I dont want to lose anything.

Could I just change the code to the proper way above?

Statistics: Posted by angelar — January 4th, 2012, 7:01 pm


]]>
2012-01-04T18:35:10-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=59684#p59684 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]>
Comparing the source HTML of those two pages, I can see where the problem lies.

Here's the working page:

Code:
<html lang="en-US" dir="ltr">
   <head>
   <body class="page page-id-67 page-template-default custom-background">
      <div id="wrapper" class="hfeed">
         <div id="header">
         <div id="main">
            <div id="container" class="container-page">
            <div id="primary" class="widget-area" role="complementary">
         </div>
         <div id="footer">
      </div>
      <div id="fb-root">
      <script type="text/javascript">
   </body>
</html>


Notice how the primary DIV, which is your sidebar, is inside the main DIV (which is the white area).

Now on the broken page, look where the primary DIV (the sidebar) shows up:

Code:
<html lang="en-US" dir="ltr">
   <head>
   <body class="page page-id-67 page-template-default custom-background">
      <div id="wrapper" class="hfeed">
         <div id="header">
         <div id="main">
         <div id="primary" class="widget-area" role="complementary">
      </div>
      <div id="footer">
      <div id="fb-root">
      <script type="text/javascript">
   </body>
</html>


Now it's outside the main DIV, which is what's making the sidebar appear underneath the main white area.

Are you using a different WordPress page template for the Membership Options page? Can you tell us how your WordPress theme is generating the sidebar? If it's using a non-standard way of generating the sidebar, that could be screwing things up when s2Member protects the page.

A quick test to see if this is theme-related would be to temporarily switch to the default TwentyTen theme.

Statistics: Posted by Raam Dev — January 4th, 2012, 6:35 pm


]]>
2012-01-03T19:33:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=59603#p59603 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]>
s2problem.png

I dont know if you would be willing to look at it from the admin side for me.

Thanks,
Angela

Statistics: Posted by angelar — January 3rd, 2012, 7:33 pm


]]>
2012-01-03T19:25:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=59602#p59602 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]> . I am having a problem with how these 2 pages are being displayed. I am using s2 free version and weaver 2.26 themes (which they say is compatible).

On the login welcome page - http://hawaiiloversonlyclub.com/welcomelogin/ guarded by s2 as loginwelcome
and on the membership options page - http://hawaiiloversonlyclub.com/memopt/ ‎(which is the member option page with s2). My sidebar widgetsare being pushed all the way down to the bottom of the page. It is not happening on any of my other pages that are s2protected, it only seems to be happening with these 2 pages.

it should look like this page - http://hawaiiloversonlyclub.com/hloclub/ and all the pages are set up the same in the theme.

I did view it as a subscriber and it looks fine, could it just be an admin issue?



Any ideas?

Statistics: Posted by angelar — January 3rd, 2012, 7:25 pm


]]>
2011-12-19T11:01:06-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=56922#p56922 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]>
That's pretty good, now it's working.

Thank you so much for your help!

Very nice plugin and excellent support!

Statistics: Posted by sergiobet — December 19th, 2011, 11:01 am


]]>
2011-12-19T10:55:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=56921#p56921 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]> , 10, 2

Please use this updated code sample:
Code:
<?php
add_filter 
("ws_plugin__s2member_login_redirect", "s2_login_redirection", 10, 2);
function s2_login_redirection ($what_s2_says, $vars = array ())
    {
        return (!$vars["user"]->has_cap ("administrator")) ? true
            
: /* Else what s2Member says. */ $what_s2_says;
    }
?>

Statistics: Posted by Jason Caldwell — December 19th, 2011, 10:55 am


]]>
2011-12-19T09:14:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=56916#p56916 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]> I'm accessing as contributor, but I did create the folder over the wrong instalation.
But, I did correct that and try again and received the following message:

Fatal error: Call to a member function has_cap() on a non-object in /home/sergiob3/public_html/dtfc/wp-content/mu-plugins/s2-hacks.php on line 5

Here is the code:

<?php
add_filter ("ws_plugin__s2member_login_redirect", "s2_login_redirection");
function s2_login_redirection ($what_s2_says, $vars = array ())
{
return (!$vars["user"]->has_cap ("administrator")) ? true
: /* Else what s2Member says. */ $what_s2_says;
}
?>

Statistics: Posted by sergiobet — December 19th, 2011, 9:14 am


]]>
2011-12-19T04:33:55-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=56886#p56886 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]> Statistics: Posted by Cristián Lávaque — December 19th, 2011, 4:33 am


]]>
2011-12-18T18:59:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=56851#p56851 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]> Still going to the dashboard

Any suggestion?

Statistics: Posted by sergiobet — December 18th, 2011, 6:59 pm


]]>
2011-12-18T13:56:43-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=56831#p56831 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]> Will keep you posted, thank you very much for your help!

Sergio

Statistics: Posted by sergiobet — December 18th, 2011, 1:56 pm


]]>
2011-12-18T13:34:35-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=56829#p56829 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]>
sergiobet wrote:
In order to adapt the plugin to my needs, I have setup level 1 as a contributor, because I need them not be able to publish content without admin approval.
So if that is the reason, is there any workaround for this?
I see. s2Member will NOT redirect anyone who has the edit_posts Capability.

Yes, there is a workaround.

Create this directory and file please:
/wp-content/mu-plugins/s2-hacks.php
( these are MUST USE plugins, see: http://codex.wordpress.org/Must_Use_Plugins )
Code:
<?php
add_filter 
("ws_plugin__s2member_login_redirect", "s2_login_redirection"102);
function s2_login_redirection ($what_s2_says, $vars = array ())
    {
        return (!$vars["user"]->has_cap ("administrator")) ? true
            
: /* Else what s2Member says. */ $what_s2_says;
    }
?>
* Redirects everyone, except the administrator.

Statistics: Posted by Jason Caldwell — December 18th, 2011, 1:34 pm


]]>
2011-12-18T12:17:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=56821#p56821 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]> So if that is the reason, is there any workaround for this?

Statistics: Posted by sergiobet — December 18th, 2011, 12:17 pm


]]>
2011-12-18T11:56:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=56818#p56818 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]>
sergiobet wrote:
Always after login, the user gets redirected to the Dashboard, not the login welcome page.
Definitely is not working properly
And, where exactly in the Dashboard please? On the Profile page? Or elsewhere? Also, is the account you've tested with a Member? If so, at what Membership Level please?

It sounds like the User/Member who is testing has administrative rights?

Statistics: Posted by Jason Caldwell — December 18th, 2011, 11:56 am


]]>
2011-12-18T11:52:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=56817#p56817 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]> Definitely is not working properly

Statistics: Posted by sergiobet — December 18th, 2011, 11:52 am


]]>
2011-12-18T11:13:18-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=56815#p56815 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]>
sergiobet wrote:
Hi Jason,

I follow your instructions but nothing change, my login welcome page doesn't work.
I did eliminate every single entry with the redirect over wp-login.php and still not working.
I have even installed a redirect login page plugin but neither work.

Do you have any news about this problem?
Regards,
Sergio
Thanks for the follow-up. In your case, what is the symptom exactly please?
What is happening that you can't explain?

Statistics: Posted by Jason Caldwell — December 18th, 2011, 11:13 am


]]>
2011-12-17T11:56:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=56770#p56770 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]>
I follow your instructions but nothing change, my login welcome page doesn't work.
I did eliminate every single entry with the redirect over wp-login.php and still not working.
I have even installed a redirect login page plugin but neither work.

Do you have any news about this problem?
Regards,
Sergio

Statistics: Posted by sergiobet — December 17th, 2011, 11:56 am


]]>
2011-11-17T10:19:05-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=53307#p53307 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]> This forum provides support for s2Member.
Please seek alternative sources for general Windows/FTP assistance.

Possible avenues to explore:
http://www.w3schools.com/
http://filezilla-project.org/contact.php

Statistics: Posted by Jason Caldwell — November 17th, 2011, 10:19 am


]]>
2011-11-17T05:40:38-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=53288#p53288 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]> Statistics: Posted by robertohoughton — November 17th, 2011, 5:40 am


]]>
2011-11-17T05:30:05-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=53286#p53286 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]>
I cant open the php file in filezilla now. I right click, then click on open and nothing. Am I doing this wrong?

Statistics: Posted by robertohoughton — November 17th, 2011, 5:30 am


]]>
2011-11-15T14:25:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=53073#p53073 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]>
robertohoughton wrote:
In firebug, I have gotten rid of the hidden value... do I then copy the edited HTML?


What you change in Firebug is just to test, doesn't affect the actual files in your server. Firebug does show you where the code you're editing actually is, so you can go with your FTP client, look for that file an edit it there, which then will change what happens in the website for everyone.

If you really have no idea how to do this, then I suggest you study a bit more about it or get a freelancer developer's help to achieve it. Try http://jobs.wordpress.net or http://elance.com

I hope that helps. :)

Statistics: Posted by Cristián Lávaque — November 15th, 2011, 2:25 pm


]]>
2011-11-14T14:57:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=52973#p52973 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]>
Thanks,
Robbie

Statistics: Posted by robertohoughton — November 14th, 2011, 2:57 pm


]]>
2011-11-14T14:15:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2837&p=52969#p52969 <![CDATA[Re: Login Welcome Page Conflicts? Watch this video.]]> Statistics: Posted by robertohoughton — November 14th, 2011, 2:15 pm


]]>