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

    Hi Ada,
    I have looked into the issue and so did Ravi.

    What we found that when you set custom taxonomy from Settings->Blog Categories page in WordPress, you can assign terms from that taxonomy to a Group.

    After that, you will be able to list posts(custom post types) from that taxonomy(with the selected terms).

    I checked the code on pastebin(the latest one), and it is only about anonymous posting. That code does not need any change.

    Please let me know what issues you are facing and what is your current setup and I will be more quick in my replies in future.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25271

    Hi Dandy,
    Thank you.
    have a great day to you too.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25271

    Hi Zabrina,
    Thank you.

    I agree with the suggestions and the time we add support for WordPress comments, we will be adding support for bbPress as well as activity comment too.

    There is an issue with the attributes modification with uploading. The upload starts as soon as someone drops the media or opens the selected media. I am not sure how to handle editing in case of Activity upload.

    For single Gallery upload, we can add this functionality on upload though. If you have suggestions on adding attributes, please do let me know.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25271
    Brajesh Singh on in reply to: [Resolved] BP Editable Activity and MediaPress #3449

    Hi Leo,
    Thank you for buying the plugin.

    The problem is people will expect to modify the listed media. The media is not stored as html, so it is not feasible for us to allow media list(It is stored as ids and generated content).

    It is possible to allow editing the activity content with media though. If you want that please do let me know and I will update this plugin for the purpose.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25271

    Hi Dandy,
    Please disable the above code and WordPress email will start working.

    To disable the notifications for BuddyPress, we have a small plugin
    https://buddydev.com/plugins/bp-default-email-notification-settings-control/

    Please use it. It will start taking preference for new users. To update for existing users, Please use the button at the bottom of settings page of this plugin and It will set the preference for all users.

    Hope that helps. Please do let me know if it works for you or not?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25271

    Hi Alayna,
    Ravi will be away for a few more hours, so I am posting here.

    Since you have different elements, you will need to bind to ‘bpln:new_notifications’ event in javascript and handle it as you wish.

    Please see the code below to find what data you can access
    https://github.com/sbrajesh/bp-live-notification/blob/master/assets/js/bpln.js#L128

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25271

    Hi Alayna,
    I am sorry for the inconvenience. Is there any chance that you network activated MediaPress?
    I don’t see any reason why there will be an error like this except there is an empty setting throwing notice somewhere.

    Enabling WP_DEBUG will give you exact issue why it happened.

    Please do let me know more details.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25271

    Hi Dandy,
    I am sorry, I was having some issues and could not reply back.

    Please put the following code in your bp-custom.php

    
    //force BuddyPress to use wp_mail
    add_filter( 'bp_email_use_wp_mail', '__return_true');
    //override wp_mail
    if ( ! function_exists( 'wp_mail' ) ) :
        function wp_mail( $to, $subject, $message, $headers = '', $attachments = array() ) {
            //don't do anything
        }
    
    endif;
    
    

    It will stop all email. After you are done with importing, please make sure to remove the code snippet.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25271

    Hi Andrew,
    Welcome to BuddyDev.

    Thank you for posting the question.

    Though the javascript approach is fine, and I have also posted similar snippets earlier on our forum, Let us see another easy approach today.

    Instead of doing things in javascript, Let us hide the fields you don’t need using css. I hope, yopu can do that step without my help(using display:none in css)

    Now, Here is a fail-proof method. You will need to put this snippet in your bp-custom.php

    
    
    function buddydev_check_update_signup_fields() {
    
        //you can access the superglobal $_POST and set values in it too
        //for example
        $_POST['field_1140'] = $_POST['field_960'];
    
        //and so on
    
    }
    add_action( 'bp_signup_pre_validate', 'buddydev_check_update_signup_fields' );
    
    

    Please give it a try and let me know if this works or not?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25271

    Hi Kieran,
    You are most welcome.

    If you plan local notifications, you will need to use bp_notifications_add_notification() to add new notification and please remember to register a dummy component to allow you format notifications for the users.

    Please do let me know how it went, I will be happy to assist.

    Thank you
    Brajesh