• Hi – Some of my buttons are not “working” for my front end users (non-admin users).

    This is in BBPress.

    The following buttons display “raw code” for the formatting when a user makes a post in the forums:

    align left
    align center
    align right
    font family
    font size
    underline
    text color
    background color (for text)

    Bold, italic, strikethrough, bullet list, numbered list, link, smiley faces, preview, toggle, special characters, undo, redo clear formatting & print are working ok.

    Also – all buttons are working fine in my other areas (like Sabai directory) for front end users – just BBPress?

    I tried inserting some code provided to me by an admin BBPress Forums, but it caused my site to go all white. I had to remove it. I have not received a response from BBpress about that. I was hoping you might have run across this before & possibly provide insight to a remedy.

    Thank you for any assistance you can provide.

    Code BBPress provided following:

    add_filter( 'bbp_kses_allowed_tags', 'ntwb_bbpress_custom_kses_allowed_tags' );
    function ntwb_bbpress_custom_kses_allowed_tags() {
    return array(
    // Links
    'a' => array(
    'class' => true,
    'href' => true,
    'title' => true,
    'rel' => true,
    'class' => true,
    'target' => true,
    ),
    // Quotes
    'blockquote' => array(
    'cite' => true,
    ),

    // Div
    'div' => array(
    'class' => true,
    ),

    // Span
    'span' => array(
    'class' => true,
    'style' => true,
    ),

    // Paragraph
    'p' => array(
    'class' => true,
    'style' => true,
    ),

    // Code
    'code' => array(),
    'pre' => array(
    'class' => true,
    ),
    // Formatting
    'em' => array(),
    'strong' => array(),
    'del' => array(
    'datetime' => true,
    ),
    // Lists
    'ul' => array(),
    'ol' => array(
    'start' => true,
    ),
    'li' => array(),
    // Images
    'img' => array(
    'class' => true,
    'src' => true,
    'border' => true,
    'alt' => true,
    'height' => true,
    'width' => true,
    ),
    // Tables
    'table' => array(
    'align' => true,
    'bgcolor' => true,
    'border' => true,
    ),
    'tbody' => array(
    'align' => true,
    'valign' => true,
    ),
    'td' => array(
    'align' => true,
    'valign' => true,
    ),
    'tfoot' => array(
    'align' => true,
    'valign' => true,
    ),
    'th' => array(
    'align' => true,
    'valign' => true,
    ),
    'thead' => array(
    'align' => true,
    'valign' => true,
    ),
    'tr' => array(
    'align' => true,
    'valign' => true,
    )
    );

Viewing 5 replies - 1 through 5 (of 5 total)
  • I recommend asking at https://bbpress.org/forums/ so the plugin’s developers and support community can help you with this.

    Thread Starter Momshof

    (@momshof)

    Hi Matthew. I have left a message about the problem on the BBPress forums I have not received a response from BBpress. I was hoping someone here might have run across this before & possibly provide insight to a remedy.

    I got a few responses suggesting it may be wordpress itself blocking the functioning of these buttons in BBPress. I have user capabilities set as authors so I don’t think so, but I figured it never hurts to ask.

    You could try deactivating all plugins (except bbPress). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the default theme for your version of WordPress to rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter Momshof

    (@momshof)

    I tried that last evening. Those buttons still would not function.

    Then I think it must be a bbPress issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘some buttons not working for front end users’ is closed to new replies.