• Resolved frankangelone

    (@frankangelone)


    Hello,

    After successfully registering an account, the registration page doesn’t redirect to a “Thanks for Registering” page. It just reloads the registration page and makes the form disappear.

    Should I add the following code to my themes functions.php file?

    add_action('swpm_front_end_registration_complete', 'sam_after_registration_redirection');
    function sam_after_registration_redirection()
    {
    $url = 'https://www.yourwebsite.com/thank-you/';//TODO - Specify the URL that you want to redirect to
    wp_redirect($url);
    }

    Additionally, after logging in with the newly created account, I am brought to a page upon successfully logging in, but I don’t see a “Logout” or “Edit Profile” button. I would need to go to /membership-login to find those links. Is there a way to include them on my page instead of directing users to log out by going to /membership-login?

    Thanks,
    Frank

Viewing 15 replies - 16 through 30 (of 31 total)
  • Thread Starter frankangelone

    (@frankangelone)

    I understand. Two additional questions I had…

    1. When I edit my profile and go to clear out a field I had previously entered text into and click save, the previously entered text reappears. It seems like once you enter data into a text field, it cannot be removed.

    2. If I want to do a conditional statement using code, what can I use to check what current member role the logged in user has?

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, do you have a cache plugin installed in your site? If you do have a cache plugin make sure you exclude the plugins pages. For example login page, profile etc.

    For your second question try the following code.

    $member_level = SwpmMemberUtils::get_logged_in_members_level();

    Let me know if you need more help.

    Thank you

    Thread Starter frankangelone

    (@frankangelone)

    I run my site on a LiteSpeed server and I’m using the LiteSpeed Cache plugin. I went into my settings and added the page /membership-login/membership-profile/ to my exclude list from caching since this is the page the issue is occurring on. However, when I went to remove the value entered into the “city” field on the profile page and clicked “save”, the value still comes back after updating.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, it looks like there might be a site or server issue. Try disabling all plugins and carrying a test.

    If the above does not work, find out from your host why this is happening to your site. Also find out how much memory is allocated to your site?

    Regards

    • This reply was modified 7 years, 1 month ago by mbrsolution.
    Thread Starter frankangelone

    (@frankangelone)

    Do you know which database table profile updates are sent to? I can check if the update is even making its way to the database. When I look at the POST form data, I see the “address_city” parameter is blank as expected. It’s after I see the “Profile updated successfully” message that the “city” field is populated again with the previous value.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, your best option here would be to enable Debug mode and wait for another registration to occur. Once the registration is completed, you can then check the log file. The log file should reveal any issues your site might be running into.

    Let me know if you need more help.

    Thank you

    Thread Starter frankangelone

    (@frankangelone)

    When editing my profile, I was only able to clear the value of the “Company Name” field. Any other field I try to clear the value from returns upon clicking the update button.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, have you read through the following troubleshooting steps?

    Thank you

    • This reply was modified 7 years, 1 month ago by mbrsolution.
    Thread Starter frankangelone

    (@frankangelone)

    The troubleshooting steps provided don’t have any steps related to editing the user’s profile.

    If I turn on debug mode, where would I find the log for those reported issues? Also, how do I turn on debug mode? I’m just not sure if the debug log would show any issues related to editing a profile since I’m not seeing any errors on the page when I try to do so.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, if your issue is only related to the users profile not saving then I think you might have to ask your host why this is happening to your site. You either don’t have enough memory allocated to your site or your servers settings are stopping your site from saving your profile.

    Have we carried out the plugin and theme conflict test yet? Or haven’t we?

    Regards

    Thread Starter frankangelone

    (@frankangelone)

    I’ll check with my host about memory allocation. One alternative I had – can I customize the “Edit Profile” form? There are fields on that page that I don’t need. Can this be done?

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, the best option to customize the form is to use the following addon.

    Thank you

    Thread Starter frankangelone

    (@frankangelone)

    I was trying to implement your Google reCAPTCHA add-on and followed the instructions you provided here. However, when I visit the registration page, I receive the following error message:

    Cannot contact reCAPTCHA. Check your connection and try again.

    Additionally, does the plugin prevent users from duplicate registrations?

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, I have tested this addon in one of my testing sites and it is working correctly. Please check your settings? Make sure every step is carried out correctly.

    Thank you

    Thread Starter frankangelone

    (@frankangelone)

    I have corrected the Google reCaptcha issue.

    One other thing I was wondering about the registration form…

    If a user has already registered if they try to register a second time, does the plugin prevent duplicate registrations?

Viewing 15 replies - 16 through 30 (of 31 total)
  • The topic ‘Registration & Login Redirect Issues’ is closed to new replies.