Comments (17)
Sorry, I've been focused on Pods 2.7 stuff this week. Let me shoot back around to this task this weekend.
from pods-gravity-forms.
@sc0ttkclark Do you have any idea on when this might be fixed? I only ask because right now, I have to manually change every post accordingly. We're launching within the next week or two, and it would be GREAT if this was working properly. Otherwise, I may have to come up with a quick solution or not use gravity forms.
from pods-gravity-forms.
Seems like it is using post_author.
https://github.com/pods-framework/pods-gravity-forms/blob/master/includes/Pods_GF.php#L1413
https://developer.wordpress.org/reference/functions/wp_insert_post/#parameters
from pods-gravity-forms.
@lukecav, could you elaborate? I'm not sure what you mean.
To recap, I currently have it set up so that when a member fills out and submits the gravity form, using the gravity forms pod integration / feed, it's supposed to create a new post in the custom post type and set it as pending review, with the author set as the logged in user that filled out the gravity form. However, it's working right now. Whether or not the 'use logged in user as author' box is checked, it always uses the default user in the drop down box.
If I try to work around the check box, and create a direct feed using a hidden field w/ default value of the 'logged in user' and author fields... the author field then shows up blank.
There's something wrong with the feed from gravity forms into the author field or something wrong with the check box Use logged in user as author. All the right information makes it's way into the gravity form (I can see it in the confirmation email and form response) but doesn't make it into the post.
from pods-gravity-forms.
@sc0ttkclark, do you have any thoughts on this?
from pods-gravity-forms.
So I just tested on local dev, running the current version of Pods for Gravity Forms, Gravity Forms on WP 4.7.3. Created a simple form, extended Post to be the Pod. Then created the feed on the form. Used a simple text field for the author name, then used a merge tag {user:display_name}.
https://www.gravityhelp.com/documentation/article/merge-tags/#user-meta
The post was created, but no author was set to the post.
https://cloudup.com/idG_GaAMBUy
from pods-gravity-forms.
Yes, that seems to be what's happening to me too. I need the logged in user filling out the form to become the author for the post.
from pods-gravity-forms.
Hi @sc0ttkclark, any progress on this? It's been about 2 weeks since you said you'd look at it? It's a real issue. And the more I researched it, it doesn't seem like I'm the only one with this issue. Please let me know if you have any recommendations on what I can do to fix this problem.
from pods-gravity-forms.
Thanks for your patience, it took me longer on those tasks than planned and then my daughter caught strep.
I'm looking into this today, since you're very responsive -- I hope you'll be able to help me test proposed fixes, would that be accurate?
from pods-gravity-forms.
from pods-gravity-forms.
Sorry for the delay again today, I had to take my youngest daughter to the doctor's office as she was also having signs of Strep.
I've got a fix in place now, please confirm it's working with the latest version here:
https://github.com/pods-framework/pods-gravity-forms/archive/master.zip
from pods-gravity-forms.
I cleared some of my schedule today in case you need help testing. I'd really appreciate if you could take a look at this. I know life gets in the way though. I hope you're daughter feels better soon. Let me know if there is anything I can try to fix it on my own. Thank you, @sc0ttkclark!
from pods-gravity-forms.
@kbrennan981 I replied last night that I've got a fix in place, so feel free to test that whenever you can today. I can push an update out to wordpress.org after that.
from pods-gravity-forms.
Ooops, I'm sorry @sc0ttkclark. I missed that last sentence somehow. I'll test it out this morning and let you know. Thank you so much. I really appreciate you moving this to the front.
from pods-gravity-forms.
No worries, I accidentally committed a syntax error anyways so you would have hit that first thing today, I just fixed that.
from pods-gravity-forms.
@sc0ttkclark, Thank you! Thank you! Thank you! It's working now. Much appreciated. I tested it on several different forms and it all seems to go through correctly now. I sincerely appreciate it!
from pods-gravity-forms.
Awesome, I'll get this out in the 1.3 release once I get a few more things done.
from pods-gravity-forms.
Related Issues (20)
- --Select One-- displaying in Pods linked Gravity Form field HOT 6
- Pods Gravity Form Not Saving HOT 1
- Pods Gravity Form Not Saving - Still open issue
- Issue with Pods GF add-on hooks for updating form entry
- Using pods-gravity-forms to create new PODs post corrupts taxonomy value HOT 1
- Number and Currency fields not showing HOT 1
- pods addon form settings UI is messed up in GF 2.5 HOT 1
- Two identical posts are generated at once with GF 2.5.x HOT 21
- Gravity Flow Form hangs when submitting user input during workflow process HOT 1
- Pods feed mapping UI is not rendering correctly HOT 2
- Limit list to the same Post Author in Relationship fields has no effect in GF
- Strange Issue HOT 1
- Image from Gravity Form is not saved in Pod Image using the Pods Gravity Form Add-on
- Copies of the image being uploaded to media library when the form entry is resubmitted
- Fatal Error using PHP8 HOT 1
- Data-type matching not clear
- Markdown option results in critical error HOT 1
- [wpvc] The plugin hasn't been tested with the latest version of WordPress
- Dropdown menu items reset by Pods Gravity Forms HOT 4
- [wpvc] The plugin hasn't been tested with the latest version of WordPress
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pods-gravity-forms.