Git Product home page Git Product logo

post-my-contact-form-7's People

Contributors

aurovrata avatar netzgestaltung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

post-my-contact-form-7's Issues

Move mapping edtor from custom page to CF7 form editor panel

  • Remove the custom page,
  • remove the assets/cf7-admin-table/ code.
  • hook the wpcf7_editor_panels to add a panel and use admin/partial/ file to load the panel content.
  • remove admin/partials/cf72post-footer-script.php which hides the CF7 plugin menu.
  • allow editing in WP_DEBUG mode, else lock post settings only.
  • update form fields client-side using JS
  • update post fields using Ajax.

any chance we can get the post id as a mail tag ?

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 !

Enable attachment saving for file meta-field

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.

(pre-releases V5.5 and V4.15) Various Issues

Wordpress 6.1, PHP 8.1, Contactform7 5.6.4

  1. [save id:getref] does not generate an id in the <input ... value-"Save">
  2. [select* naf-article-type id:naf-article-type] mapped to Categories not working
  3. [dynamic_checkbox naf-tags limit class:cf7sg-hybriddd "slug:post_tag" "data-maxcheck:3" ] mapped to Tags displays nothing

In 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

(pre-releases V5.5 & V4.15) Deactivating Contactform7 locks out administrator

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.

Create update process for v1/2/3/4 to v5.x upgrade

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

  • create notifications upon plugin update
  • save version in plugin setting option and compare previous version to ensure update is triggered only once.
  • find all forms that are mapped to custom post types created by the plugin and move to settings option
  • flag in settings options all forms mapped to system posts

Gather field tag list frmo server

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

Filter submitted field values prior to mapping by tag type

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.

taxonomy hook with a filter

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.

search.png css background image url error

So you have:

cf7-grid-layout/public/css/cf7-grid-layout-public.css

(Line 252) background-image: url('search.png');

You also have:

cf7-grid-layout/public/css/min/cf7-grid-layout-public.css

.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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.