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: 25473

    Hi Anisur,

    Thank you for the question.

    We are not using PMPro for any of our project, so I will post a sample code which you can give to their support and request them for the code to update the membership.

    
    
    // update something about user on profile completion.
    add_action( 'bpprocn_user_profile_completed', function ( $user_id ) {
    	// add code to set/update the membership for the user.
    
    } );
    
    

    Please give them this sample code and request them to provide the code for updating the membership for user.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25473

    Thank you.

    I am glad it worked.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25473

    Hi anisur,
    Thank you for the question.

    I am afraid, I am unable to assist you with code here. I can help you with te steps though.

    1. you will need to create a button and hook on the profile edit page
    2. You will need to handle the submission for that button and use wp_mail() to notify the admin of the profile completeness.

    You may also try the BuddyPress profile Completion plugin which fires an action on the completion of required fields and use that to automate the mailing.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25473

    Hi,
    I am sorry, there are no dropdown menu in the default BuddyPress template pack. You are most probably using a custom theme or plugin that modifies this behaviour.

    Please contact the relevant developer for assistance.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25473

    Hi,
    Thank you for the reply and the screenshots.

    you are using BuddyBoss platform’s block feature. I will recommend contacting their support for help with BuddyBoss platform and theme.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25473
    Brajesh Singh on in reply to: [Resolved] Change default avatar issue #39874

    Please try changing ‘get_template_directory_uri’ to ‘get_stylesheet_directory_uri’ if you are putting it in the child theme.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25473

    Hi,
    I have pushed 1.0.6 with the option to trigger auto friendship on role change. Please enable it from the settings.

    Please let me know if it works for you or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25473

    Hi Shyam,
    I am sorry, I haven’t been able to help you with it earlier. I will be providing some solution in next 48 hours.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25473

    Thank you.

    I will be releasing an update in couple of hours(or early tomorrow) to provide role change as an option in the settings.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25473
    Brajesh Singh on in reply to: [Resolved] Remove Profile Tabs Dropdown Menu #39862

    Hi Lisa,
    It adds a class to the item tabs. The script calling greedy nav is checking for it and should not call greedy nav.

    Please sure to to clear any cache in case the tabs/content are cached.

    If it is still not working, Please link me to a screenshot.

    Thank you
    Brajesh