Skip to:
Content
Pages
Categories
Search
Top
Bottom

Registration process over two different templates


  • IngeB1983
    Participant

    @ingeb1983

    Hi there,

    There is something about the registration process I can’t get done which annoys me. Hopefully someone can help.

    I added this line to the registration template.
    Sign up agreement
    Works fine and the line shows.(Only if placed after the </div><!– #buddypress –> ) But when someone completes/submits the steps, they are taken to a different page, generated from the same code.

    What I mean is this:
    Step 2 of the process
    Now, as you can see, the line also shows up here.

    Q: How can I get the line to only show up on the first page and NOT on the second page?

    The code that generates this second step is this:

    
    			do_action( 'bp_before_registration_confirmed' ); ?>
    			<?php if ( bp_registration_needs_activation() ) : ?>
    
    				<p><?php _e( 'You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.', 'buddypress' ); ?></p>
    
    			<?php else : ?>
    
    				<p><?php _e( 'You have successfully created your account! Please log in using the username and password you have just created.', 'buddypress' ); ?></p>
    
    			<?php endif; ?>
    

    Good to know:
    – I read and understand the hierarchy in templates abt Buddypress.
    – The code is currently generated from index-register.php
    – I use a childtheme
    – Buddypress v 2.5.1
    – WP v 4.4.2

    Thanks in advance for helping out!

  • You must be logged in to reply to this topic.
Skip to toolbar