Up to 50 percent off

Registration Form post to BP Activity (new member)

This topic contains 16 reply and 3 voices, and was last updated by Nayem 9 years, 7 months ago
Viewing 15 Posts - 1 through 15 (of 16 total)
Author Posts
December 18, 2014 at 6:02 am 32499
Nayem I need my Registration Form to post to the BP Activity that a new member has registered. EXAMPLE: "Username" became a registered member 1 day, 3 hours ago I have read and tried this article but did not work: http://wedevs.com/support/topic/post-to-buddypress-actvities/ I have also tried this but did not work: http://docs.wedevs.com/buddypress-activity-wp-user-frontend/ Thanks, Aaron
December 18, 2014 at 11:31 am 32516
Nayem Nayem

Hello Aaron,

I am not clear about your question. Can you please describe me in more details about your needs?. I am here to hear from you.

Thank you 🙂

December 19, 2014 at 6:26 am 32579
Aaron Aaron

Look at my website here: http://www.nprnsb.org. Look at the right side “Activity Feed”. Any new post gets added to the Activity Feed. I am using WPUF for members to Post which works great. Currently I am using the Default Buddyrpess Registration Form and when a person Becomes a New Member of the site it shows in the Activity Feed just like News Posts. Example: “iwesterik became a registered member 1 day, 4 hours ago”
Example: activity

BUT NOW I am using “WPUF Registration Forms” But when a new member registers it does not show in the Activity Feed. How can i have it post to the Acivity Feed when someone becomes a new member.?

December 20, 2014 at 11:33 am 32638
Sekander Badsha Sekander Badsha

Hello Aron,

I need to test this issue and discuss with the developer team. Please allow me a couple of hours.

December 22, 2014 at 5:15 am 32778
Aaron Aaron

Hello Sakender, any new information about new member registtration show in the Activity Feed?

Thanks

December 22, 2014 at 11:02 am 32789
Nayem Nayem

Hello Aaron,

I have already forwarded this issue to our developer team. Hope they will provide me a proper solution for this issue. I will be back to you with the right solution. Please keep patience and allow me some time.

Thank you 🙂

December 29, 2014 at 10:58 pm 33096
Aaron Aaron

Hello Nayem and Sekander, sorry to bother you again but I want to make my website Live but I really need this fixed before i do. Any progress on this?

Thanks again.

December 30, 2014 at 5:23 pm 33165
Nayem Nayem

Hello Aaron,

We have already fixed this. I will provide you some code. Please allow me some time to discuss with our developer about those code.

Thank you for having patience. 🙂

December 31, 2014 at 1:58 am 33192
Aaron Aaron

Wonderfull News!!!! Thank You.

December 31, 2014 at 11:40 am 33215
Nayem Nayem

Hello Aaron,

Please open wpuf-bp.php file. In line number 207-2011 you will see something like this-

function on_user_registration( $user_id, $userdata, $form_id ) {
        $this->update_user_data( $user_id, $form_id );
      }
}

.You have to replace this code with this code-

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'

            ));

        }

     }
}

Pelase check and let me know. Thank you 🙂

January 1, 2015 at 2:04 am 33244
Aaron Aaron

Works Perfect!! Thanks for you support on this.

January 1, 2015 at 10:31 am 33250
Nayem Nayem

Hello Aaron,

If you have no more question then please mark this topic as resolved.

Thank you 🙂

January 6, 2015 at 6:24 am 33425
Aaron Aaron

Hello again, The new code you gave did not work for one of my new members, They registered today and the Activity Feed did not show “huttonparker became a registered member about 7 hours ago”.

It did work for this person today:
you can see this in the Activity Feed –> “huttonparker became a registered member about 7 hours ago”

But this DID NOT work for this member

They both used the same Registration Form that assigns the same role “Funder”. So why would it work for one person and not the other?

Any Ideas?

January 6, 2015 at 6:27 am 33426
Aaron Aaron

Here are the links mentioned above….

Showed new member in Activity Feed for this person… huttonparker

…but not for this person. fundforsb

Activity Feed is here and you can see that “huttonparker” shows as new member but not for “fundforsb”.
NPRNsb.org

January 6, 2015 at 3:57 pm 33459
Nayem Nayem

Hello Aaron,

I think there is something missing. It should work for all of your members. Please check carefully and make sure that they have registered correctly and also please check your internal settings. Those code we have provided it should work for everyone. We have checked this in our local site but everything is fine here.

Thank you 🙂

April 2, 2015 at 6:17 am 40494
Aaron Aaron

I updated to Buddypress 2.2.1 and now the problem came back.

Certain text is missing from the Activity Feed when someone becomes a new registered member.
EXAMPLE: Normally it would look like this when someone registers to my site for the first time.
“John Doe” became a registered member 1 day, 3 hours ago

Now it only says:
“John Doe”

This part is missing: became a registered member 1 day, 3 hours ago

So the code you gave me (above) worked until i updated to Buddypress 2.2.1… any ideas?

Viewing 15 Posts - 1 through 15 (of 16 total)