smith512 (@smith512)

Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • @smith512

    Participant

    Thank you so much!!!!!!!!!

    @smith512

    Participant

    I’m using
    bbpress forum utility pack
    GD bbpress Attachments
    WP ULike
    EWWW Image Optimizer
    Akismet Anti-Spam

    @smith512

    Participant
    <?php
    
    /**
     * User Registration Form
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    // Exit if accessed directly
    defined( 'ABSPATH' ) || exit;
    
    ?>
    
    <form method="post" action="<?php bbp_wp_login_action( array( 'context' => 'login_post' ) ); ?>" class="bbp-login-form">
    	<fieldset class="bbp-form">
    		<legend><?php esc_html_e( 'Create an Account', 'bbpress' ); ?></legend>
    
    		<?php do_action( 'bbp_template_before_register_fields' ); ?>
    
    		<div class="bbp-template-notice">
    			<ul>
    				<li><?php esc_html_e( 'Your username must be unique, and cannot be changed later.',                        'bbpress' ); ?></li>
    				<li><?php esc_html_e( 'We use your email address to email you a secure password and verify your account.', 'bbpress' ); ?></li>
    			</ul>
    		</div>
    
    		<div class="bbp-username">
    			<label for="user_login"><?php esc_html_e( 'Username', 'bbpress' ); ?>: </label>
    			<input type="text" name="user_login" value="<?php bbp_sanitize_val( 'user_login' ); ?>" size="20" id="user_login" maxlength="100" autocomplete="off" placeholder="半角英数字" />
    		</div>
    
    		<div class="bbp-email">
    			<label for="user_email">大学のメールアドレス</label>
    			<input type="text" name="user_email" value="<?php bbp_sanitize_val( 'user_email' ); ?>" size="20" id="user_email" maxlength="100" autocomplete="off" />
    		</div>
    
    		<?php do_action( 'register_form' ); ?>
    
    		<div class="bbp-submit-wrapper">
    
    			<button type="submit" name="user-submit" class="button submit user-submit"><?php esc_html_e( 'Register', 'bbpress' ); ?></button>
    
    			<?php bbp_user_register_fields(); ?>
    
    		</div>
    
    		<?php do_action( 'bbp_template_after_register_fields' ); ?>
    
    	</fieldset>
    </form>
    

    is this okay?

    @smith512

    Participant

    Yes, that is there.

    Why my form-user-register.php is not update?

    Also, I tried to directly add code to form-user-register.php in bbpress (not child theme’s bbpress), the result was not changed.

    @smith512

    Participant

    Yes. I made ‘bbpress’ directory by following your manual.
    I looked at this

    I’m sorry for my poor English.
    Thanks.

    @smith512

    Participant

    Yes. I copied bbpress’s template to my child theme, and not I put my original template but I add codes to bbpress’s templates.

    For example,
    before “form-user-register.php”
    <input type="text" name="user_login" value="<?php bbp_sanitize_val( 'user_login' ); ?>" size="20" id="user_login" maxlength="100" autocomplete="off" />

    after “form-user-register.php”
    <input type="text" name="user_login" value="<?php bbp_sanitize_val( 'user_login' ); ?>" size="20" id="user_login" maxlength="100" autocomplete="off" placeholder="half-width characters" />

    @smith512

    Participant

    thanks.
    It solved!

    @smith512

    Participant

    Sorry, guys.
    I figured out this problem.
    If one parent has thousands sub forums, bbpress is very heavy.
    I delete parent, bbpress is light.

    @smith512

    Participant

    Thank you for replying.

    However, my website’s page speed is not bad.

    This problem happened only when “publish a forum from dashboard” or “submit a topic”.
    The others are no problem.

    @smith512

    Participant

    I am worried about that “GD Power Search for bbPress” is not verified my wordpress version.
    Do you intend to update this?

    @smith512

    Participant

    Sorry, I forgot to add a code.
    add_filter( 'bbp_after_has_search_results_parse_args' , 'my_bbp_filter_search_results' );

    Thank you for pointing it out.

Viewing 11 replies - 1 through 11 (of 11 total)