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: 25480
    Brajesh Singh on in reply to: [Resolved] buddypress Deactivate Account Plugin #19477

    Thank you for reminding. Please put the folling code in your bp-custom.php or your theme’s functions.php

    
    
    /**
     * Show Deactivate/Activate button in directory
     */
    function buddydev_show_deactivate_account_button_in_dir() {
    
    	if ( ! is_super_admin() ) {
    		return;
    	}
    
    	if ( ! class_exists( 'BP_Account_Deactivator_Action_Hooks' ) || ! method_exists( 'BP_Account_Deactivator_Action_Hooks', 'get_instance' ) ) {
    		return;
    	}
    
    	$instance = BP_Account_Deactivator_Action_Hooks::get_instance();
    
    	echo $instance->get_button( bp_get_member_user_id() );
    }
    
    add_action( 'bp_directory_members_actions', 'buddydev_show_deactivate_account_button_in_dir' );
    
    

    That will do it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25480
    Brajesh Singh on in reply to: [Resolved] Force user to complete buddypress profile #19476

    Hi Chris,
    Please feel free to use any of the above. WE also have a required profile fields plugin available which I will release in near future(need time for writing blog post etc).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25480

    Hi Daniel,
    Thank you for the patience. I tried to recreate it and check and have found the issue.

    The problem is with my use of certation action.

    I have been using the action “ihc_action_after_subscription_activated” from ultimate memberships pro.

    The problem is, it does not fire when a subscription is expired and the user is auto assigned next subscription.

    I found another action ‘ihc_new_subscription_action’ but I need you to confirm it with the membership plugin that is it the correct action that will fire each time a new subscription is assigned to the user and won’t fire when editing time etc of the existing subscription of the user?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25480
    Brajesh Singh on in reply to: Buddy Press Form #19469

    Hi Sir,
    1. Yes, the plugin is compatible with WordPress 5.0/5.0.1

    2. As I explained in my previous reply, the dropdown will not list shared galleries. If you need to use the uploader shortcode(Uploading is possible without shortcode too), You will need to pass gallery id.

    For details, Please see
    https://buddydev.com/mediapress/shortcodes/mediapress-uploader-shortcode/

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25480

    Hi Tosin,
    With your setup, It will be difficult to detect what is newly registered users.

    The Auto Activate Auto login plugin has a filter ‘bpdev_autoactivate_redirect_url’ but it is for when the user registers the account.

    In your case, The neaw user means the user after completing the setup.

    It can be done but it needs modification to the above two functions you have posted.

    I will be glad to modify it for you in next couple of days(Sorry, I am not able to assist with it today/tomorrow).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25480

    You are welcome.

    It is most probably a caching issue or some plugin conflict. Try disabling caching plugin and then testing and after that others.

    Regards
    Brajesh

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

    Thank you.

    The problem is with your theme or site setup. Try posting normal text “hello” and see. It does not appear and you need to refresh it to appear.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25480

    Hi Hugo,
    For oembed, we use WordPress’s core infra. It does not support Facebook.

    Sorry, I am correcting my previous answer by editing here.

    It seems WordPress does support oembed from Facebook. Can you please provide me a link and I can check.

    Regards
    Brajesh

    • This reply was modified 7 years, 8 months ago by Brajesh Singh. Reason: edited
  • Keymaster
    (BuddyDev Team)
    Posts: 25480

    Hi Hugo,
    I have tested it for groups now and It is working.

    Here is how a link needs to be added.

    1. Enter the link and click “Add” button. Once you do it, there will be a video preview generated and shown below the activity post form. Once you have done it, you can add any content(or not, it is your choice) and click the post button.

    Please see, here is a video demo I have created to show how it is working.

    https://youtu.be/8f4KaCdXEYo

    Best Regards
    Brajesh