WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been trying to get bbcode working in BBPress content, using various plugins. I'm running WP (3.2.1), BuddyPress Plugin (1.2.10) and BBPress 2.0-rc-5.

I've got bbcode working in wp posts and comments via some modifications of this plugin http://wordpress.org/extend/plugins/bbcomments/

All I've done is add a few more add_action lines:

add_action('the_content', 'render_comment', 1);
add_action('the_content', 'render_comment_code', -1);

Though making the BB code work inside BBPress topics and replies is proving tricky, I've tried adding:

add_action('bbp-reply-content', 'render_comment', 1);
add_action('bbp-reply-content', 'render_comment_code', -1);
add_action('bbp_topic_content', 'render_comment', 1);
add_action('bbp_topic_content', 'render_comment_code', -1);

But no dice. I also tried calling the plugin function and the actions inside bbp-common-functions.php.

My PHP knowledge is pretty limited, so any advice on where to look next would be appredciated.

share|improve this question

closed as too localized by toscho Jul 14 '12 at 21:46

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.