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: 25400
    Brajesh Singh on in reply to: Importing images crashes my website #16420

    Please enable WP_DEBUG and let me know the log message. It could be file permissions issue. I don’t see any other reason.

    Also, Please do not use ‘mpp_import_attachment’ this way. It does not import file. Its purpose is to import a WordPress attachment(with id).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25400

    Hi Herve,
    The log is still showing the old query.Are you sure you have used the updated version?

  • Keymaster
    (BuddyDev Team)
    Posts: 25400
    Brajesh Singh on in reply to: mpp Moderator – Tweaks #16418

    That is a correct screen. It shows the log of reports. Since you have auto moderation on, It shows only one log.

    In case of non auto moderation, it will show you a log of all the user reports.

    If you want to visit the image from the very first screen, Please click on the “View” link below the image that appears on the first screen.

  • Keymaster
    (BuddyDev Team)
    Posts: 25400

    Hi Herve,
    I have fixed the query. Please use the updated plugin.
    https://github.com/buddydev/bp-featured-member-expirable-membership

    Regard
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25400
    Brajesh Singh on in reply to: mpp Moderator – Tweaks #16409

    Hi George,

    By 2, do you mean this screen

    https://i.imgur.com/ojFiGnK.png

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25400

    Hi George,
    We show this message when the upload is not enabled for the Component/component_id combination.

    If you are using the shortcode, have you specified the component? If possible, Please share the shortcode.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25400
    Brajesh Singh on in reply to: mpp Moderator – Tweaks #16406

    Hi George,
    Please allow me to look into this.

    1. It was added on the request of one of our earlier users. I will add an option to exclude.
    2. It seems a bug with recent MediaPress update.

    I will have a solution in couple of hours.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25400
    Brajesh Singh on in reply to: How to send a message to all users #16405

    Hi Daniel,
    Please allow me to look into the plugin today. There must be a way.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25400
    Brajesh Singh on in reply to: Importing images crashes my website #16404

    Hi Andrew,
    Please use mpp_template_redirect instead of init. At init, not everything is setup. So, It might cause some issue.

    
    function mpp_custom_deregister_default_gallery_view() {
    	mpp_import_attachment('/opt/bitnami/apps/wordpress/htdocs/imageupload/uploads/image~2.jpeg', 40690);
    }
    
    add_action( 'mpp_template_redirect', 'mpp_custom_deregister_default_gallery_view', 11 );
    
    

    Also, your code was missing a quotation (‘). The file path should be a valid strig. In your case, It was not valid. So, That might be throwing error.

    The best way to debug is to set WP_DEBUG true in wp-config.php while developing.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25400

    You are welcome. I am glad it is back. I will still suggest finding the root cause and fixing it for future 🙂