This topic has 14 replies, 3 voices, and was last updated 10 years by oscar34.

  • Author
  • #6762
     frien337
    Participant

    Hi All,

    I saw in one of your posts that Sweet Theme should be fine with S2member (Post Here). However, this is not the case and when I try to login it just hangs and says “Sending Info, Please wait”. I have ruled out a plugin conflict because the issue is still there even though all my plugins were deactivated. I need to use S2member because the Paid Memberships Pro conflicts with one of my more important plugiuns, the quick chat.

    Do you have any advice?

    Thanks,
    Ryan

    #6857
     SQadmin
    Keymaster

    Hi,
    We just installed S2member for testing. We logged in successfully, Give us a link to your site to take a look if it still happens

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #6890
     frien337
    Participant
    This reply has been set as private.
    #6892
     frien337
    Participant

    I forgot to mention that the user can login if he refreshes his page while the login screen is hanging saying “Sending info, please wait…”.

    #6924
     SQadmin
    Keymaster

    Hi,
    I searched this on the net and it seems related to s2member and ajax login in general, not related to the theme. See topics opened on this issue:
    http://wordpress.org/support/topic/redirect-not-working-for-non-admin-users
    http://www.s2member.com/forums/topic/s2member-and-loginwithajax-issue/

    Anyway we have found a fix to disable the s2member default redirect. Add this to sweetdate-child/functions.php:

    COPY CODE
    
    add_filter('ws_plugin__s2member_login_redirect', create_function('$arg','return false;'));
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #6941
     frien337
    Participant

    Thanks, but I tried that previously and it did work but the user then gets redirected to the dashboard and not the home menu. I’ll re-install everything later on and I will let you know if that has worked, after all, it works for you 🙂

    Do let me know if you come up with any other ideas in the meantime?

    #6949
     frien337
    Participant

    Hi Again,

    I tried on a fresh install with no other plugins and the issue still exists. How were you able to get it working on your end? I will email you my admin login details to have a better look.

    Thanks, Ryan

    #6950
     frien337
    Participant

    I forgot to mention that the problem on occurs when a user logs in and it works perfectly when an admin logs in. Also, everything works fine the moment I disable Sweet Date and use the default BuddyPress theme.

    Thanks again!

    #6990
     SQadmin
    Keymaster

    The same happens to me. works for the admin but not for guests.

    Redirect the users to their profile with the code from this topic: https://archived.seventhqueen.com/forums/topic/redirect-user-to-their-profile-after-login

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #7111
     frien337
    Participant

    Unfortunately that still doesn’t work. I have added in your code (both the S2 redirect disable and direct to profile page) but I still get the same result whereby the user is directed to the admin/dashboard page.

    Would it work better if your theme’s redirects were disabled and we left S2 to deal with everything? If so, how can I disable your theme’s redirects? Furthermore, I need users to be directed to a custom home page and not their profile page.

    Thanks, if we get this sorted I’ll happily make a donation to you guys 🙂

    #7214
     SQadmin
    Keymaster

    That was a workaround for S2 problem that is not handling AJAX login requests. We’ll let you know if we find something

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #7357
     frien337
    Participant

    Many thanks, hope you find something soon 😉

    #7361
     frien337
    Participant

    Hi sqadmin – thanks again for everything but you can disregard this post because I have decided to no longer use S2 but rather the Paid Memberships (too many complications)

    #7392
     SQadmin
    Keymaster

    Ok frien337, If it was something with the theme we would resolved it quickly but digging into the plugin is not so easy
    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #12152
     oscar34
    Participant

    Hi
    Anyone solved s2member and ajax login issue?
    thnx

Viewing 15 posts - 1 through 15 (of 15 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?