Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gravity Forms File Upload Field #2

Closed
ewsopp opened this issue Jun 11, 2015 · 14 comments
Closed

Gravity Forms File Upload Field #2

ewsopp opened this issue Jun 11, 2015 · 14 comments
Assignees
Milestone

Comments

@ewsopp
Copy link
Member

ewsopp commented Jun 11, 2015

Gravity Forms has an advanced field for uploading files as the user fills out a form on the frontend. The functionality appears to work, but when I try to access the file from the notification email the link is broken.

For my test, this was the URL given to me by the notification email to access the file:
https://storage.googleapis.com/media.discodonniepresents.com/gravity_forms/6-e2c3e2afe00dd2051a2a351997e171d9/2015/06/95715596-teaser..jpg

@ewsopp
Copy link
Member Author

ewsopp commented Jul 29, 2015

I think it might be related to #3

@antonkorotkov
Copy link
Contributor

Should be working now with new option 'Upload on-fly generated (by third-party scripts) images to GCS.'

@ewsopp ewsopp reopened this Feb 29, 2016
@ewsopp
Copy link
Member Author

ewsopp commented Feb 29, 2016

@antonkorotkov
Copy link
Contributor

I've just tested and realized that this issues is not connected to Stateless Media plugin at all. For some reason GF tries to upload files to some dir name 'files/...'. Not sure if it is custom thing specific to DDP. But anyway, you can't find that file because it was not actually created. I would call it 'DDP + Gravity Forms conflict'.

@ewsopp
Copy link
Member Author

ewsopp commented Mar 1, 2016

I submitted a support request with Gravity Forms to see if it is possible to change the default storage location for uploaded files.

@ewsopp
Copy link
Member Author

ewsopp commented Mar 5, 2016

It looks like we would need to create a Gravity Forms add-on that would make it compatible with stateless media.

useful references
https://www.gravityhelp.com/documentation/article/add-on-framework/
https://www.gravityhelp.com/documentation/article/gform_upload_path/

@ewsopp ewsopp added type/new and removed type/bug labels Apr 1, 2016
@ewsopp ewsopp mentioned this issue Jun 16, 2016
5 tasks
@ewsopp ewsopp modified the milestone: Backlog Mar 13, 2017
@ewsopp ewsopp modified the milestones: Backlog, v2.1.1 Sep 25, 2017
@ewsopp ewsopp modified the milestones: v2.1.1, v2.1.2 Nov 17, 2017
@ewsopp ewsopp modified the milestones: v2.1.2, v2.1.3 Nov 22, 2017
@ewsopp ewsopp modified the milestones: v2.1.3, v2.1.4 Jan 31, 2018
alimuzzaman added a commit that referenced this issue Feb 21, 2018
Sync now work.
Delete not done yet.
alimuzzaman added a commit that referenced this issue Feb 24, 2018
alimuzzaman added a commit that referenced this issue Feb 24, 2018
@alimuzzaman alimuzzaman removed their assignment Mar 5, 2018
@ewsopp
Copy link
Member Author

ewsopp commented Mar 21, 2018

title: Gravity Forms
description: Ensures compatibility with the File Upload field of the Gravity Forms plugin.
constant: WP_STATELESS_COMPATIBILITY_GF

@ewsopp ewsopp assigned alimuzzaman and unassigned ewsopp Mar 21, 2018
@ewsopp
Copy link
Member Author

ewsopp commented Mar 21, 2018

@alimuzzaman does this also include support for the Post Image field? This looks like an image upload field.

@alimuzzaman
Copy link
Contributor

alimuzzaman commented Mar 24, 2018

@ewsopp Yes it's include support for Post Image field.

@ewsopp
Copy link
Member Author

ewsopp commented Apr 3, 2018

@alimuzzaman I tweaked the description to mention the post image field.

title: Gravity Forms
description: Enables support for these Gravity Forms features: file upload field, post image field.
constant: WP_STATELESS_COMPATIBILITY_GF

@ewsopp
Copy link
Member Author

ewsopp commented Apr 3, 2018

@alimuzzaman there is a "Custom Field" field that allows you to configure it as a File Upload field type. Can you test this field as well?

image

@ewsopp ewsopp removed their assignment Apr 3, 2018
@alimuzzaman
Copy link
Contributor

@ewsopp Custom Field File Upload works.

@ewsopp
Copy link
Member Author

ewsopp commented Apr 4, 2018

Ok great. I revised the compatibility description to mention this fact.

title: Gravity Forms
description: Enables support for these Gravity Forms features: file upload field, post image field, custom file upload field type.
constant: WP_STATELESS_COMPATIBILITY_GF

@alimuzzaman
Copy link
Contributor

@ewsopp Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants