• Resolved graphichome

    (@graphichome)


    Hi. Love the plugin. Would love the ability to limit the upload size and number of items someone can upload. I can control this for items getting uploaded into the standard WordPress Uploads folder but these parameters do not apply to items uploaded through the forum plugin. This is a serious issue and could cause a website to be non responsive or crash if someone decided to be a jerk and upload a 500GB file and a number of files with a significant total size. Would be great to allow us two fields to enter these two parameters in the settings.

    Love what you are doing with the plugin and myself and others would be eternally grateful if you would close this security gap.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Asgaros

    (@asgaros)

    Hello @graphichome

    Those are some good points. I will check this and give you more information when I implemented it so I can hopefully include it in the next release.

    Regards,
    Thomas

    Plugin Author Asgaros

    (@asgaros)

    Hello again, @graphichome

    In the last commits I added two more configuration options which allows you to set the maximum files per post and the maximum file size. The default values will be set to five files with a allowed size of 5 megabytes for each of them.

    You can find the changes in the current development version of the plugin:
    https://github.com/Asgaros/asgaros-forum

    This new options will be also available in the upcoming v1.3.5 release which will be available on tuesday.

    Thread Starter graphichome

    (@graphichome)

    Thank you for the quick work. I downloaded the development version but it seems that it removed all of my forums and it won’t save any forums that I create. I deactivated the original plugin and uploaded the new one from GitHub.

    Plugin Author Asgaros

    (@asgaros)

    Hello @graphichome

    There was a little bug in the database upgrade-logic. Nothing got deleted. Please download the latest development-version again because I applied a bugfix for this. After it have a look in your database in the wp_options table and set the value of the option asgarosforum_db_version from 6 back to 5. Reload the forum and it should work again.

    Please inform me after it if everything is working fine again. Sorry for the circumstances!

    Thread Starter graphichome

    (@graphichome)

    Many thanks for updating your plugin with the file size and quantity restriction settings. Works like a charm. One other small issue came up when testing. When a user subscribes to a topic they will get an email whenever someone posts a reply. The email that the user gets needs some modifications.

    The email starts as follows:
    ——-
    Hello,

    you got this mail because there is a new answer in a forum-topic you have subscribed to:
    ——-
    The first sentence needs to be modified a bit. First it starts with a lower case letter and should be a initial cap. But more importantly, the grammer needs a bit of work. Below would be a more appropriate start to the message.
    ——-
    Hello,

    You received this message because there is a new answer in a forum-topic you have subscribed to:
    ——-
    I am happy to make the modification on my end if you could lead me to the location and file where this statement is generated from.
    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Controlling upload file size and quantity’ is closed to new replies.