1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

******* - Limit Resource Downloads [Paid] [Deleted]

Discussion in 'Add-on Releases' started by Brivium, Apr 24, 2014.

Thread Status:
Not open for further replies.
  1. Brivium

    Brivium Well-Known Member

    ******* submitted a new resource:

    ******* - Limit Resource Downloads - This addon adds the ability to limit the number of resources users can download per period.

    Read more about this resource...
     
    Bram likes this.
  2. Brivium

    Brivium Well-Known Member

  3. Brivium

    Brivium Well-Known Member

  4. Bram

    Bram Well-Known Member

    Would it be possible to tweak this mod so that a daily bandwidth cap can be installed?
     
    otto likes this.
  5. otto

    otto Well-Known Member

    Hello, i also interested in a:

    limit resource download by download quota (MB eg)

    is this possible?

    regards
     
  6. Brivium

    Brivium Well-Known Member

    @Bram & @otto We added your request to implement lists and upgrade version will be released shortly.
     
    otto likes this.
  7. otto

    otto Well-Known Member

    Ok, i can also buy this addon and hope you implement this in a next release? :)
     
  8. Brivium

    Brivium Well-Known Member

    Bram likes this.
  9. otto

    otto Well-Known Member

    Ha !:D
    Thanks for implementing my request - i will now try out the new release. :)
     
  10. otto

    otto Well-Known Member

    By any, but not all resources i become this error on frontend:

    and in backend:
    PHP:
    #0 [internal function]: XenForo_Autoloader->autoload('XFCP_*******_Li...')
    #1 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/*******/LimitResourceDownloads/Model/Attachment.php(3): spl_autoload_call('XFCP_*******_Li...')
    #2 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/XenForo/Autoloader.php(119): include('/var/www/vhosts...')
    #3 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/XenForo/Application.php(1001): XenForo_Autoloader->autoload('*******_LimitRe...')
    #4 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/XenForo/Application.php(451): XenForo_Application::autoload('*******_LimitRe...')
    #5 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/XenForo/Model.php(189): XenForo_Application::resolveDynamicClass('*******_LimitRe...', 'model')
    #6 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/XenForo/Controller.php(101): XenForo_Model::create('*******_LimitRe...')
    #7 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/*******/LimitResourceDownloads/ControllerPublic/Resource.php(13): XenForo_Controller->getModelFromCache('*******_LimitRe...')
    #8 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/FireDaemon/ResourceManager/ViewCount/ControllerPublic/Resource.php(14): *******_LimitResourceDownloads_ControllerPublic_Resource->actionView()
    #9 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/XenForo/FrontController.php(347): FireDaemon_ResourceManager_ViewCount_ControllerPublic_Resource->actionView()
    #10 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #11 /var/www/vhosts/zetor-forum.de/httpdocs/forum/index.php(13): XenForo_FrontController->run()
    #12 {main}
    PHP:
    array(3) {
      [
    "url"] => string(68"http://www.zetor-forum.de/forum/resources/druckbegrenzungsventil.23/"
      
    ["_GET"] => array(0) {
      }
      [
    "_POST"] => array(0) {
      }
    }

    Whats wrong? I have uploaded all files and updated the addon. Should i make a new install?

    Edit: i use xenforo 1.3.3 and the actual resource manager version
     
  11. otto

    otto Well-Known Member

    Hm ... a new, clean install after uninstall brings up the same errors by a part of my existing resources, not for all resources.

    And how can i select the categories like in the 1.0.2 ? I dont see a option for this.
     
  12. Brivium

    Brivium Well-Known Member

    We changed to resource category permission. You can grant permission for specific RM category .

    Regards,
     
    otto likes this.
  13. Brivium

    Brivium Well-Known Member

  14. otto

    otto Well-Known Member

    Hello,

    with the newest Release (1.1.1) i have this error, multiple time...

    Code:
    Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'file_size' in 'field list' - library/Zend/Db/Statement/Mysqli.php:77
    PHP:
    #0 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('????SELECT SUM(...')
    #1 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '????SELECT SUM(...')
    #2 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('????SELECT SUM(...')
    #3 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/Zend/Db/Adapter/Abstract.php(825): Zend_Db_Adapter_Abstract->query('????SELECT SUM(...', Array)
    #4 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/*******/LimitResourceDownloads/Model/Attachment.php(119): Zend_Db_Adapter_Abstract->fetchOne('????SELECT SUM(...', Array)
    #5 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/*******/LimitResourceDownloads/Model/Attachment.php(97): *******_LimitResourceDownloads_Model_Attachment->sumFileSizeResourceDownloadInTime(486, 1407763350)
    #6 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/*******/LimitResourceDownloads/ControllerPublic/Resource.php(15): *******_LimitResourceDownloads_Model_Attachment->brCouldResourceDownload(1, '')
    #7 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/FireDaemon/ResourceManager/ViewCount/ControllerPublic/Resource.php(14): *******_LimitResourceDownloads_ControllerPublic_Resource->actionView()
    #8 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/XenForo/FrontController.php(347): FireDaemon_ResourceManager_ViewCount_ControllerPublic_Resource->actionView()
    #9 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #10 /var/www/vhosts/zetor-forum.de/httpdocs/forum/index.php(13): XenForo_FrontController->run()
    #11 {main}
    Code:
    array(3) {
      ["url"] => string(70) "http://www.zetor-forum.de/forum/resources/bedienungsanleitung-zetor.1/"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(0) {
      }
    }
    I use xenforo 1.4.0 with the actual resource manager 1.1.4 The resource above is only a external link to a download. Any Idea?
     
    Last edited: Sep 10, 2014
  15. Brivium

    Brivium Well-Known Member

  16. otto

    otto Well-Known Member

    Hello again,

    the error i reported above, is already here - also with the newest version 1.1.2, RM 1.1.4 and XF 1.4.1:

    brivium_01.png

    Error Log:

    Code:
    Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'file_size' in 'field list' - library/Zend/Db/Statement/Mysqli.php:77
    Generated By: Joachim, A moment ago
    PHP:
    #0 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('????SELECT SUM(...')
    #1 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '????SELECT SUM(...')
    #2 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('????SELECT SUM(...')
    #3 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/Zend/Db/Adapter/Abstract.php(825): Zend_Db_Adapter_Abstract->query('????SELECT SUM(...', Array)
    #4 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/*******/LimitResourceDownloads/Model/Attachment.php(119): Zend_Db_Adapter_Abstract->fetchOne('????SELECT SUM(...', Array)
    #5 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/*******/LimitResourceDownloads/Model/Attachment.php(97): *******_LimitResourceDownloads_Model_Attachment->sumFileSizeResourceDownloadInTime(2, 1408952662)
    #6 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/*******/LimitResourceDownloads/ControllerPublic/Resource.php(96): *******_LimitResourceDownloads_Model_Attachment->brCouldResourceDownload(35, '')
    #7 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/XenForo/FrontController.php(347): *******_LimitResourceDownloads_ControllerPublic_Resource->actionDownload()
    #8 /var/www/vhosts/zetor-forum.de/httpdocs/forum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #9 /var/www/vhosts/zetor-forum.de/httpdocs/forum/index.php(13): XenForo_FrontController->run()
    #10 {main}
    PHP:
    array(3) {
      [
    "url"] => string(93"http://www.zetor-forum.de/forum/resources/resource-with-big-download.133/download?version=132"
      
    ["_GET"] => array(1) {
        [
    "version"] => string(3"132"
      
    }
      [
    "_POST"] => array(0) {
      }
    }
    Is there a missing column in my table or a other error?
     
  17. otto

    otto Well-Known Member

    Ok - i found it now by my self...

    Why ever, in the table xf_br_resource_download the column file_size has not exist. I make this column by hand:

    PHP:
    ALTER TABLE xf_br_resource_download ADD file_size INT(10AFTER download_user_id;
    and test again... Now i have no new error message or error log entry.

    I have bevor ever made a upgrade when a new version of resource limit come out and no new install - is there my mistake?
     
  18. Allan

    Allan Well-Known Member

    I have buy this add-on, but when i want add my domain for download, i have this message:

    Sorry, you need purchase license of Limit Resource Downloads first
     
  19. Allan

    Allan Well-Known Member

    Suggestion: highlight this expression ("You have reached your limit for performing this action"), for example under the button "Download" instead of the tooltip.
     
  20. Allan

    Allan Well-Known Member

    Invalid License of ******* :mad:
     
Thread Status:
Not open for further replies.

Share This Page