I’m trying to use the Group Extension API in BuddyPress but keep getting a fatal error [closed]

You can get this fatal error if you plugin is loaded before BuddyPress, if you’re creating extension for BuddyPress, first you should check if BuddyPress is active and loaded, here is suggested method from BP Codex. /* Plugin Name: My Plugin Plugin URI: http://example.org/my-plugin/ Description: My BuddyPress plugin Version: 1.0 Requires at least: WordPress 2.9.1 … Read more

How do you remove the buddypress group avatar from the activity stream post? [closed]

Add this to your child theme’s functions.php. function bp_dtheme_activity_secondary_avatars( $action, $activity ) { if ( $activity->component=”friends” ) { // Only insert avatar if one exists if ( $secondary_avatar = bp_get_activity_secondary_avatar() ) { $reverse_content = strrev( $action ); $position = strpos( $reverse_content, ‘a<‘ ); $action = substr_replace( $action, $secondary_avatar, -$position – ); } break; } return … Read more

Customize Activity Stream – Buddypress [closed]

Got it add_filter(‘bp_blogs_activity_new_post_action’, ‘record_cpt_activity_action’, 1, 3); function record_cpt_activity_action( $activity_action, $post, $post_permalink ) { global $bp; if( $post->post_type == ‘post’ ) { if ( is_multisite() ) $activity_action = sprintf( __( ‘%1$s wrote a new article, %2$s, on the site %3$s’, ‘buddypress’ ), bp_core_get_userlink( (int) $post->post_author ), ‘<a href=”‘ . $post_permalink . ‘”>’ . $post->post_title . ‘</a>’, … Read more

WordPress Super Admin menu not enabled

Newer versions of WordPress have gotten rid of the “Super Admin” menu on the left-hand dashboard menu in favor of a “Network Admin” section. It sounds like you installed multisite just fine, so under the “My Sites” option in the top toolbar, you’ll now see a link to the Network Admin section. http://codex.wordpress.org/Create_A_Network#Step_5:_Network_Admin_Settings

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