Skip to:
Content
Pages
Categories
Search
Top
Bottom

Text or redirecting custom message past registration


  • mdarcangelo66
    Participant

    @mdarcangelo66

    Hi, I need to know if there is a code or anything to advise the user after that he submit the registration ( so past the complete registration step ) that an email with a confirmation link has been sent in order to activate the account ect. because at this stage once the registration has complete it is usually redirect to the main page without further notice, as a confirmation email can go into the spam ect. so a text to remind of what to do or to check would be beneficial and so common really…

    Thanks

    Wordpress 4.5.4 | Buddypress 2.6.2

Viewing 1 replies (of 1 total)

  • danbp
    Moderator

    @danbp

    Hi,

    can be done from within the language file, if you want the message to be full part of the success message.

    The original string is here: bp-templates/bp-legacy/buddypress/members/activate.php:43
    Your account was activated successfully! Your account details have been sent to you in a separate email.

    or if you want to show persistent instructions, you can use one of the hooks available on the activation page: bp-templates/bp-legacy/buddypress/members/activate.php

    This will need a function like these:

    function my_registration_message() {
    echo 'My message text';
    }
    add_action( 'bp_before_activate_content', 'my_registration_message' );

    You can use same function to show a custom message on the register page, in wich case you use one of the existing hook in bp-templates/bp-legacy/buddypress/members/register.php

    For ex.
    add_action( 'bp_before_register_page', 'function_name' );

    Customizing Labels, Messages, and URLs

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar