Activity Feed not showing new members
-
Before i explain this issue I apologize that this is also related to a third party plugin combined with Buddypress, I have contacted their support again and again and they just cant seem to get this resolved. Now its been weeks. I am posting here in HOPE that this is and easy fix that someone can help with.
I’m using Wp User FrontEnd Pro and thier buddypress addon that allows me to create custom Registration Form for Buddyrpess. But when people register it no longer shows up in the Activity Feed correctly. IT USED TO until I updated Buddypress to 2.1, I’m now on latest BP 2.2.3.1.
All i see when someone registers is their username and its not linked. You can see three recent members that registered on my site here http://nprnsb.org/ or see the screenshot here http://nprnsb.org/new-members.jpg
Here are the three code attempts they have tried.
1.) This was the original that used to work with older version of Buddypress (2.0)
function on_user_registration( $user_id, $userdata, $form_id ) { $this->update_user_data( $user_id, $form_id ); if ( function_exists( 'bp_activity_add' ) ) { bp_activity_add( array( 'user_id' => $user_id, 'component' => 'xprofile', 'type' => 'new_member' )); } } } // WPUF_BP_Profile $wpuf_bp = WPUF_BP_Profile::init();
After Buddypress update to 2.1.1 Only the NAME of the new member would show up (no link, no “became a member” no timestamp).. just their name.
2.) Here is their attempt to fix which made things worse and did not show ANYTHING in the Activity Feed.function on_user_registration( $user_id, $userdata, $form_id ) { $this->update_user_data( $user_id, $form_id ); if ( function_exists( 'bp_activity_add' ) ) { bp_activity_add( array( 'user_id' => $user_id, 'component' => 'members', 'type' => 'new_member' )); } } } // WPUF_BP_Profile $wpuf_bp = WPUF_BP_Profile::init();
Here their THIRD attempt to fix but this still does now show anything.
3.)function on_user_registration( $user_id, $userdata, $form_id ) { $this->update_user_data( $user_id, $form_id ); if ( function_exists( 'bp_activity_add' ) ) { bp_activity_add( array( 'user_id' => $user_id, 'component' => 'members', 'type' => 'new_member' )); } } } add_action( 'plugins_loaded', 'wpuf_bp_init' ); function wpuf_bp_init() { //check dependency for wp_user_frontend if ( ! class_exists( 'WP_User_Frontend' ) ) { return; } //check dependency for buddypress if ( ! class_exists( 'BuddyPress' ) ) { return; } $wpuf_bp = WPUF_BP_Profile::init(); }
I would be very grateful for any info I can pass on to them… Or a FIX would be ideal.
Thanks for reading.
- The topic ‘Activity Feed not showing new members’ is closed to new replies.