Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: A Desperately Needed Plug-in #5345

    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
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: Plugin Request #5339

    Hi 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.

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: Show Signup Form on page #5338

    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.

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi Bjoern,
    I or Ravi will do it this weekend.

    Thank you for reminding.

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: BP Ajax registration #5336

    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.

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: Add a button to BuddyPress Profile #5333

    Please use the Extended Friendship plugin as you mentioned in other thread and you may modify the content displayed here

    https://github.com/sbrajesh/bp-extended-friendship-request/blob/master/bp-extended-friendship-request.php#L163

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on 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?

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: BP Ajax registration #5326

    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/