Page 2 of 2
Re: login redirect problem
Posted:
July 16th, 2011, 11:46 am
by dorina
Hey Ray,
may I ask: are you running a multiuser installation?
I had a similar problem with new registered user... they were redirected to the membership option page, where for each level, special options were shown. For examle a free subscriber at level#0 should see the options of each level, he could subscribe, while a member at level#1 or #2 has an unsubscribe button. The not-logged in user just see the different options, without the paypal buttons and a link to the registration form.
When a new user registered at the site and was redirected at the membership options page, he still couldn't see the paypal buttos... it was the same page shown as for not-logged-in-visitors.
The reason was: if a new user register at the site, he is a network member and only user at his own blog. At the main site, he is not a user and can only see the not-logged-content.
My solution was a plugin
Multisite User Management to auto-join users to the main site.
I hope this helps.
Dorina
Re: login redirect problem
Posted:
July 16th, 2011, 10:32 pm
by Cristián Lávaque
You can fix that here
WP Admin -> s2Member -> Restriction Options -> Unique IP Access Restrictions.
Re: login redirect problem
Posted:
July 18th, 2011, 10:31 pm
by ray719
That worked
Thanks Christián!
Ray
Re: login redirect problem
Posted:
July 19th, 2011, 11:08 pm
by Cristián Lávaque
Re: login redirect problem
Posted:
July 19th, 2011, 11:29 pm
by ray719
I have another login/logout related problem
I can"t tell if the S2 Pro login widget process is conflicting with the WordPress login/out process at the moment, but whenever I click on the "logout" link in the widget, I'm directed to this page:
http://www.ihomefitness.com/2011/07/14/ ... 194839f0d6I have set the widget to redirect to the homepage after logging out, but am directed to the page above. Also, after clicking on the logout link in the widget, the page I'm directed to still shows the "logout" link in the widget rather than the expected "login"link.
Have any ideas?
Ray
Re: login redirect problem
Posted:
July 20th, 2011, 10:40 am
by Cristián Lávaque
Could you try set it to just / instead http://www.ihomefitness.com/?
Re: login redirect problem
Posted:
July 22nd, 2011, 12:03 am
by ray719
In the widget preferences I can only select pages from a drop down menu to redirect to. I can't fill in my own URL. So I picked "Home Page."
I did notice, however, that if I log out with the top bar option, rather than the widget on the right side bar, the log out works just fine. I think this is the default WordPress bar that pops up when a user logs in. Maybe this will help solve the problem?
Ray
Re: login redirect problem
Posted:
July 22nd, 2011, 12:07 am
by Cristián Lávaque
Could you please show me a screenshot of your s2Member Pro Login Widget settings? Thanks.
Re: login redirect problem
Posted:
July 22nd, 2011, 10:41 pm
by NanSay
I'm hoping you can help...I've exhausted all tutorials, forum, online resources I can find...
I am running s2member (not pro) on an optimize press theme, using the free Sidebar Login plugin and encountered the identified login redirect problem. I use Chrome. Today I even downloaded Firefox and installed Firebug as per the tutorial.
Maybe I'm just not enough of a developer, but I can't "save" my edits, either in Chrome Dev tools or in Firebug.
I can "see" the code I need to change, but I can't figure out how to "save" the changes. I have the redirect that the video tutorial refers to... I see it, I delete it, and then... how do I save that change?
I know this isn't really a s2member question...but even when I tried to search the chrome dev tools for answers, no obvious help, and same for Firebug. I'm not a developer, so I'm thinking there's something obvious I'm missing...that's assumed I'll know...
It's taken me two days to get to this point...
I am so close to getting this setup completed after much struggle...this is one of the last of my challenges...
Thankyou for your support.
Nanette
Re: login redirect problem
Posted:
July 23rd, 2011, 11:08 pm
by ray719
Nanette,
I think I can help. I've used Firebug to troubleshoot things on my website as well, yet cannot save changes. I actually don't think programs like Firebug are designed to save the changes you make (at least the free one). I think the program is just for troubleshooting. If you want to save changes, you need to go to the source files of the code you are changing. For example, let's say I want to change a colour on my homepage. I can experiment with different colours using Firebug, but I need to go to my theme's CSS style file within my WordPress dashboard to actually change things. For me, I find this on my Dashboard page on the left under Appearance" I believe. Can't look at my dashboard at the moment, but I know that there is a link somewhere on the left of your dashboard page that says "Edit". Once you click here, you should be taken to a place where you can edit the files that actually control the appearance and other functions on your website. If you're not as HTML savvy as I was when I did this first, you'll need to do some searching through the files for the properties you want to edit.
Hope this helps you out.
And Christian, I will get a screenshot as soon as I can
Ray
Re: login redirect problem
Posted:
July 23rd, 2011, 11:13 pm
by ray719
Nanette,
I should also mention that Firebug will also help you find the source files of the code your trying to change. For me, I typically find this info on the right when I click on a certain line of code on the left. From there I can find the file, whether it's simply in my theme's CSS files that I can edit via the WordPress dashboard, or the file is located on my web server and I need to find it and edit I there.
Ray
Re: login redirect problem
Posted:
July 24th, 2011, 12:50 am
by NanSay
Thank you, Ray. That does clarify for me what I thought was true. Upon further investigation I've figured out I can change some things with the new Chrome Tool, but not the line I'm trying to fix. I'm thinking that this line of code is not in the CSS files.
Re: login redirect problem
Posted:
August 17th, 2011, 11:16 pm
by ray719
Hi Cristián,
Took me long enough, but here's the screen shot of the login widget you asked for. At the moment, it seems as though the s2 pro login widget is working fine. It's the "Login" link on the top menu, directing to the customized s2 login/registration page, that doesn't seem to work properly. I'm assuming the process may be slightly different, but I figure they should both work since both are through s2Member.
Another question: the login interface is slightly different between the s2Member Pro Login Widget and the customizable s2 login/registration page. One says "sign up now" and one says "register".
One more thing, which is what I've really been trying to do: ideally, I'd like to have the s2member pro login widget appear in a top menu when moused-over. The menu could be titled: "Login". When moused over, a drop down menu would appear with the s2 pro login widget inside. Further, although this may take more coding, once logged in it would be neat for the "Login" menu title to change to "Log Out". Upon clicking "Log Out", the user would be directed to the log out page. The reason I'm asking if this is possible is because I've seen it on other sites (at least I've seen a login widget as a dropdown menu item), and I'm wondering if that's already built in some sort of short code or something, or if it would take some advanced coding? What are your thoughts/suggestions?
Ray
Re: login redirect problem
Posted:
August 18th, 2011, 3:17 am
by Cristián Lávaque
Yeah, that'd be done in the theme's template. A theme developer should be able to help you with that. Try jobs.wordpress.net, oDesk.com or eLance.com.