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: 25384
    Brajesh Singh on in reply to: styling buddyblog #41775

    Hi Bob,
    I am sorry for the delayed reply.

    Here is what I am seeing in if we use the form on the single page

    https://i.ibb.co/cwx1Fm0/Selection-412.png
    https://i.ibb.co/fNdbRPV/Selection-413.png

    Please let me know what improvements you suggest.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: BuddyPress Q. #41770

    Hi Muhittin,
    That will be actually the initial beta release for this plugin. The scope of this plugin changed(It became a relationship api and then follow on top of that as an implementation(as suggested by BuddyPress core team) instead of just a follow plugin).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi Sal,
    Thank you for using the plugin.

    since the shortcode is not working, please contact the author of shortcode and let me know if there is anything special needed by their shortcode.

    we do not do anything, simply call do_shortcode to render the shortcode.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi,
    I had a look and I don’t see BuddyPress/BuddyBoss adding the default role on sub site unless you are on the main site(or the Multi network mode is enabled). Do you have multi network mode enabled?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: BuddyPress Q. #41762

    Hi Muhittin,
    Thank you for the reply.

    The plugin is coming and will be available at the same time when BuddyPress 10.0 is released.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    oops, I made a mistake. the above code will not work for sub sites. It is not aimed for that purpose.

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi,
    Please use this code(there should not be any back tick inside the code, we use back tick here to wrap the code).

    
    /**
     * Change user role on first login
     */
    function buddydev_change_user_role_on_first_login( $user_login, $user ) {
    
    	if ( ! function_exists( 'buddypress' ) || user_can( $user->ID, 'manage_options' ) ) {
    		return;
    	}
    
    	// check for user's last activity.
    	$last_activity = bp_get_user_last_activity( $user->ID );
    
    	if ( empty( $last_activity ) ) {
    		$role = 'author'; // please change with your desired role.
    		$user->set_role( $role );
    
    	}
    }
    
    add_action( 'wp_login', 'buddydev_change_user_role_on_first_login', - 1, 2 );
    
    

    That should work.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: Local Notifications #41759

    Hi Kiki,
    You are right about it and I have conveyed similar thing to Ravi. He will be updating you in next couple of days.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: Changing Style of the Settings #41758

    Hi Khalid,
    Thank you.

    1. I am glad it resolved for recent visitors. I do not see any previous reply in this topic mentioning “Deactivate account” plugin. I will take a look now.

    2. Sorry, if BuddyBoss does not allow you to do it, we can provide a filter for position(number). We may not be able to do more than that.

    Regards
    Brajesh