BBPress private topics by default

bbpress forums can be marked public (accessible to all) private(filters private forums from view when the user does not have appropriate role) and hidden (Make selected forums completely hidden except to certain members or roles) which can solve your problem. Mark a forum private or hidden according to your requirement and using your members plugin … Read more

how to edit bbp_forum_freshness_link() format

I cannot test it right now, but it should work like this: add_filter( ‘bbp_get_forum_freshness_link’, ‘wpse_77441_change_time_format’, 10, 2 ); function wpse_77441_change_time_format( $anchor, $forum_id ) { $last_active = get_post_meta( $forum_id, ‘_bbp_last_active_time’, true ); if ( empty( $last_active ) ) { $reply_id = bbp_get_forum_last_reply_id( $forum_id ); if ( !empty( $reply_id ) ) { $last_active = get_post_field( ‘post_date’, $reply_id … Read more

BBpress error wp-init [closed]

I was getting this error when I enabled the WebsiteDefender WordPress Security plugin Disabling/removing this plugin solved this issue for me. That plugin calls methods like acxUtil::hideWpVersionBackend( ) without going through the WordPress add_action() which seems to be causing the issue.

bbPress or WordPress + forum plugin?

I have used http://simple-press.com/ on a few WordPress sites I have done and its been really good and I haven’t had any problems with it. Alot of options, quite robust yet easy to use, it would be the one I would suggest trying.

How to change role titles in Bbpress?

Have you tried this plugin: http://wordpress.org/extend/plugins/bbpress-string-swap/ ? Or if you want to code, you could use this snippet in which you can change names. You should insert it into your functions.php add_filter( ‘bbp_get_dynamic_roles’, ‘my_bbp_custom_role_names’); function my_bbp_custom_role_names(){ return array( // Keymaster bbp_get_keymaster_role() => array( ‘name’ => __( ‘Keymaster’, ‘bbpress’ ), ‘capabilities’ => bbp_get_caps_for_role( bbp_get_keymaster_role() ) ), … Read more

How to create a custom nested loop in bbPress (WordPress + bbPress plugin)

bbpress has its own query class called BB_Query() and it accepts: $ints = array( ‘page’, // Defaults to global or number in URI ‘per_page’, // Defaults to page_topics ‘tag_id’, // one tag ID ‘favorites’ // one user ID ); $parse_ints = array( // Both ‘post_id’, ‘topic_id’, ‘forum_id’, // Topics ‘topic_author_id’, ‘post_count’, ‘tag_count’, // Posts ‘post_author_id’, … Read more

How to change the text of link ‘Home’ in bbPress forum breadcrumb?

The string is now in bbpress/includes/common/template-tags.php. Hook into bbp_no_breadcrumb, register a filter for gettext and change the text: add_filter( ‘bbp_no_breadcrumb’, ‘wpse_44597_change_home_text’ ); function wpse_44597_change_home_text( $translated, $original=””, $domain = ” ) { if ( ‘bbp_no_breadcrumb’ === current_filter() ) { add_filter( ‘gettext’, __FUNCTION__, 10, 3 ); return FALSE; } if ( ‘Home’ === $original && ‘bbpress’ === … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)