Edit Buddypress Groups Activity Page Text [closed]

You shouldn’t edit that file. You should over-ride it. Create a folder called ‘buddypress’ in the root of your theme folder. Place a copy of post-form.php in that folder – using the same dir structure as bp-templates/bp-legacy/buddypress/ Then you can update buddypress without losing your changes.

Get string from array and start loop [closed]

Interesting! Looking at the bp_group_has_members it allows to to pass only single group using the group_id parameter when my first thought was that it would be able to pass an array of groups. using your method you will need to run the loop multiple times in order to get the results you want. What i’d … Read more

Buddypress Group Activity Loop Filter activity type [closed]

I have created this function in bp-custom.php page. function filtering_activity_default( $query ) { if ( empty( $query ) && empty( $_POST ) ) { $query = ‘action=activity_update,joined_group’; } return $query; } add_filter( ‘bp_ajax_querystring’, ‘filtering_activity_default’, 999 ); This is working for me as expected.

How to add username in toolbar link?

Try pulling in the username directly from WordPress. I don’t think BP will do it for you by default. global $bp, $wp_admin_bar, $current_user; $bodytag = str_replace(“Admin”, “”, $current_user->user_login;);

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