Skip to:

Force WP Registration

  • I heard I can place my WP registration URL in this code below, overwriting the old code, to reroute my forum users to register on my WP site instead of using bbPress registration. My forum and site are already linked. Everything is good to go other than this minor issue. Can anyone help/advise? Thanks…

    <form class=”login” method=”post” action=”<?php bb_uri( ‘bb-login.php’, null, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_USER_FORMS ); ?>”>

    <div class=”loginformtop”>

    <div class=”usernamelogin”>


    <input value=”<?php _e(‘Username’); ?>” onfocus=”if(this.value=='<?php _e(‘Username’); ?>’){this.value=”;}” onblur=”if(this.value==”){this.value='<?php _e(‘Username’); ?>’;}” name=”user_login” type=”text” id=”quick_user_login” size=”13″ maxlength=”40″ value=”<?php if (!is_bool($user_login)) echo $user_login; ?>” tabindex=”1″ />



    <div class=”passwordlogin”>


    <input value=”<?php _e(‘Password’); ?>” onfocus=”if(this.value=='<?php _e(‘Password’); ?>’){this.value=”;}” onblur=”if(this.value==”){this.value='<?php _e(‘Password’); ?>’;}” name=”password” type=”password” id=”quick_password” size=”13″ maxlength=”40″ tabindex=”2″ />


    <label class=”rememberme”>

    <?php _e(‘Remember me’); ?>

    <input name=”remember” type=”checkbox” id=”quick_remember” value=”1″ tabindex=”3″<?php echo $remember_checked; ?> />



    <input name=”re” type=”hidden” value=”<?php echo $re; ?>” />

    <?php wp_referer_field(); ?>

    <input type=”submit” name=”Submit” class=”submit” value=”<?php echo esc_attr__( ‘Log in »’ ); ?>” tabindex=”4″ />

    <p class=”loginmeta”>



    __( ‘Registerlost password?‘ ),

    bb_get_uri( ‘register.php’, null, BB_URI_CONTEXT_A_HREF + BB_URI_CONTEXT_BB_USER_FORMS ),

    bb_get_uri( ‘bb-login.php’, null, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_USER_FORMS )






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