BuddyDev

Search

Replies

  • Participant
    Level: Enlightened
    Posts: 57

    Hello Brajesh,
    I have Buddypress version 14.1.0.

  • Participant
    Level: Enlightened
    Posts: 57

    Hello Brajesh,

    Sorry to open an old question.

    Previously I uploaded images to Mediapress to test the storage quota restriction and the result was that the quota seemed to fill early unexpectedly even if the uploaded file size was smaller than the restriction eg it said it was filled at 3mb when the restriction was 5mb). The answer was that the storage looks at not just the size of the uploaded file, but the total stored items including subsizes of, say, thumbnails. This made sense.

    However, I tested it again with audio files (without the third party storage limiter plugin) and I can upload more than the restricted amount ie I uploaded 15mb of files (one 7mb mp3 file, and one 8mb mp3 file) with a 10mb restriction, and only when I tried to upload a third file did it say I have run out of storage space.

    As a reminder, I am the admin, it is a normal site (not a multisite), and I am using Litespeed cache. I now have WordPress 6.6.2 and Mediapress 1.5.9.
    Thank you

  • Participant
    Level: Enlightened
    Posts: 57

    Hi Ravi,

    For the audio compatibility, I am not that familiar with sound hosting sites so don’t know a lot of them. I tested another random site, https://audio.com/ but it is also not supported. That is why I thought maybe rather than testing very single site I find, you would know which one might actually work. If not, I will just look for some sites and test them individually until I find one that works.

    And as for the video, it works now. Oembed was already enabled but earlier there was no place to add the video link. I tested it now and it is all good.

    Thank you
    Stephanie

  • Participant
    Level: Enlightened
    Posts: 57

    Thank you Ravi for the explanation. In that case, is there another platform that Mediapress would support for attaching audio to via a link so users can attach audio files with? Also, I noticed that there is no function to add videos via a link on Mediapress. Will this be added in the future? Videos use even more space than audio so I would prefer not to allow video uploads or host it on my site.

  • Participant
    Level: Enlightened
    Posts: 57

    Hello Brajesh,

    Unforturnately I can’t activate debug mode for some reason. Could you simply tell me if I can safely manually delete the plugin folder from my wp-content/plugin directory? And would there be any undelted files in other folders and databases? I simply want to delete all the plugins and start over without deleting my site and starting from scratch.

    Edit: In case it is relevant, I tried to activate debug mode by changing the
    define( 'WP_DEBUG', false ) to true but this line wasn’t in the wp-config.php at all for some reason, so I added it manually and there was no effect.

    Thanks

    • This reply was modified 3 months, 3 weeks ago by Stephanie. Reason: Add detail
  • Participant
    Level: Enlightened
    Posts: 57

    Thank you Brajesh and Ravi for the reply. I will test it out.

  • Participant
    Level: Enlightened
    Posts: 57

    Hi Ravi,

    Thanks for bringing it to my attention, I did not know about it. I’ve marked this thread as resolved.

  • Participant
    Level: Enlightened
    Posts: 57

    I can’t edit my previous messages so here is a new one: I uploaded 3.48mb worth of images before I got the message “You have 0% of your 5MB space left”. I checked the folder, and 3 subsizes for each image was created, in the folder, there were 5.09MB of images. There are no adverse effects to the way images are displayed if I delete the excess subsizes, but, after I deleted the excess images, the total amount of space that the left over images take up is 4.03MB, which is less than the 5MB limit I set, yet on the front end, it still says “You have 0% of your 5MB space left”. I am testing this on a brand new installation of Buddypress so I don’t have any other non-Buddypress conflicting plugins. I’ve cleared the cache and logged out and back in.

  • Participant
    Level: Enlightened
    Posts: 57

    Hi Brajesh

    I have a follow-up question. As you said, the storage calculation is based on the total storage, and includes subsizes. I checked all the uploaded files in the backend in the uploads/mediapress/members/User ID folder, and there were several sized variations of the same image. Is there a way to prevent the file from being created in multiple sizes to reduce storage space? I manually deleted the extra ones and there seems to be no adverse effects.

  • Participant
    Level: Enlightened
    Posts: 57

    I looked at the “uploads/mediapress/members/User ID” location and found other images uploaded previously. It seems they did not show up even though they were uploaded, but because I could not delete them (due to fatal error when I try), it counts towards the storage quota.

    That is about all I can do on my side. Can I just confirm with you, is this something to do with Mediapress that can be fixed? or something on my end that I am doing wrong eg a conflicting plugin? Just wondering if I need to abandon this or if you will still be able to look into it.

    Thank you
    Stephanie