Giter Club home page Giter Club logo

convertkit-gravity-forms's People

Contributors

corydhmiller avatar growdev avatar marcboquet avatar n7studios avatar tnorthcutt avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

forkkit aurooba

convertkit-gravity-forms's Issues

Error on Forms Settings page when API key not found

When the CK API key is blank
settings convertkit wordpress 2018-05-02 12-24-53

then the site admin goes to a Form > Settings > ConvertKit > Add there is a fatal error:

[02-May-2018 17:27:53 UTC] PHP Fatal error:  Uncaught Error: Cannot use object of type WP_Error as array in /Users/daniel/code/convertkit/convertkit-gravity-forms/components/gravityforms/class-gf-convertkit.php:278
Stack trace:
#0 /Users/daniel/code/convertkit/convertkit-gravity-forms/components/gravityforms/class-gf-convertkit.php(136): GFConvertKit->get_custom_fields()
#1 /Users/daniel/sites/convertkit/wp-content/plugins/gravityforms/includes/addon/class-gf-feed-addon.php(1294): GFConvertKit->feed_settings_fields()
#2 /Users/daniel/sites/convertkit/wp-content/plugins/gravityforms/includes/addon/class-gf-feed-addon.php(1096): GFFeedAddOn->get_feed_settings_fields(Array)
#3 /Users/daniel/sites/convertkit/wp-content/plugins/gravityforms/includes/addon/class-gf-feed-addon.php(1041): GFFeedAddOn->feed_edit_page(Array, '0')
#4 /Users/daniel/sites/convertkit/wp-content/plugins/gravityforms/includes/addon/class-gf-addon.php(4190): GFFeedAddOn->form_settings(Array)
#5 /Users/daniel/sites/convertkit/wp-includes/class-wp-hook.php(286): GFAddOn->form_settings_pag in /Users/daniel/code/convertkit/convertkit-gravity-forms/components/gravityforms/class-gf-convertkit.php on line 278

Improve release process

  • Add package.sh script from main ConvertKit plugin
  • Add .distignore file for building release and leaving out unneeded files/dirs (package.json, etc.)

Field mappings fail if full name is selected

If a form's Name (Full) field is used in feed settings, it will not be sent to ConvertKit and will generate a PHP notice.

This is because the value of the Name (Full) field is determined after form submission; it's not an actual <input> in the form, but we're currently trying to access it directly here.

image

Update API Class

Copy API class and unit tests from the main ConvertKit Plugin into this one.

Not Compatible with Gravity Forms 2.5

The plugin is incompatible with Gravity Forms 2.5+. When creating a feed and selecting a form, the dropdown is blank.

DevTools logs the following error:

Uncaught ReferenceError: gform is not defined
at admin.php?page=gf_edit_forms&view=settings&subview=ckgf&id=2&fid=0:3

Uncaught ReferenceError: gform is not defined
at admin.php?page=gf_edit_forms&view=settings&subview=ckgf&id=2&fid=0:15```

Name field should not be required

Currently, when setting up a form feed, the name field is required. For forms that only have an email address, this causes a problem, because the user is forced to map the visitor-given email address to the name field. Then, their subscriber record in ConvertKit has their email address as both their email and name.

The fix is to not make the name field mapping required.

Tag based on select

Use case:
A form has a select and use the select's value as a tag passed to the subscribe.

ref: PS slack convo with @JiveDig

Add i18n

  • add languages folder
  • add pot file
  • verify strings are translatable
  • verify textdomain

Feed settings screen results in PHP notice

Notice: Undefined index: url in /Users/travis/Sites/ck/wp-content/plugins/convertkit-gravity-forms/components/gravityforms/class-gf-convertkit.php on line 280

This is because the current code expects ConvertKit forms to have a url parameter, but only some do.

image

Check on processing partial entries.

Request:

In a multipage form (generated in gravity forms), each page has a "next" buttons and contains for example:
form page 1: name, email
form page 2: demographic data
form page 3: product interest data
form page x: other

Gravity forms has an addon that collects data from each "next" button click = partial entry

And convertkit has an addon that sends the COMPLETE set of data from the form back to convertkit subscriber profile (when hitting the send buttton at the end of the form only, not when hitting "next").

I want to send the data at each click, even when prospects don't complete the totality of the multipage form.

ref: https://secure.helpscout.net/conversation/549470280/193810/

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.