aurovrata / post-my-contact-form-7 Goto Github PK
View Code? Open in Web Editor NEWMap any CF7 forms to a custom post
License: GNU General Public License v2.0
Map any CF7 forms to a custom post
License: GNU General Public License v2.0
I noticed that at the time of mapping a form, the Contact Form 7 Database Addon โ CFDB7 plugin stopped saving the data.
Is there a patch or code to resolve this incompatibility?
Since for me it is important to have that database working, additional to the posting.
submitted by @cchavarria https://wordpress.org/support/topic/contact-form-7-database-addon-incompatible/
wpcf7_editor_panels
to add a panel and use admin/partial/
file to load the panel content.admin/partials/cf72post-footer-script.php
which hides the CF7 plugin menu.Hi, it would be very convenient for me that the posts created were not drafts, it would be possible to create a filter to change this value.
hello,
i have been trrying to find a way to simply get the generated post id in the mail sent, not a link, and i couldn't fid a way.
so i changed the class-cf7-2-post-public.php and class-cf7-2-post-admin.php files to add a [cf7_2_post-ID] mail tag.
is there any other way ? if not, is there any chance you could add this mailtag ?
thank you !
and keep up the good work ! these plugins are fabulous !
Currently files mapped to a meta-field are being saved in the uploads folder, and the URI path saved in the meta-field.
It would be useful to have a checkbox next to the dropdown field list appear when a file field is selected. The checkbox would allow the mapping process to create an attachment and save the attachment post id in the meta-field instead.
Wordpress 6.1, PHP 8.1, Contactform7 5.6.4
[save id:getref]
does not generate an id in the <input ... value-"Save">
[select* naf-article-type id:naf-article-type]
mapped to Categories not working[dynamic_checkbox naf-tags limit class:cf7sg-hybriddd "slug:post_tag" "data-maxcheck:3" ]
mapped to Tags displays nothingIn console I have a following error: Uncaught SyntaxError: missing ) after condition
in line 855:10 which is
if(data.id:getref !== undefined){ $cf7Form.c2pCF7Field("save", "id:getref", data.id:getref); };
the 11th character is the colon after id
I installed the prereleases V5.5 and V4.15, I then wanted to update Contactform7 to the latest release, and deactivated the installed version.
Now I get the message "CF7 smart Grid-layout Extension requires Contact Form 7 plugin, and has therefore been deactivated!" when in wp_admin, but plugins were not deactivated, thus locked out from admin functions
Had to go to cPanel and renamed the directories of Grid-Layout and Post My CF7 Form (forcing a deactivation) to regain admin access.
First question : the plugin drag-and-drop-multiple-file-upload-contact-form-7/ would be a very good option to integrate with yours. Is it possible ?
create an update process by storing the new version in a plugin options settings in order to determine if this update process has been completed in a previous update.
related to issue #11
Field tags currently gathered by the admin editor to determine field shortcodes.
THis list does not reflect custom field tags which are not available on the admin front end
The plugin isn't able to save user added terms, currently this can only be done using filters.
However, using cf7 form field tags and retrieving the tag options to see if this is a select2 dropdown, it should be possible to validate new terms and assign them. Term mapping takes place in the Post Factory Class at this point.
there is currently at attempt at doing this, line 1347 of the Post Factory class
/**
* Filter introduced for plugin developers to map custom plugin tag fields, allows for submitted values to be filtered before being stored.
* @since 3.1.0
* @param mixed $submitted submitted value for the field
* @param string $field_name the field name
* @return mixed value to store for the field.
*/
$submitted = apply_filters('cf7_2_post_saving_tag_'.$this->cf7_form_fields[$form_field], $submitted, $form_field);
aimed at plugin developers, but this it does not have tag information.
Need to get the current CF7 form being submitted and get its tags in an associative array with the field names.
move the _cf7_2_post-
meta-fields custom post form from mappings to the plugin options settings.
See this thread
in /includes/class-cf7-2-post-factory.php on line 1442 the true condition leads to adding an empty array instead of a filter function.
if( 0 === strpos($form_field,'cf7_2_post_filter-') ) {
$value = apply_filters($form_field, array(), $post_id, $cf7_form_data);
}
i think there should be 'cf7_2_post_filter-' . $this->post_properties['type'] . '-' . $field_to_map
instead of that empty array. Also the usage of $this->post_properties['type']
seems unconsistent sometimes with and somethimes without.
So you have:
(Line 252) background-image: url('search.png');
You also have:
.cf7-smart-grid.has-grid input.select2-search__field{background-image:url(search.png);
Problem is there is no search.png in min directory so image fails to load.
Hi
displayed_posts['some_post'] = 'Some Post';
return displayed_posts;
to read
$displayed_posts['some_post'] = 'Some Post';
return $displayed_posts;
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.