• SH 3.1.4 is absolutely not working on a wp 3.5.1/BP 1.7 beta and bbPress plugin 2.2.4 enabled plugin install.
    Tested on BP group forum and sitewide forum.

    I get this in the post:`[php]
    <div class=”container”>
    <div class=”container”>
    <div class=”line number1 index0 alt2″><code class=”php plain”>add_filter(</code><code class=”php string”>’bp_groups_default_extension’</code><code class=”php plain”>,</code><code class=”php string”>’my_custom_group_default_tab’</code><code class=”php plain”>);</code></div>
    <div class=”line number2 index1 alt1″><code class=”php keyword”>function</code> <code class=”php plain”>my_custom_group_default_tab(</code><code class=”php variable”>$default_tab</code><code class=”php plain”>){</code></div>
    <div class=”line number3 index2 alt2″></div>` etc

    I also updated the plugin on a wp 3.5.1/bp 1.6.4 where SH also doesn’t work correctly, but i got it by replacing line 1167 in bp-forums-template.php with
    return apply_filters( 'bp_get_the_topic_post_content', wp_specialchars_decode( $topic_template->post->post_text, ENT_QUOTES ) );
    and removing filters in theme’s functions.php

    remove_filter( 'bp_get_the_topic_post_content', 'bp_forums_filter_kses', 1 );
    remove_filter( 'bp_get_the_topic_post_content', 'wptexturize' );
    remove_filter( 'bp_get_the_topic_title', 'wp_filter_kses', 1 );

    Using the same hack on BP 1.7 has NO effect.

    I opened a ticket on BP Trac 2 mounth ago
    http://buddypress.trac.wordpress.org/ticket/4715
    and on this support forum 6 mounth ago
    http://wordpress.org/support/topic/plugin-syntaxhighlighter-evolved-conflict-with-buddypressbbpress?replies=1

    May be not a plugin issue, but if this plugin works on WP, it should also work with bbPress, a very popular forum on the WP Planet, and with BP, for the same reason.

    Thank you for answer, tips and work.
    Regards !
    Dan (chouf1) bp-fr.net

    http://wordpress.org/extend/plugins/syntaxhighlighter/

  • The topic ‘3.1.4.doesn't work with BP 1.7’ is closed to new replies.