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™

Login Welcome Page Conflicts? Watch this video.

Common Questions/Problems/Tips. Posted by Administrators & Support Reps.

Login Welcome Page Conflicts? Watch this video.

Postby Jason Caldwell » March 27th, 2011, 5:13 am

VideoLogin Welcome Page not working as expected?
Please take a look at this video.

Please click here to download/view the attached MP4 video file:
http://www.s2member.com/wp-content/uplo ... flicts.mp4

~ 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: Login Welcome Page Conflicts? Watch this video.

Postby robertohoughton » November 4th, 2011, 3:24 pm

Hi,

I can log initially after doing this... then I cant. I then go back into firebug and the value is still there!

How to I save the deleted value?

Thanks in advance,
Rob Houghton
User avatar
robertohoughton
Registered User
Registered User
 
Posts: 8
Joined: November 4, 2011

Re: Login Welcome Page Conflicts? Watch this video.

Postby Jason Caldwell » November 4th, 2011, 6:29 pm

Thanks for the follow-up.
Where are you deleting the value at exactly? On your computer? If so, be sure to upload the files via FTP once you've saved changes. Otherwise, let me know where you're editing the file and we'll help you out.
~ 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: Login Welcome Page Conflicts? Watch this video.

Postby robertohoughton » November 5th, 2011, 6:30 pm

Thanks for the reply Jason,

I just followed exactly as in the video.

"If so, be sure to upload the files via FTP once you've saved changes."

I didnt see or hear anything about this in the video sorry.

Is there a tutorial or something on how to do this?

Rob Houghton
User avatar
robertohoughton
Registered User
Registered User
 
Posts: 8
Joined: November 4, 2011

Re: Login Welcome Page Conflicts? Watch this video.

Postby Eduan » November 5th, 2011, 6:43 pm

Jason gives a short tutorial near the start of this video:
http://www.s2member.com/file-download-options-video/
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Login Welcome Page Conflicts? Watch this video.

Postby robertohoughton » November 7th, 2011, 5:30 am

Thanks Eduan but what he is talking about in this video makes zero sense to me... I dont understand any of it.

I just need my clients to be redirected to the login welcome page but cant get rid of the hidden value.

In firebug, I have gotten rid of the hidden value... do I then copy the edited HTML?

If so, where does this new HTML code go? Sorry I have no clue... I'm a total dunce at this.

Thanks,
Robbie
User avatar
robertohoughton
Registered User
Registered User
 
Posts: 8
Joined: November 4, 2011

Re: Login Welcome Page Conflicts? Watch this video.

Postby Jason Caldwell » November 8th, 2011, 3:50 pm

Are you familiar with FTP?
http://filezilla-project.org/
~ 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: Login Welcome Page Conflicts? Watch this video.

Postby robertohoughton » November 9th, 2011, 7:52 am

Hi Jason,

I understood nothing from the videos.
User avatar
robertohoughton
Registered User
Registered User
 
Posts: 8
Joined: November 4, 2011

Re: Login Welcome Page Conflicts? Watch this video.

Postby Jason Caldwell » November 9th, 2011, 5:02 pm

Thanks for the follow-up.
Well in order to edit files on your server, you will either need to use a file manager provided by your hosting company's server control panel, or you'll need to be familiar with FTP, so you can edit files locally on your computer and upload them to your server. http://filezilla-project.org/
~ 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: Login Welcome Page Conflicts? Watch this video.

Postby robertohoughton » November 14th, 2011, 2:15 pm

Thanks Jason. Do you know what the file is called and where to find it? You need to speak to me like I'm a 1 year old
User avatar
robertohoughton
Registered User
Registered User
 
Posts: 8
Joined: November 4, 2011

Re: Login Welcome Page Conflicts? Watch this video.

Postby robertohoughton » November 14th, 2011, 2:57 pm

Jason I'm going mental here. Who would be the best person to help me do this? Should I contact a web developer or something?

Thanks,
Robbie
User avatar
robertohoughton
Registered User
Registered User
 
Posts: 8
Joined: November 4, 2011

Re: Login Welcome Page Conflicts? Watch this video.

Postby Cristián Lávaque » November 15th, 2011, 2:25 pm

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. :)
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: Login Welcome Page Conflicts? Watch this video.

Postby robertohoughton » November 17th, 2011, 5:30 am

Thanks Cristian.

I cant open the php file in filezilla now. I right click, then click on open and nothing. Am I doing this wrong?
User avatar
robertohoughton
Registered User
Registered User
 
Posts: 8
Joined: November 4, 2011

Re: Login Welcome Page Conflicts? Watch this video.

Postby robertohoughton » November 17th, 2011, 5:40 am

Is the file index.php?
User avatar
robertohoughton
Registered User
Registered User
 
Posts: 8
Joined: November 4, 2011

Re: Login Welcome Page Conflicts? Watch this video.

Postby Jason Caldwell » November 17th, 2011, 10:19 am

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
~ 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: Login Welcome Page Conflicts? Watch this video.

Postby sergiobet » December 17th, 2011, 11:56 am

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
User avatar
sergiobet
Registered User
Registered User
 
Posts: 7
Joined: December 17, 2011

Re: Login Welcome Page Conflicts? Watch this video.

Postby Jason Caldwell » December 18th, 2011, 11:13 am

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?
~ 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: Login Welcome Page Conflicts? Watch this video.

Postby sergiobet » December 18th, 2011, 11:52 am

Always after login, the user gets redirected to the Dashboard, not the login welcome page.
Definitely is not working properly
User avatar
sergiobet
Registered User
Registered User
 
Posts: 7
Joined: December 17, 2011

Re: Login Welcome Page Conflicts? Watch this video.

Postby Jason Caldwell » December 18th, 2011, 11:56 am

Thank you.
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?
~ 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: Login Welcome Page Conflicts? Watch this video.

Postby sergiobet » December 18th, 2011, 12:17 pm

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?
User avatar
sergiobet
Registered User
Registered User
 
Posts: 7
Joined: December 17, 2011

Re: Login Welcome Page Conflicts? Watch this video.

Postby Jason Caldwell » December 18th, 2011, 1:34 pm

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: Select all
<?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.
~ 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: Login Welcome Page Conflicts? Watch this video.

Postby sergiobet » December 18th, 2011, 1:56 pm

Ok, I'll do it later 'cause I'm away right now.
Will keep you posted, thank you very much for your help!

Sergio
User avatar
sergiobet
Registered User
Registered User
 
Posts: 7
Joined: December 17, 2011

Re: Login Welcome Page Conflicts? Watch this video.

Postby sergiobet » December 18th, 2011, 6:59 pm

Sorry my friend but didn't work.
Still going to the dashboard

Any suggestion?
User avatar
sergiobet
Registered User
Registered User
 
Posts: 7
Joined: December 17, 2011

Re: Login Welcome Page Conflicts? Watch this video.

Postby Cristián Lávaque » December 19th, 2011, 4:33 am

Could you post here the code exactly as you have it in the s2hacks.php file? Also, are you testing with your admin account or the contributor one?
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: Login Welcome Page Conflicts? Watch this video.

Postby sergiobet » December 19th, 2011, 9:14 am

My fault, sorry!
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;
}
?>
User avatar
sergiobet
Registered User
Registered User
 
Posts: 7
Joined: December 17, 2011

Next

Return to Common Questions/Problems/Tips

Who is online

Users browsing this forum: No registered users and 1 guest