What Do You Need In The Xf2 Xengallery Version? Vote for your choices here: http://www.sonnb.com/threads/what-do-you-need-in-the-xf2-xengallery-version.1539/

Question How To Remove 'everyone' From 'who Can Comment' Dropdown

Discussion in 'XenGallery' started by Russoroni, Mar 11, 2014.

  1. Russoroni

    Russoroni Member

    Anything you say my good man! You're the expert. I do what you say.
     
  2. Russoroni

    Russoroni Member

    Do I put the comma at the end? Like so: 'description' => , ???
     
  3. Russoroni

    Russoroni Member

    when I make this change that you suggest the thread pages won;t load. I get a blank screen
     
  4. Russoroni

    Russoroni Member

    Oh and guess what... I have cloudfront working 100% with xengallery! Its pretty great. Very fast. Uploads are really fast.
     
  5. sonnb

    sonnb Administrator Staff Member

    Yes,
    PHP:
    'description' => '',
     
  6. sonnb

    sonnb Administrator Staff Member

    Why is that :D
     
  7. Russoroni

    Russoroni Member

    Its alot faster than uploading directly to my server. Images load much faster too. I'm using Amazon S3 + Cloudfront together. I'm telling you it's much faster. Come check it out.
     
  8. Russoroni

    Russoroni Member

    Oh but wait a second... I only want to remove the description from the thread import.. Not the description when uploading directly to the gallery. Is that possible?
     
  9. sonnb

    sonnb Administrator Staff Member

    Of course. The above modification is for thread import only.
    So we have nothing to do with the issue while uploading to S3 + Cloudfront? :D
     
  10. Russoroni

    Russoroni Member

    What do you mean?
     
  11. sonnb

    sonnb Administrator Staff Member

    I mean so we do not have problem with cloudfront.
     
  12. Russoroni

    Russoroni Member

    Nope. Problem solved ;)
     
  13. Russoroni

    Russoroni Member

    Did you say something about a separate addon for the importing from thread? I'm very interested to hear more about this. Are you saying we can import without having to create duplicate files?
     
  14. sonnb

    sonnb Administrator Staff Member

    I mean, if you want, we (you and me) can create an addon that run cron job to auto move photos to S3.
     
  15. Russoroni

    Russoroni Member

    That's what I was thinking. Unless you have a better idea.
     
  16. Russoroni

    Russoroni Member

    just fyi... I'm still getting this error when i try to move

    Cannot read file /home/trailpeople/public_html/data/videos/o/0/36-1387169619-6c40a97ad345c4d3e73b46b8b130a936.jpg

    1. Zend_Service_Amazon_S3->putFile() in bdAttachmentStore/Model/File.php at line 164
    2. bdAttachmentStore_Model_File->_s3_saveFile() in bdAttachmentStore/Model/File.php at line 28
    3. bdAttachmentStore_Model_File->saveFile() in sonnb/XenGallery/DataWriter/ContentData.php at line 407
    4. sonnb_XenGallery_DataWriter_ContentData->moveContentData() in sonnb/XenGallery/DataWriter/Content.php at line 911
    5. sonnb_XenGallery_DataWriter_Content->rebuildCounters() in sonnb/XenGallery/CacheRebuilder/Content.php at line 77
    6. sonnb_XenGallery_CacheRebuilder_Content->rebuild() in XenForo/ControllerHelper/CacheRebuild.php at line 26
    7. XenForo_ControllerHelper_CacheRebuild->rebuildCache() in XenForo/ControllerAdmin/Tools.php at line 82
    8. XenForo_ControllerAdmin_Tools->actionCacheRebuild() in XenForo/FrontController.php at line 347
    9. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    10. XenForo_FrontController->run() in /home/trailpeople/public_html/admin.php at line 13
     
  17. Russoroni

    Russoroni Member

    Obviously this addon would have to rebuild the caches too.
     
  18. sonnb

    sonnb Administrator Staff Member

    I can do an option which can directly put photos to the Attachment Store if checked.
     

Share This Page