Support only during business hours : Monday to friday, from 8:30 am – 5:30 pm CEST

Due to the decrease in our staff due to vacations, our response time may be longer.

Be sure we're doing our best to manage your topic as soon as possible.

log in

This topic is resolved
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • SiX Informatics
    Participant
    • 22 Topics
    • 66 Posts
    @xailaes

    I register for the first time, it sends me an email for the activation and after putting the activation key it sends me to the log in but of wordpress what happens?

    And how can I make the log in go to the profile not to the home page?

    Thanks for everything

    Themosaurus
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 1675 Posts
    @themosaurus

    Hi SiX Informatics,

    For a similar user experience to our demos, you need to go further than the Basic demo (https://basic.gwangi-theme.com/).

    First, you might be interested in using Login With Ajax (https://wordpress.org/plugins/login-with-ajax/) like we do on our demos to create the login form. Please make sure this plugin is installed on your server and then, read the following tutorial to find how to setup your login form:

    Creating the Login Page


    You can also set login redirect URL with to plugin to route users once they’ve logged in (i.e. their own profile).

    Then, you can also choose to add a simple snippet to your dashboard to redirect the wp-login.php requests to your Login With Ajax page:

    function gwangi_possibly_redirect(){
      global $pagenow;
      if( 'wp-login.php' == $pagenow ) {
        if ( isset( $_POST['wp-submit'] ) ||
          ( isset($_GET['action']) && $_GET['action']=='logout') ||
          ( isset($_GET['checkemail']) && $_GET['checkemail']=='confirm') ||
          ( isset($_GET['checkemail']) && $_GET['checkemail']=='registered') ) return;
        else wp_redirect(home_url('/login'));
        exit();
      }
    }
    add_action( 'init', 'gwangi_possibly_redirect' );

    Don’t forget to replace the /login part by your login page name if you are not using the same.

    To add this code snippet to your site, we recommend that you use a the Code Snippet plugin (https://wordpress.org/plugins/code-snippets/). For more about this plugin, please read the following post:

    Adding Custom PHP Without Changing Your Child Theme

    We hope this helps. ?

    Regards,

    SiX Informatics
    Participant
    • 22 Topics
    • 66 Posts
    @xailaes

    Good Morning

    Thanks for your information, it has worked for me but I have a couple of problems

    1.- I have managed to go to the page I want to do the login but I get up the wordpress toolbar, I have seen that it is a box marked in the user profile, do you know how I can remove that by default in the user registration? I attached a screenshot.

    2.- When creating my personal login page I have put shortcode with a redirect after the log in but I would like it to go directly to the profile page but I do not know what url to do for that

    Now I have: [login-with-ajax template = “divs-only” redirect = “/ members”] but I’d like you to redirect to the profile page which is: https://www.2soouls.com/members/xailaes/ profile /

    3.- When logging out, I would like you to go to the home page. Is it possible?

    Thank you very much

    Themosaurus
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 1675 Posts
    @themosaurus

    Hi SiX Informatics,

    1. You can disable the WordPress toolbar by going to Settings > BuddyPress > Options and then uncheck the “Toolbar” option (see attached screenshot).
    2. You can use this url to redirect your users to their own profile page: https://www.2soouls.com/members/me/profile/
    3. You can setup a logout redirect by going to Settings > Login With Ajax and changing the “Global Logout Redirect” option (see attached screenshot).

    Regards,

    SiX Informatics
    Participant
    • 22 Topics
    • 66 Posts
    @xailaes

    Thank you so much for everything

    Themosaurus
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 1675 Posts
    @themosaurus

    You’re welcome 🙂

    Best regards,

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

The topic ‘log in’ is closed to new replies.

Troubleshooting Demo Imports

You're trying to setup your theme but you're experiencing errors when importing the demo content? Or you've just followed the setup guide but your website doesn't look exactly like our demo? These are common issues for which you can find easy and quick fixes.

Happy With our Support So Far?

Feel free to review our theme on Themeforest! It helps us making our products more known to new potential customers, which allow us more time to improve the quality and develop new features. #SharingIsCaring ❤️

Discover MatchPress

Skip • Like • Super-Like

Add powerful matching features like Member likes, skips, super likes, conditional private messaging and much more.

Setup Your Cera or Gwangi powered Community Website and Turn it into an iOS and Android App

15% discount for Cera users

To unleash the full power of your Cera or Gwangi theme, we have partnered with the Zipline team. Your community website can now be fully setup and turned into your very own custom app for iOS and Android.

Whether you've newly acquired the theme or already got your site up and running, Zipline got you covered. And we got you an incredible discount.

Holiday, Weather & Festive effects
to pimp your WordPress Site