Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Emoticons For bbPress?


_ck_
Participant

@_ck_

See this part of the plugin, you need to change the bb_add_filter and bb_add_actionto justadd_filterandadd_action`

/******************************************************************************
* - Define for bbPress interface
*****************************************************************************/

$bbemoticons = & new bbEmoticons();

bb_add_filter('post_text', array(&$bbemoticons, 'convert_smilies'));
//bb_head is not called always. :-)
//bb_add_action('bb_head', array(&$bbemoticons, 'bb_grins_head'));
bb_add_action('bb_feed_head', array(&$bbemoticons, 'bb_grins_head'));
bb_add_action('bb_grins', array(&$bbemoticons, 'bb_grins'));

Skip to toolbar