Support » Plugin: BuddyPress Activity Plus » How to Set Maximum Upload File Size

Viewing 14 replies - 1 through 14 (of 14 total)
  • Hi @sweetmelody,

    Maximum upload size is a server/PHP setting that cannot be changed inside WordPress, you need to change the setting on your server.

    A quick Google and I’ve found the following article for you, which explains how to change the setting… although it might be necessary to contact your hosting provider.

    How to Increase the Maximum File Upload Size in WordPress

    Hope that helps!

    This plugin should be easier but I hope Buddypress Activity Plus can add a new feature to limit the maximum upload image size just for the BP users. So the admin or authors of the site can carry on posting larger images to the blog.

    …wait a minute, according to the your changelog 1.4 ‘Added image limit define’, where can I find the setting, is this the feature where I can limit the maximum upload file size?

    Thank you!

    Hello there @sweetmelody,
    I believe that define is about the number of images that can be attached in a single post… and if I’m not mistaken the default value is 5.




    Go to lib\external\file_uploader.php

    Line 65 var $sizeLimit = 10485760;

    Line 68 function __construct(array $allowedExtensions = array(), $sizeLimit = 10485760){

    just change the limit. to avoid errors uses a byte converter web





    Hi @lordgault,

    Where can I find the directory below? Is that MAMP, WordPress, PHP..?


    Thank you 🙂

    @maddiemaddie,just inside the Buddypress Activity Plus folder. Go to wp-content\plugin\buddypress-activity-plus\lib\external\file_uploader.php



    Thanks @lordgault for chiming in and offering assistance.

    @maddiemaddie, did you manage to fix the limit issue ?


    Editing the file_uploader.php file settings to limit the maximum upload size works okay for limited scenarios… but is there any way to resize the upload to a smaller image file size on the fly, then delete the original larger file? I will be having most users upload from their mobile phones to a group (which sizes may be in the megabytes per upload). This is a massive hassle if they need to resize before uploading (and I don’t think most people will manually do this anyway). Please help. I’m hoping this is in development or someone has a workaround. Thank you very much in advance. This is an awesome plug-in, but I really need this feature. I’m sure others do too.

    I attempted to change my limit directly on my server, then in the .htaccess file and then in wp-config.php but neither change worked for me. Then I came across this little snippet help me sort the issue.


    For loading files myself
    I just accessed this file “/public_html/wp-content/uploads/2013/11”
    I uploaded the file I wanted to this folder through FTP.
    I could access it using a link like:

    Doesn’t show up in the media library but it works fine. Will work for an occassional file that’s to big that I need to upload but limited still to what others can upload from the blog.

    J K


    Hi all,

    Thanks for all the additional information and for sharing the various work arounds that have been used for this issue 🙂

    The solution here should work for most.

    As this is a server side thing and not something that can really be set/defined within the plugin.

    We’re here to help with any issues 🙂


    Kind Regards

    The solution here should work for most.

    this worked most of the time

    Aehh guys I tried several solutions.. THAN I figured out I easily can change this settings in my Plesk even I have only a V server….
    But it doesnt means it`s working for you too because all Servers are different…

    Im using plesk on debian 7 with joomla, drupal and wordpress

    Here are the screen shots I made…

    Thank you…

    It would seem logical to be able to do this only for some users – ie anyone who’s less than an editor. Authors generally have zero understanding as to why that 3 Meg photo is a bad thing to upload. But editors may occasionally have a good reason to go big.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘How to Set Maximum Upload File Size’ is closed to new replies.