Replies
- Brajesh Singh on September 1, 2016 at 8:42 pm in reply to: [Resolved] BuddyPress Group Activities Notifier not Sending #5361
You are most welcome. Marking it as resolved now.
- Brajesh Singh on September 1, 2016 at 8:37 pm in reply to: [Resolved] BuddyPress Group Activities Notifier not Sending #5359
Thank you Chris.
Please change this line
$activity_permalink = bp_activity_get_permalink( $activity->id, $activity );to
$activity_permalink = bp_get_group_permalink( $group );That will do it. Hope it helps.
Regards
Brajesh - Brajesh Singh on September 1, 2016 at 6:01 pm in reply to: [Resolved] BuddyPress Group Activities Notifier not Sending #5356
Hi Chris,
Thank you for posting.The plugin does not support email notification.
I have updated it now to put a few hooks and added the documentation on how to send the email. Please upgrade to 1.0.3 and you may use the code from the documentation here
https://buddydev.com/plugins/bp-group-activities-notifier/to send email.
Hope that helps.
Hi Lee,
I will post tomorrow as I need to add some code to delete activity and it is late for me. I am about to leave my desk, I will add the delete cleanup as the first thing in the morning and post back.Thank you
BrajeshHi Arvind, Bjoern, Lee
My apologies. I posted in the wrong thread. The plugin I had completed was about the Friends Activity Notification(In another thread).I haven’t yet looked in details for this plugin but it seems I may not be using bp-reshare if I am going to do it. The simple reason is, I want something just like facebook have. I will do it once we are done with our theme. Sorry for the false information in my previous post.
Hi Giovanni,
I am sorry but that tutorial only shows BuddyPress registration fields. Are the s2 members fieds added via BuddyPress Profile Field?Please note that at the moment only fields from the First profile field Group are displayed on the registration page/form.
- Brajesh Singh on September 1, 2016 at 2:50 am in reply to: [Resolved] Auto rename uploaded Mediapress files for security #5337
Hi Bjoern,
I or Ravi will do it this weekend.Thank you for reminding.
Hi Again,
Thought I will post the code. You will need to change the role though.function buddydev_set_role_on_activation( $user_id ) { $user = get_user_by('id', $user_id ); $role_name = "contributor";//please change with your own role name if ( $user ) { $user->set_role( $role_name );// please change $role_name with your ow n role } } add_action( 'bp_core_activated_user', 'buddydev_set_role_on_activation', 0 );You can put the above code in bp-custom.php
Hope that helps.
PS: Please do not forget to modify it.
- Brajesh Singh on September 1, 2016 at 2:44 am in reply to: Tweaks about BP Extended Friendship Request Plugin #5334
Posted here
https://buddydev.com/support/forums/topic/add-a-button-to-buddypress-profile/#post-5333
Closing it in favor of the other thread.