How to add a count in a custom tab in a Buddypress group

You are using the BP Nouveau templates, correct? Span tag works fine in the Legacy templates. In Nouveau, all links are stripped of span tags. See the calls to function _bp_strip_spans_from_title and functions like bp_nouveau_get_nav_link_text in buddypress\bp-templates\bp-nouveau\includes\template-tags.php. So remove your span tag from the create subnav item function. Instead, in Nouveau, use 2 filters for … Read more

BuddyBoss (BuddyPress / bbPress) moderation filters not doing anything

You’ve got the bp_bypass_if_user_can_moderate arguments wrong. From the documentation you linked to it should be bool $value, int $user_id, string $title, string $content, and as normal for filters you should pass through $value if you’re not going to change it. e.g. here’s a fixed up version of your filter: add_filter( ‘bp_bypass_check_for_moderation’, ‘bbp_bypass_if_user_can_moderate’, 10, 4 ); … Read more

Buddypress register.php user redirect [closed]

Just a heads-up that you should be using the bp_loggedin_register_page_redirect_to filter to accomplish this, rather than modifying BuddyPress files (which will get overwritten on every upgrade). function bbg_bp_loggedin_register_page_redirect_to( $redirect_to ) { if ( bp_is_component_front_page( ‘register’ ) ) $redirect_to = bp_get_root_domain() . ‘/home’; return $redirect_to; } add_filter( ‘bp_loggedin_register_page_redirect_to’, ‘bbg_bp_loggedin_register_page_redirect_to’ ); Put this in your theme’s functions.php … Read more

Can’t Find BBPress data in Database

As far as I know bbPress uses custom post types. So all the data are in the regular posts and post_meta tables. A look at the source code should tell you more. From the bbPress Codex: bbPress creates three custom post types and adds them to the navigation menu: Forums, Topics, and Replies. Use these … Read more

delete a photo tag in rtmedia [closed]

It is fixed in v2.2.4. I suggest you to update your plugin. Or you can do it by adding following condition in tag rendering foreach loop RTMediaPhotoTag.php > function tag(){…} if(get_user_by(‘id’, $tagged) === false ){ $this-> delete_tag($tagged,$media_id); continue ; } You should post this issue on rtmedia support forum

Is it possible to have a network of BuddyPress sites, a-la WordPress MU, with single-sign-on? [closed]

BuddyPress is compatible with a WordPress Multisite setup. There are several different ways to set it up. By default, BuddyPress data is stored in a networkwide way. Generally, that means that, within the network of sites, only one site is dedicated to BuddyPress features/content – you might think of this as the “community” site within … Read more

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