Search Results for 'code'
-
Search Results
-
Topic: 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”>
<label>
<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″ />
</label>
</div>
<div class=”passwordlogin”>
<label>
<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>
<label class=”rememberme”>
<?php _e(‘Remember me’); ?>
<input name=”remember” type=”checkbox” id=”quick_remember” value=”1″ tabindex=”3″<?php echo $remember_checked; ?> />
</label>
</div>
<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”>
<?php
printf(
__( ‘Register – lost 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 )
);
?>
</p>
</div>
</form>
I get the following error when my users try to update their account information through bbPress user pages:
Fatal error: Call to a member function get_error_codes() on a non-object in /wp-content/plugins/bbpress/bbp-includes/bbp-common-functions.php on line 1392
I disabled all plugins other than bbpress and still get the same error.
WordPress is up todate.
bbPress is up todate.
I’m using a custom theme based off of what was in the bbPress folder, but I didn’t update the files to rc1 template files, could this be the issue?


//))(?!([^>]+'.$domain.'))([^>]+)>|iU', '<a $1 rel="nofollow" target="_blank">', $text);