Replies
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. Please use the Extended Friendship plugin as you mentioned in other thread and you may modify the content displayed here
If you remove the textarea and use the same name/id for selectbox, the value for that field will be used.
Hope that helps.
Regards
Brajesh- Brajesh Singh on September 1, 2016 at 2:40 am in reply to: Buddypress Sitewide Activity Widget #5332
Hi Mandy,
I am sorry but I did not get that. Can you please explain?Are you able to show it in the normal BuddyPress activity but not in the sitewide activity widget?
- Brajesh Singh on September 1, 2016 at 2:27 am in reply to: [Resolved] Dedicated Sitewide Galleries By Media Type? #5331
Hi Charlie,
My apologies for the delayed reply.1. Currently you can use the shortcodes(gallery shortcodes)to list gallery by type
As I understand your post, I believe it is a great idea to have separate directory page for each of the types as filtered.
I will add it on our track and will try to have it in next milestone.
Thank you
Brajesh Is that the actual name of Role? I need the actual name in order to use with the set role. THe above name seems like just the label.
https://developer.wordpress.org/reference/classes/wp_user/set_role/