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

[TH] Resource Events 1.2.5a

Create events in the resource manager, including the ability for users to say if they are coming.

  1. Jon W

    Jon W Well-Known Member

    Waindigo submitted a new resource:

    Resource Events by Waindigo - Create events in the resource manager, including the ability for users to say if they are coming.

    Read more about this resource...
     
    Last edited: Jan 21, 2014
    gfc and TBDragon like this.
  2. TBDragon

    TBDragon Active Member

    thanks for the nice addon

    hope i can use it when i need it ^_^

    just wana say thanks for ur hardwork ^_^
     
    Jon W likes this.
  3. gfc

    gfc Active Member

    This looks very promising, i'll have to play,around with that.
     
    Jon W likes this.
  4. bt012ss

    bt012ss Well-Known Member

    Good Morning, after installing i get this error when i start the RM.
    Any idea?

    Code:
    Server Error
    
    Mysqli prepare error: Unknown column 'event.rsvp' in 'field list'
    
        Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
        Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
        Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
        Zend_Db_Adapter_Abstract->query() in XenForo/Model.php at line 219
        XenForo_Model->fetchAllKeyed() in XenResource/Model/Resource.php at line 112
        XenResource_Model_Resource->getResources() in XenResource/ControllerPublic/Resource.php at line 120
        XenResource_ControllerPublic_Resource->actionIndex() in Waindigo/ResourceEvents/Extend/XenResource/ControllerPublic/Resource.php at line 14
        Waindigo_ResourceEvents_Extend_XenResource_ControllerPublic_Resource->actionIndex() in XenForo/FrontController.php at line 347
        XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
        XenForo_FrontController->run() in /home/www/doc/www/xenforo/index.php at line 13
    
     
    Jon W likes this.
  5. Jon W

    Jon W Well-Known Member

    bt012ss and Vũ Thành Phong like this.
  6. bt012ss

    bt012ss Well-Known Member

    With the update it will run, thank you :)
     
  7. gfc

    gfc Active Member

    Adding a Resource without a file get's me the following error:

    Undefined variable: resourceFileType
    1. XenForo_Application::handlePhpError() in Waindigo/ResourceEvents/Extend/XenResource/DataWriter/Resource.php at line50
    2. Waindigo_ResourceEvents_Extend_XenResource_DataWriter_Resource->_preSave() in XenForo/DataWriter.php at line 1434
    3. XenForo_DataWriter->preSave() in XenForo/DataWriter.php at line 1373
    4. XenForo_DataWriter->save() in XenResource/DataWriter/Version.php at line 224
    5. XenResource_DataWriter_Version->_postSave() in XenForo/DataWriter.php at line 1397
    6. XenForo_DataWriter->save() in XenResource/DataWriter/Resource.php at line 477
    7. XenResource_DataWriter_Resource->_postSave() inWaindigo/ResourceEvents/Extend/XenResource/DataWriter/Resource.php at line 158
    8. Waindigo_ResourceEvents_Extend_XenResource_DataWriter_Resource->_postSave() in XenForo/DataWriter.php at line 1397
    9. XenForo_DataWriter->save() in XenResource/ControllerPublic/Resource.php at line 1085
    10. XenResource_ControllerPublic_Resource->actionSave() inWaindigo/ResourceEvents/Extend/XenResource/ControllerPublic/Resource.php at line 162
    11. Waindigo_ResourceEvents_Extend_XenResource_ControllerPublic_Resource->actionSave() in XenForo/FrontController.php at line 347
    12. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    13. XenForo_FrontController->run() in /var/customers/webs/prdev/index.php at line 13
     
  8. gfc

    gfc Active Member

    Same goes by uploading a file or posting a link. so, everything exept a event ;-)
     
  9. Code Monkey

    Code Monkey Well-Known Member

    This looks good. Still some bugs though?
     
  10. Jon W

    Jon W Well-Known Member

  11. Code Monkey

    Code Monkey Well-Known Member

    I must be doing something wrong. I made a category to be an event category but I don't see anything other than a normal resource. Nothing about dates and all that.
     
  12. Jon W

    Jon W Well-Known Member

    Can you post screenshots please?
     
  13. Code Monkey

    Code Monkey Well-Known Member

    Screen shots of what. The forms are the exaxt same as a regular resource There is noting in there about event dates ans such.
     
  14. Andrej

    Andrej Well-Known Member

    Have you enabled events in "Allowed Resource Types"? It works for me on XenForo 1.2.4 and XenForo Resource Manager 1.1.1.


    Скриншот 2014-01-26 15.01.11.png Скриншот 2014-01-26 15.01.28.png
     
  15. Code Monkey

    Code Monkey Well-Known Member

    Yep all enabled. I don't see that second part though.
     
  16. Code Monkey

    Code Monkey Well-Known Member

    Ok here is the problem. It does not work if you want it to be an event only category and uncheck the normal file options. To me that's a bug. If you uncheck the top three it doesn't function.
     
  17. Code Monkey

    Code Monkey Well-Known Member

    It does work however in you uncheck the top three and also uncheck the "does not have a file" option as well.
     
  18. Code Monkey

    Code Monkey Well-Known Member

    I did a test event and some users had to be told where to go and RSVP when entering via the thread. I suggest having an RSVP tab for those that haven't declared their intention.
     
  19. Jon W

    Jon W Well-Known Member

    Sounds like a bug. Thanks.

    I probably just need to add a bigger button for RSVP-ing.
     
  20. Code Monkey

    Code Monkey Well-Known Member

    Woke up to 19 of these this morning. And there are some for each choice.

    PHP:
    Zend_Db_Statement_Mysqli_ExceptionMysqli statement execute error Duplicate entry '1-0' for key 'event_id_user_id' library/Zend/Db/Statement/Mysqli.php:214
    Generated By
    Unknown Account9 minutes ago
    Stack Trace

    #0 /home/mysite/public_html/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
    #1 /home/mysite/public_html/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
    #2 /home/mysite/public_html/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xf...', Array)
    #3 /home/mysite/public_html/library/XenForo/DataWriter.php(1612): Zend_Db_Adapter_Abstract->insert('xf_resource_eve...', Array)
    #4 /home/mysite/public_html/library/XenForo/DataWriter.php(1601): XenForo_DataWriter->_insert()
    #5 /home/mysite/public_html/library/XenForo/DataWriter.php(1393): XenForo_DataWriter->_save()
    #6 /home/mysite/public_html/library/Waindigo/ResourceEvents/Extend/XenResource/ControllerPublic/Resource.php(367): XenForo_DataWriter->save()
    #7 /home/mysite/public_html/library/XenForo/FrontController.php(347): Waindigo_ResourceEvents_Extend_XenResource_ControllerPublic_Resource->actionRsvp()
    #8 /home/mysite/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #9 /home/mysite/public_html/index.php(13): XenForo_FrontController->run()
    #10 {main}

    Request State

    array(3) {
      [
    "url"] => string(72"http://www.mysite.com/resources/test-event.74/rsvp?state=maybe"
      
    ["_GET"] => array(1) {
        [
    "state"] => string(5"maybe"
      
    }
      [
    "_POST"] => array(0) {
      }
     

Share This Page