LOL. I have Rackspace as my host but I use Amazon Cloudfont as I don't see why Rackspace is better.WTB Rackspace supported too!
LOL. I have Rackspace as my host but I use Amazon Cloudfont as I don't see why Rackspace is better.WTB Rackspace supported too!
LOL. I have Rackspace as my host but I use Amazon Cloudfont as I don't see why Rackspace is better.
That would fit. This is my first purchased add-on. Only because I haven't migrated to xF yet though.I think this is xfrocks first paid addon
I don't want to completely replace that method. May cause trouble if another addon do the same thing. If I do it that way, I can't blame the other dev for the conflict!One thing I noticed when briefly looking at your code is that you're intercepting the error xF would show when a file cannot be found or accessed. I suppose that's why you said initially that files cannot remain on the server if they are to be served from S3/CloudFront.
I wonder... why not skip calling the parent of Attachment::actionIndex()? The only thing the parent class does before throwing the above mentioned error is to validate the attachment Id and check access permissions through the attachment model. You could do that in your subclass and completely skip calling the parent here. Then you could also allow for files to coexist on the server (well, I suppose you'd also have to modify your datawriter to allow attachments to be saved on both, S3 and the server). You could make it an option "keep files on server", for the true paranoid among us. Just in case you run out of ideas how to improve this nice add-on...
great stuff
How about including support to load CSS and other static images like logos, from AWS?
I'd really wish to have this option too, and also allow to specify files types with that option. It'll then be a must-buy for us.You could make it an option "keep files on server", for the true paranoid among us.
I'd really wish to have this option too, and also allow to specify files types with that option. It'll then be a must-buy for us.
Also, any considerations for storing videos?
That's great, thanks xfrocks!Video files are supported. In fact, all filetypes are supported
You can move the files back from S3/FTP server anytime.
Compatibility with [bd] Attachment Store:
Thank you to xfrocks who advised on a number of suggestions to ensure compatibility with Xen Media Gallery and the amazing [bd] Attachment Store add-on.
One of the killer features of [bd] Attachment Store is that it allows you to store forum attachments in Amazon S3 + CloudFront. As Xen Media Gallery leverages the power of the XenForo attachment system, you can now use the gallery in conjunction with Attachment Store to serve up your media items from Amazon S3 and other storage.
0.9.8 (05-05-2013)
Immediately available at xfrocks.com!
- 0.9.8/1 Added "Keep Local File" option (Amazon S3, FTP)
- 0.9.8/2 Improved support for Content-Deposition header (Amazon S3)
Can you please consider to allow files be saved, with file types specifying, on both Amazon S3 AND host server, as an OPTION? I'm a true paranoid in this...
Because you asked so nicely... v0.9.8 has just been released and included "Keep Local File" option
Purchased. Though I still won't be able to test it out for a while...
We use essential cookies to make this site work, and optional cookies to enhance your experience.