Skip to:
Content
Pages
Categories
Search
Top
Bottom

Group Forums Ignore html formatting


  • Ian Dixon
    Participant

    @inaregee

    OK I may be in the wrong place to ask this one but it is tricky to find the right one. However it seems about right so just tell me to try somewhere else if I got it wrong.

    My question is this:

    I have WP 3.4.1 and BP 1.5 with the default BP theme. latest version so everything is up to date

    Most is working fine but groups are giving me grief. I put the Forum in for Groups because that should give more options to format either using the wysywig editor or the the source code editor. Displays just as I want in the editor but totally loses the formatting when posted. Just doing a forum post with a simple <p style="text-align: center">This is text does not display correctly.

    Am I just missing something?

Viewing 1 replies (of 1 total)

  • danbpfr
    Participant

    @chouf1

    Hello,

    you’re not wrong. Forum post don’t display html.
    You have to handle this problem similar to WP comments or here by using backsticks, pre or code tag if you need code in your posts.
    Anyway, with approximative html or php output….
    You can also remove some filters by puting the instruction in your child theme functions.php
    (ie remove_filter( 'bp_get_the_topic_post_content', 'bp_forums_filter_kses', 1 );)
    The list of filters used in Forums are in bp-forums/bp-forums-filters.php

Viewing 1 replies (of 1 total)
  • The topic ‘Group Forums Ignore html formatting’ is closed to new replies.
Skip to toolbar