everykid (@everykid)

Forum Replies Created

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

  • everykid
    Participant

    @everykid

    Started by disabling all pludgins…no change

    Dumb luck…I went into Settings: Format and unchecked “Add Toolbars and buttons to text area to help with HTML formatting”
    Now I can see a border around the box intended for entering descriptor of the box. …a step toward solving this.

    I don’t care if users have toolbar or formatting for this box but I expect I will for other boxes so still would like a fix.

    I believe the change has to be in file bbpress/templates/default/bbpress/form-topic.php.

    I am totally uncomfortable at messing around much at this level but think I need to edit this file and add some code to add a box title like “Topic Description (manditory)”

    below I include the part of that original file from bbpress where it would need to be but not sure what it should look like or where to put it. I expect this is a simple thing for someone who knows what they are doing but for me…not so much! The actual code and where to copy and paste it would save me hours of trial and error. (if some code could also be added to allow the rechecking of the ‘Post Formtting’ box without loosing the border that would be a real bonus.)

    From file form-topic.php

    div>

    <?php bbp_get_template_part( ‘form’, ‘anonymous’ ); ?>

    <?php do_action( ‘bbp_theme_before_topic_form_title’ ); ?>

    <p>
    <label for=”bbp_topic_title”><?php printf( __( ‘Topic Title (Maximum Length: %d):’, ‘bbpress’ ), bbp_get_title_max_length() ); ?></label><br />
    <input type=”text” id=”bbp_topic_title” value=”<?php bbp_form_topic_title(); ?>” tabindex=”<?php bbp_tab_index(); ?>” size=”40″ name=”bbp_topic_title” maxlength=”<?php bbp_title_max_length(); ?>” />
    </p>

    <?php do_action( ‘bbp_theme_after_topic_form_title’ ); ?>

    <?php do_action( ‘bbp_theme_before_topic_form_content’ ); ?>

    <?php bbp_the_content( array( ‘context’ => ‘topic’ ) ); ?>

    <?php do_action( ‘bbp_theme_after_topic_form_content’ ); ?>

    <?php if ( ! ( bbp_use_wp_editor() || current_user_can( ‘unfiltered_html’ ) ) ) : ?>

    <p class=”form-allowed-tags”>
    <label><?php _e( ‘You may use these <abbr title=”HyperText Markup Language”>HTML</abbr> tags and attributes:’,’bbpress’ ); ?></label><br />
    <?php bbp_allowed_tags(); ?>
    </p>

    <?php endif; ?>

    <?php if ( bbp_allow_topic_tags() && current_user_can( ‘assign_topic_tags’ ) ) : ?>

    <?php do_action( ‘bbp_theme_before_topic_form_tags’ ); ?>

    <p>
    <label for=”bbp_topic_tags”><?php _e( ‘Topic Tags:’, ‘bbpress’ ); ?></label><br />
    <input type=”text” value=”<?php bbp_form_topic_tags(); ?>” tabindex=”<?php bbp_tab_index(); ?>” size=”40″ name=”bbp_topic_tags” id=”bbp_topic_tags” <?php disabled( bbp_is_topic_spam() ); ?> />
    </p>

    <?php do_action( ‘bbp_theme_after_topic_form_tags’ ); ?>

    <?php endif; ?>


    everykid
    Participant

    @everykid

    I had same issue and same error message for users. Problem is that the formatting of the border of the topic descriptor box under the topic name doesn’t show up and the box doesn’t have a name. Users don’t realize that there is a box there that they need to put something in in order not to get this message and to be able to create a topic. Seems odd that the designers wouldn’t give box a name and make it clear that something has to go in there.

    Now my challenge is to try to figure out how to give the box a name eg. Topic description (must include) and a border that shows up.

    I try hard to stay away from CSS etc so if anyone can help me to do the above it would be much appreciated.

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