erishv
Forum Replies Created
-
Forum: Plugins
In reply to: [Post My CF7 Form] Edit Previously Submitted CF7Hi Aurovrata,
I reload the form by unchecking the form submitted checkbox.
Then press the Save as Draft button, this will reload the form value back when the user logs in.
Logs in the user that submitted the form, try to commit some changes on the form, resubmits the form, then it created another draft post when it should not.Thank you for clearing out that when posts are published the reloaded form will set a new post, I am good with the default.
Please help.
Forum: Reviews
In reply to: [Post My CF7 Form] Great Extension for CF7Hi Aurovrata,
Thank you so much for the help and replies!
Forum: Plugins
In reply to: [Post My CF7 Form] Login User as Post AuthorHi Aurovrata,
you need to use the action that is fired after the form is saved to your post. The post Id is passed along and you can therefore programmatically assign the term to your saved post. The action is documented in the actions & filter metabox (screenshot) #16 in your form mapping edit page.
Alright, I think this is the action I need
<?php add_action('cf7_2_post_form_submitted_to_post', 'new_post_mapped',10,3); /** * Function to take further action once form has been submitted and saved as a post. Note this action is only fired for submission which has been submitted as opposed to saved as drafts. * @param string $post_id new post ID to which submission was saved. * @param array $cf7_form_data complete set of data submitted in the form as an array of field-name=>value pairs. * @param string $cf7form_key unique key to identify your form. */ function new_post_mapped($post_id, $cf7_form_data, $cf7form_key){ // do something }
On the do something, what are the parameters or values I should put in to save the post to a category?
Forum: Plugins
In reply to: [Post My CF7 Form] Login User as Post AuthorHi Aurovrata, Sorry for the late response.
Been busy with other projects and just came to thank you for the updates on the plugin and for developing the features we need. Thank you so much,In response to
that’s what I thought, however it is still not clear how. Please see my previous msg. Are you wanting to display a dropdown list with your existing category terms and allow a user to select a value? Or do you want to set the category term systemically when a form is submitted, irrespective of the submitted values?
Yes, I am trying to save map the posts to a category named “Testing”, so every post that is being submitted via Contact Form 7, will be posted on the default taxonomy Post, and a category of Testing.
Reference:
https://prntscr.com/lqe53cHow can I achieve it?
Forum: Plugins
In reply to: [Post My CF7 Form] Login User as Post AuthorI am hoping to do the following:
1. Map the submitted form to an existing post type, post – which is done
2. Map the submitted form to a taxonomy, category not a CPT.
3. Map the logged in user as the author to be able to edit the submitted form.Here is the link how it is now: https://prntscr.com/li4oau
2. Taxonomy is being set as Uncategorized, default by WP
3. Author is set to the administrator, even if the user logged in before submitting the form.Forum: Plugins
In reply to: [Post My CF7 Form] Login User as Post AuthorHi Aurovrata Venet,
Thank you for the time to reply on this thread. I appreciate it.
Alright, I will try to construct it the best that I can.1. Form UI is the default of CF7 but I added a hidden field with a value of “casting-calls” to use as the category slug. (CF7 Form Screenshot)
2. I mapped the form to an existing post type (post) (CF7 Mapping Screenshot)
3. After submitting the form, the contents are being mapped to existing post, but not mapping the taxonomy (category) which is set as a hidden field, and not mapping the author which is a logged in user that submitted the post (All Posts Screenshot)
4. I am trying to map the taxonomy (category) via a hook filter, it is not showing the hidden field, not able to select it as the taxonomy (Taxonomy Mapping, snippet code).
Please help. Thank you
For Loading Labels only. Check jquery and add this code on your script.
jQuery.browser = {};
(function () {
jQuery.browser.msie = false;
jQuery.browser.version = 0;
if (navigator.userAgent.match(/MSIE ([0-9]+)\./)) {
jQuery.browser.msie = true;
jQuery.browser.version = RegExp.$1;
}
})();Thanks for the plugin.
Hi, I just found this plugin really usable. But unfortunately, when trying to develop on other site. it did not work
here is the link of the product
https://industrialmall2u.com/test/product/vfd-f-series/Here are the things that I tried and did not work so far.
- https://www.ads-software.com/support/topic/zoom-not-functioning?replies=6
- https://www.ads-software.com/support/topic/zoom-and-slider-not-working?replies=4
https://www.ads-software.com/plugins/yith-woocommerce-zoom-magnifier/