• Resolved tommentron

    (@tommentron)


    Hello,
    Can someone please advise me on how to edit the “Activate” page? I am not able to edit it in the normal edit, nor in the Elementor as it shows “The preview could not be loaded.” Alternatively, if I wanted to use the authentication widget, I cannot find it either. Thanks for your advice.

    Best
    Tomas

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support john

    (@johnweru)

    Hey Tomas,

    Thanks for reaching out to us

    With respect to your question here, by default the “Activate” page is not editable. We are also yet to integrate a template to edit the page within our plugin. What you can perhaps do is override the activate.php file in BuddyPress. You can find this file in your plugins folder ../wp-content/plugins/buddypress/bp-themes/bp-default/registration/activate.php.

    If you are using the “Nouveau” template pack, then you can find the file in /wp-content/plugins/buddypress/bp-templates/bp-nouveau/buddypress/members/activate.php.

    As for the login, you can create a page and add the BuddyPress Login form or use a login widget on a sidebar.

    I hope this information helps

    Kind Regards

    Thread Starter tommentron

    (@tommentron)

    Hello John,

    That is a shame. It would be great if there was an editable template in future. Thank you for your advice! ??

    Best
    Tomas

    Thread Starter tommentron

    (@tommentron)

    Hello John,

    Can I please ask you two additional questions? If I should create a new topic, I’ll do so.

    Firstly, is it please possible to edit the “Create a Group” page/template?

    Secondly, is there a way to redirect a user to a certain page after the registration? Such as to show a page prompting users to activate the link in the email. Because after the registration, I only see a blank tiny page.

    Thank you for your advice.
    Best

    Plugin Support john

    (@johnweru)

    Hey there,

    With respect to the questions here:

    1. Sorry this is not possible by default. You would need to override the create.php file within the following directory paths:

    /bp-templates/bp-legacy/buddypress/groups/

    /bp-themes/bp-default/groups/

    2. Please add the following code within the functions.php file of your theme:

    function reg_redirect($user) {
        $redirect_url = 'https://staxwp.com/';
        wp_redirect($redirect_url);
    }
    add_action('bp_core_signup_user', 'reg_redirect', 100, 1);

    You can alter the URL in place with that of your preferred redirect URL.

    I hope this helps

    Kind Regards

    • This reply was modified 3 years, 3 months ago by john.
    Thread Starter tommentron

    (@tommentron)

    Hello John,

    That is fine. Thank you very much for your responses!

    Kind wishes
    Tomas

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to edit the “Activate” page’ is closed to new replies.