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: 25318
    Brajesh Singh on in reply to: Code Snippet 'Add Xprofile fields to the member code' #18185

    Hi Carsten,
    When you visit members directory, do you see some php code? If you do, the file is correct.

    There is an issue with the above code though.

    You are not closing the php block correctly.

    The code should go after the

    
    ?>
    
    

    in your theme

    Instead of this

    
    
    <?php echo xprofile_get_field_data( 578, bp_get_member_user_id() );?>
    
    ?>
    
    

    It should be like

    
    
    ?>
    
    <?php echo xprofile_get_field_data( 578, bp_get_member_user_id() );?>
    
    

    We are putting our code after the closed php block. If it does not show you anything, I can post a snippet for bp-custom.php that will wok with all themes.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25318

    Hi Rudolf,
    Thank you for purchasing the plugin.

    You are correct about automatic assignment of the groups. The plugin can do it based on the membership level.

    To configure it:-
    1. While creating a member type, add groups. Check the sync button to remove users from non member type groups when their membertype changes.

    2. Please visit WooCommerce->Memberships screen and open Plan tab as shown below
    https://i.imgur.com/BWf3zxo.png

    3. Please edit plan and at the bottom, you will see a member type option as shown below
    https://i.imgur.com/xn0SC8e.png

    Check the member type(or multiple types, I suggest using single as they are better supported across BuddyPress UI)

    4. Save.

    Now, we have created a pipeline. When a user gets assigned the membership level, their member type changes and the change in member type changes their assigned groups(adds/removes to/from groups).

    Note:- It only works for newer purchases after the setup. For users with existing membership level, it won’t do anything. The action get triggers only when a new membership level changes.

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25318

    Thank you for confirming.

    Yes, that might have been the reason.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25318
    Brajesh Singh on in reply to: facebook like activity stream #18175

    Hi David,
    Thank you for the details.

    I am looking at it now. Will have an update for you a bit late in day today.

    Regards
    Brajsh

  • Keymaster
    (BuddyDev Team)
    Posts: 25318
    Brajesh Singh on in reply to: [Resolved] About buddyCircle #18173

    Hi tangpage,
    You mean the title just before the user list? Sure, we will add it. Please allow me a day to push a release.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25318
    Brajesh Singh on in reply to: Gallery creation Email notifications #18169

    Hi Saxena,

    Thank you for the question. We had a plugin in pipeline for the same. I am not sure of the current state though. I will check with @ravisharma and let you know on Monday.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25318

    Hi Saxena,
    You are welcome again.
    Thank you for the question. We had a plugin in pipeline for the same. I will check with @ravisharma and let you know on Monday.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25318
    Brajesh Singh on in reply to: Code Snippet 'Add Xprofile fields to the member code' #18165

    Hi Carsten,
    I am sorry but you can not use the snippet in bp-custom.php directly. Are you using it with some hook? If yes, Please post the complete snippet here (or on pastebin). To post snippet here, please use backtick(`) to enclose the code.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25318
    Brajesh Singh on in reply to: facebook like activity stream #18164

    Hi David,
    Thank you for purchasing the plugin.

    1. For the code, Pleas put it in your child theme(or theme)’s functions.php. If you want, you can put it in the bp-custom.php(bp-custom.php is a special file that we can create in our wp-content/plugins directory and keep the functionalities idepent of theme here).

    2. The directory:- Please allow me to check it today. A few questions:- Are you using any other plugin/code to filter out activities? Are you using a custom theme? If yes, which one? Is there anything special about the install that you may want to let me know?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25318
    Brajesh Singh on in reply to: [Resolved] Make one page public on site #18152

    Thank you.