1 of 3
1
Simple S3 Upload Extension now on EE2 (current version: 1.2.1)
Posted: 25 May 2010 03:17 PM   [ Ignore ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1847
Joined  12-18-2008

We just released our latest ExpressionEngine add-on.  This add-on is similar to nGen File Field but offers a fair bit of control over your image resizing, thumbnail settings, and of course uploads the files to Amazon S3.

More information and complete documentation can be found at http://www.emarketsouth.com/add-ons/simple-s3-uploader/

The extension can be purchased through devot-ee.com

Edit: As of June 23 EE2 is supported. However, due to current limitations in EE2, third party fieldtypes cannot be easily used in SAEFs. We’re hoping that this limitation will be remedied but it is out of our control for the time being.

 Signature 

EE Pro Network
eMarketSouth - full service web design, development, and SEO
ExpressionEngine consulting services - SQL queries, .htaccess rewrites, template optimization, jQuery/AJAX, and more!
our add-ons - please “favorite” and rate our products on devot:ee if you like our work. smile

Profile
 
 
Posted: 25 May 2010 07:46 PM   [ Ignore ]   [ # 1 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  136
Joined  08-14-2008

Congrats on the release. Any chance of EE2 support?

Profile
 
 
Posted: 25 May 2010 10:17 PM   [ Ignore ]   [ # 2 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1847
Joined  12-18-2008
Ryan Faubion - 25 May 2010 11:46 PM

Congrats on the release. Any chance of EE2 support?

I’d say definitely, though I don’t know when exactly.  If there was a lot of demand we might be convinced to get it up and running on EE2 sooner rather than later wink

 Signature 

EE Pro Network
eMarketSouth - full service web design, development, and SEO
ExpressionEngine consulting services - SQL queries, .htaccess rewrites, template optimization, jQuery/AJAX, and more!
our add-ons - please “favorite” and rate our products on devot:ee if you like our work. smile

Profile
 
 
Posted: 26 May 2010 06:28 PM   [ Ignore ]   [ # 3 ]  
Summer Student
Total Posts:  15
Joined  07-23-2007

Hi and thanks for the extension. I’ve purchased it from devot-ee.
I’m using fieldframe 1.4.2 and Bucketlist so far, but i was searching for something simplier.

When I choose utils->fieldtypes manager the page goes blank.
I’ve tried switching off bucketlist but the problem is still here
I’ve tried also to look out to find some php error, but i have no clue…

Could you help me?

Thank you in advance.

Profile
 
 
Posted: 26 May 2010 06:50 PM   [ Ignore ]   [ # 4 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1847
Joined  12-18-2008

does your server run PHP 5 or PHP 4?  this extension requires PHP 5.

 Signature 

EE Pro Network
eMarketSouth - full service web design, development, and SEO
ExpressionEngine consulting services - SQL queries, .htaccess rewrites, template optimization, jQuery/AJAX, and more!
our add-ons - please “favorite” and rate our products on devot:ee if you like our work. smile

Profile
 
 
Posted: 27 May 2010 08:04 PM   [ Ignore ]   [ # 5 ]  
Grad Student
Avatar
Rank
Total Posts:  46
Joined  01-25-2008

This looks like a promising add-on! Just love the control…
I’m getting mine and will test it out tonight!

Thanks Ender!

 Signature 

David Couillard
Digital Convulsions - Web Design and Development

Profile
 
 
Posted: 28 May 2010 12:11 PM   [ Ignore ]   [ # 6 ]  
Summer Student
Total Posts:  15
Joined  07-23-2007

I’ve come to a solution.
Removing bucketlist seems to work.
I can see and configure the extension in Fiedtypes Manager now.

I’ve setup a weblog with the field and using the CP Publish form it’s just great.
It doesen’t seems to work in SAEF: the form saves the entry but it doesn’t upload anything.

I’ve used it like this:

{exp:weblog:entry_form}
{name_of_the_field}
{
/exp:weblog:entry_form} 

Any clue?

Thanks again.

Profile
 
 
Posted: 28 May 2010 12:25 PM   [ Ignore ]   [ # 7 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1847
Joined  12-18-2008

ah, I had forgotten to document one requirement of uploading files through a SAEF… sorry about that.

You’ll need an extension that modifies your SAEF form tag to include ‘enctype=“multipart/form-data”’.

the required extension is Simple SAEF Enctype and can be downloaded here

After installing this extension, simply add ‘enctype=“multi”’ to your weblog:entry_form tag.

for whatever it’s worth to everybody, here is some SAEF code that I used to test the fieldtype during development:

{exp:weblog:entry_form weblog="default_site" return="/" preview="/" enctype="multi"}
<p>Title<br />
<
input type="text" name="title" id="title" value="new entry title" size="50" maxlength="100"></p>
<
p>URL Title<br />
<
input type="text" name="url_title" id='url_title' value="new_entry_url_title" maxlength="75" size="50" /></p>

<
input type="hidden" name="entry_id" value="" />
<
input type="hidden" name="entry_date" value="{current_time format='%Y-%m-%d %g:%i %A'}" />

<
p>Upload File<br />{simple_s3_field_name_goes_here}</p>

<
input type="submit" name="submit" value="Submit" />

{/exp:weblog:entry_form} 
 Signature 

EE Pro Network
eMarketSouth - full service web design, development, and SEO
ExpressionEngine consulting services - SQL queries, .htaccess rewrites, template optimization, jQuery/AJAX, and more!
our add-ons - please “favorite” and rate our products on devot:ee if you like our work. smile

Profile
 
 
Posted: 29 May 2010 03:08 AM   [ Ignore ]   [ # 8 ]  
Summer Student
Total Posts:  15
Joined  07-23-2007

Now it works like a charm! smile
Thank You.

Profile
 
 
Posted: 08 June 2010 01:26 PM   [ Ignore ]   [ # 9 ]  
Grad Student
Avatar
Rank
Total Posts:  77
Joined  06-24-2009

Looks like a great extension! I was wondering if you could use Freeform instead of SAEF with this extension.

Profile
 
 
Posted: 08 June 2010 01:43 PM   [ Ignore ]   [ # 10 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1847
Joined  12-18-2008

Freeform doesn’t interface with custom fields or other extensions, so I don’t see any way to accomplish this without requiring hacks.

As a followup to the EE 2 question earlier, I have ported most of this to the EE 2 fieldtype API, but there are a few bugs that are outside of our control. We will probably be waiting for EE 2.1 and next version of Matrix 2 to be made available before officially introducing the Simple S3 Uploader for EE 2.

 Signature 

EE Pro Network
eMarketSouth - full service web design, development, and SEO
ExpressionEngine consulting services - SQL queries, .htaccess rewrites, template optimization, jQuery/AJAX, and more!
our add-ons - please “favorite” and rate our products on devot:ee if you like our work. smile

Profile
 
 
Posted: 11 June 2010 06:08 PM   [ Ignore ]   [ # 11 ]  
Summer Student
Total Posts:  19
Joined  03-09-2008

Any chance you can help us use this with AJAX uploading smile I love the extension, but i wish my visitors could use ajax with the SAEF. Thanks in advance!

Profile
 
 
Posted: 11 June 2010 08:46 PM   [ Ignore ]   [ # 12 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1847
Joined  12-18-2008

I’d recommend using the jQuery Form Plugin to submit your SAEF via AJAX, displaying whatever “please wait” thing is appropriate while it posts and using the callback function to do whatever you need to do after it is done.  Beyond that I’m not sure of the specifics of your project, so I’m not sure what else to tell ya smile

 Signature 

EE Pro Network
eMarketSouth - full service web design, development, and SEO
ExpressionEngine consulting services - SQL queries, .htaccess rewrites, template optimization, jQuery/AJAX, and more!
our add-ons - please “favorite” and rate our products on devot:ee if you like our work. smile

Profile
 
 
Posted: 11 June 2010 10:56 PM   [ Ignore ]   [ # 13 ]  
Summer Student
Total Posts:  19
Joined  03-09-2008

Well the jquery form plugin is great, unfortunately i need the user to get the link to their newly uploaded file. I purchased the SAEF Redirect extension from Solspace and that allows me to redirect them to the newly created post with their download link. So now i have the two pieces, i have the ajax submit working and i have the redirect… i somehow need to merge them so i can get that download link instantly smile Would really appreciate any suggestions :D

Profile
 
 
Posted: 11 June 2010 11:16 PM   [ Ignore ]   [ # 14 ]  
Summer Student
Total Posts:  19
Joined  03-09-2008

Nevermind, i went to the plugins site and read the documentation. It provides you with the response which contains the S3 download link and any other information i want! AWESOME! Thank you so much for the great plugin! This is really exciting! I have to write a tutorial about it soon.

Profile
 
 
Posted: 12 June 2010 05:39 AM   [ Ignore ]   [ # 15 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1847
Joined  12-18-2008

sounds like a really cool setup.  I’ve been wanting to create a live demo of what can be done with the add-on but I haven’t had the time yet (been working mostly on an EE 2 port… shhhh!).  a tutorial would be awesome too.  smile

 Signature 

EE Pro Network
eMarketSouth - full service web design, development, and SEO
ExpressionEngine consulting services - SQL queries, .htaccess rewrites, template optimization, jQuery/AJAX, and more!
our add-ons - please “favorite” and rate our products on devot:ee if you like our work. smile

Profile
 
 
Posted: 16 June 2010 11:16 AM   [ Ignore ]   [ # 16 ]  
Summer Student
Total Posts:  19
Joined  03-09-2008

You know the one feature all of the S3 plugins/extensions for EE are missing is the generation of an expiring link. Currently it provides you with a direct link to your s3 bucket file. As you may know Amazon provides you with expiring links that can be generated on the fly, is that something you would consider adding?

Profile
 
 
Posted: 16 June 2010 11:23 AM   [ Ignore ]   [ # 17 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1847
Joined  12-18-2008

I have been considering adding this, but until now nobody had asked for it.

It isn’t quite trivial to add because I’d need to add some permission settings in order to lock down the bucket and/or files from public view, but it is very doable.

 Signature 

EE Pro Network
eMarketSouth - full service web design, development, and SEO
ExpressionEngine consulting services - SQL queries, .htaccess rewrites, template optimization, jQuery/AJAX, and more!
our add-ons - please “favorite” and rate our products on devot:ee if you like our work. smile

Profile
 
 
Posted: 16 June 2010 11:34 AM   [ Ignore ]   [ # 18 ]  
Summer Student
Total Posts:  19
Joined  03-09-2008

Interesting i had foolishly thought that amazon will generate links for you that just have random strings, now i realize that the files general permissions will need to be set to private. Interesting, so i assume the only solution would be to always generate expiring links and just allow people to choose how long those should last. Well if you were to add this feature i would definitely like to help reimburse you for your time spent financially wink

Profile
 
 
   
1 of 3
1