Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    When you register on a WordPress website, you are told to check your email. The email you get has a link which you need to click in order to set your password. Once you click the link and set your password, you are able to log in to the website.

    It’s not a bug because registration is multi-step process unlike login which is a one-step process. Registration takes you away from the website (to click a link in your email), and it requires an additional action to be taken (setting your password) which is separate from the page that displays the registration form. Logging in does not take you away from your website, that is why login has a redirect and registration does not.

    1. If a customer purchased a product, they likely registered their account during the purchase. Since they are a customer reviewing a product they purchased, all they have to do is login to review the product they purchased.
    2. If a customer purchased a product using a guest checkout, then they won’t have a customer account. If you are allowing customers to purchase products as guest users, you will probably need to also allow them to review their purchase as a guest user. The review will not have a “verified owner” tag (provided by WooCommerce) next to their name since they used the guest checkout, but you can always enable the Site Reviews verification request setting which will display a green checkmark in the review meaning that the reviewer verified their email address.
    • This reply was modified 11 months, 3 weeks ago by Gemini Labs.
    Thread Starter baconreviews

    (@baconreviews)

    @geminilabs But if a website uses social login (which many users do) the wordpress registration is obsolete.

    It should always revert back to the original page.

    Saying a customer can just log in a find the page again just highlights the fact it is a flaw – its a broken journey

    Moving the context to a site such as Trustpilot, do you think after a user finds the site they want to review that after registration they are bought back to the home page?

    Plugin Author Gemini Labs

    (@geminilabs)

    Social login plugins are third-party plugins that change or extend the built-in functionality of WordPress. Why not contact them to add this functionality? They can get the referer URL using the wp_get_referer() function.

    Alternatively, you can try this code snippet. Be aware that using the “registration_redirect” hook will bypass (skip) the registration confirmation screen which may be even more confusing for your users:

    add_filter('registration_redirect', function ($redirect, $errors) {
        if (!is_wp_error($error)) {
            return wp_get_referer() ?: $redirect;
        }
        return $redirect;
    }, 10, 2);
    Thread Starter baconreviews

    (@baconreviews)

    @geminilabs, but your link causing broken journey. Surely you can somehow add the redirect back to the initial point of registration to the plugin for a customer who has purchased your Site Reviews product + all the add ons?

    This is the optimum journey, it cannot be argued.


    Asking a customer to log in, then find the page they were previously viewing on their own accord is bound to result in people dropping off.

    Plugin Author Gemini Labs

    (@geminilabs)

    but your link causing broken journey.

    Site Reviews uses the WordPress wp_registration_url function to get the Registration URL. It’s not the Site Reviews registration link, it’s the WordPress registration link.

    Site Reviews also provides a way to override the registration URL with your own URL in the settings.

    And, if you need further customization, you can also use the WordPress register_url filter hook to completely customize the registration URL to suit your needs:

    add_filter('register_url', function ($url) {
        // customize the $url here
        return $url;
    }, 40);

    Asking a customer to log in, then find the page they were previously viewing on their own accord is bound to result in people dropping off.

    We are only talking about the registration URL. The login URL includes a redirect.

    Surely you can somehow add the redirect back to the initial point of registration

    I did provide you a code snippet in my previous reply which adds a redirect after the registration form is submitted. You can use the Code Snippets plugin to add this snippet to your website.

    But if a website uses social login (which many users do) the wordpress registration is obsolete.

    Which Social Login plugin are you using? I can look into that plugin to see if they provide any plugin-specific filter hooks to customize the registration URL used by that Social Login plugin. I can’t promise anything, but I can look.

    Thread Starter baconreviews

    (@baconreviews)

    @geminilabs, I am using a Social Login which is offered from my theme Jnews,

    The documentation is here: https://support.jegtheme.com/documentation/social-login-2/

    Plugin Author Gemini Labs

    (@geminilabs)

    Two things:

    1. Jnews Social Login is a premium plugin and they provide support.
    2. You will need to contact their support team for help with this since the Social Login plugin is the one responsible for redirecting to the home page and it doesn’t use WordPress registration filter hooks.

    I am going to close this topic now.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Unresolved Topic’ is closed to new replies.