Recent content by Mike Tougeron

  1. Mike Tougeron

    Add-on Amazon S3 file uploads

    BTW, FYI, I test this using the AWS php-sdk-2 and it is *way* slower than using ZF1's stream wrapper. Has something to do with the way Guzzle does the HEAD check for if the file_exists.
  2. Mike Tougeron

    Add-on Amazon S3 file uploads

    One of the code event listeners (admin.php?code-event-listeners) you can use is init_dependencies. Inside the class/method you have that listener execute is where you would register the S3 stream wrapper.
  3. Mike Tougeron

    Add-on Amazon S3 file uploads

    It actually probably belongs inside the dependencies hooks.
  4. Mike Tougeron

    XF 1.1 Why is the xf_session table MyISAM instead of InnoDB?

    Yeah, innodb worked fine for me. Like @Mike said it was a little slower but for our needs it was fine.
  5. Mike Tougeron

    XF 1.2 Post Edit History and Logging

    For the size of our xf_post table we'll probably need to take a minor outage for it. I talked with Percona tonight and Vadim wasn't confident that we wouldn't have problems. I'm going to test it though to see.
  6. Mike Tougeron

    Ign forum?

    I love XenForo and I'm super happy they're doing releases again. :)
  7. Mike Tougeron

    Which localhost server do you use for xenForo?

    I use the ZendServer community edition on OSX. It covers everything and is super easy to maintain.
  8. Mike Tougeron

    Ign forum?

    We did a bunch of little modifications to the templates & EXTRAS.css but not really that much in the grand scheme of things. We did have to make a few tweaks to the core XenForo but most of our needs were later added to the core project. ha! I wish! (y)
  9. Mike Tougeron

    XF 1.2 Post Edit History and Logging

    doh. :( Thank goodness for pt-online-schema-change. :)
  10. Mike Tougeron

    XF 1.2 Post Edit History and Logging

    Out of curiosity, will this change require a structure change to xf_post or will it be entirely new tables?
  11. Mike Tougeron

    Add-on Amazon S3 file uploads

    Yeah, that'd work too. I just threw that idea out there for you off the top of my head. I haven't written our actual script yet; that's something I'm going to try to do early next week.
  12. Mike Tougeron

    Add-on Amazon S3 file uploads

    It'd be something like $baseDir = '/original/path/to/xenforo/data/attachments'; for ($i = 0; $i < 1000; $i++) { $files = scandir($baseDir . '/' . $i . '/'); foreach ($files as $file) { if ( is_file($baseDir . '/' . $i . '/' . $file) ) { copy($baseDir . '/' . $i ...
  13. Mike Tougeron

    Fixed Enable streams for Internal/External data paths

    For those looking for the rest of the implementation details: http://xenforo.com/community/threads/amazon-s3-file-uploads.47008/#post-506487
  14. Mike Tougeron

    Add-on Amazon S3 file uploads

    So hopefully my changes will get accepted into the core, but to do this it doesn't actually need a full fledged add-on; yippee! - Follow the changes mentioned in http://xenforo.com/community/threads/enable-streams-for-internal-external-data-paths.47011/ - Change your config to point to your...
  15. Mike Tougeron

    Fixed Enable streams for Internal/External data paths

    There were just a couple of other changes that I needed to make in order for this to work. File: XenForo_Helper_File method: createDirectory() This makes it so that the file being checked keeps the trailing / which is needed for the Zend_Service_Amazon_S3_Stream class to recognize that you...
Top Bottom