Support » Plugin: Upload Quota per User » User Limitations affecting excluded accounts

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author daniyalahmedk

    (@daniyalahmedk)

    Hi Okay i will check it and get back to you.

    Hi
    Im still waiting on a fix for this? Any news?
    Thanks.

    Im still waiting for a fix for this issue. Not sure what the deal is. After I left a positive review for this plugin the support has stopped.

    Plugin Author daniyalahmedk

    (@daniyalahmedk)

    Hi just want to let you know we are volunteers, that contribute to WordPress project. I am really busy now a days, will check this plugin issue that you have mentioned when i get a chance.

    Hi,

    Thank you very much @daniyalahmedk for this plugin.

    It covers a crucial issue and I think it’s the only one that offers a solution for that.

    If you run a community and you plan to let everyone to upload images to your site, then this plugin is a must have.

    But yes, I’m having the same problem with administrator restrictions.

    Anyway, thank you very much for this essential plugin.

    Plugin Author daniyalahmedk

    (@daniyalahmedk)

    Thank you – so you mean your applied restriction is also applying on Admin accounts?

    juju

    (@jujupasdebol)

    Hi, it is the same for me, I am admin and I can’t pass thru the limit.

    juju

    (@jujupasdebol)

    Hello, in fact it doesn’t work at all : when you use the “new way” to upload files, (flash mode) you can’t upload anything even if you are an admin.
    If you use the “old way” to upload files (navigtor mode) anyone can pas thru the limit !!!

    Sorry for this, because it was a good idea of plugin… Very usefull !!!

    Hi Guy, Sory my bad english.
    I’m try to fix this problem.
    It spent 1 days in my time, with minimal code
    Luckyly it done.

    Here is fixed code:
    ******************************************
    In “upload-quota-per-user.php” file

    – Find inline 68:
    Replace
    $passCapab=FALSE;
    With

    global $passCapab;
    $passCapab=FALSE;

    – Find function uqpu_max_upload_size()

    Replace function:

    function uqpu_max_upload_size() { if(get_option('uqpu_single_file_size')) return 1024*1024*get_option('uqpu_single_file_size'); else return 1024*1024*64;
    }

    With:

    function uqpu_max_upload_size() {
    	global $passCapab;
     if(get_option('uqpu_single_file_size') && !$passCapab) return 1024*1024*get_option('uqpu_single_file_size'); else return 1024*1024*64;
    }

    I hope it work with you 🙂

    juju

    (@jujupasdebol)

    Hello,

    Thank you for your help !

    It works for me !!!!

    🙂
    🙂
    🙂

    • This reply was modified 2 years, 2 months ago by  juju.
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘User Limitations affecting excluded accounts’ is closed to new replies.