Linux 软件免费装

Forms: 3rd-Party Dynamic Fields

开发者 zaus
spkane
更新时间 2017年5月5日 17:38
捐献地址: 去捐款
PHP版本: 3.0 及以上
WordPress版本: 4.1
版权: GPLv2 or later

标签

form contact form gravity forms contact form 7 mapping services referer CRM CF7 dynamic fields 3rd-party service remote request GF get params

下载

0.3 0.3.2 0.4.2 0.7

详情介绍:

Using pre-configured placeholders like ##UID##, ##REFERER##, or ##SITEURL##, add dynamic fields to the normally map-only or static-only Forms: 3rdparty Integration plugin.

安装:

  1. Unzip, upload plugin folder to your plugins directory (/wp-content/plugins/)
  2. Make sure Contact Form 7 or Gravity Forms is installed
  3. Make sure Forms: 3rdparty Integration is installed
  4. Activate plugin
  5. Go to new admin subpage "3rdparty Services" under the CF7 "Contact" menu or Gravity Forms "Forms" menu and configure services + field mapping.
  6. Configure the new "Dynamic Fields" section to optionally attach the dynamic values to the notification messaging (and how)
  7. Using the additional collapsed metabox for examples, add dynamic placeholders as "static values" to the service mapping (check 'Is Value?' column). Double-click examples to populate each textbox after selecting it.

升级注意事项:

None.

常见问题:

I need help

Submit an issue to the GitHub issue tracker in addition to / instead of the WP Support Forums.

How do I add / configure a service?

See "base plugin" Forms: 3rdparty Integration. Expand the box "Dynamic Placeholder Examples" below the 'save' button for allowed dynamic fields. Additionally, you'll need to check the 'Is Value?' column.

How do I add GET parameters to my service post?

Use the placeholder ##GET:{urlparam}## as the static value, which will attach the value XYZ from the url in ?urlparam=XYZ.

How do I add COOKIE parameters to my service post?

Use the placeholder ##COOKIE:{hamburgler}## as the static value, which will attach the value XYZ from the cookie named hamburgler.

What else can I attach?

These are also listed within the plugin settings under the "[?] Dynamic Placeholder Examples" metabox -- double click each option for automatic entry. Live "example previews" are also shown for each within the metabox.

  • ##TIMESTAMP## = the current timestamp (from time)
  • ##DATE_ISO## = date, formatted to ISO 8601 "Y-m-d\TH:i:sP" (PHP5)
  • ##DATE## = wordpress-formatted current date (date_i18n( get_option('date_format'), time() );)
  • ##TIME## = wordpress-formatted current date (date_i18n( get_option('date_format'), time() );)
  • ##UID## = a unique id
  • ##IP## = the visitor IP
  • ##SITEURL## = the site url, according to wordpress (get_site_url)
  • ##NETWORKSITEURL## = the network site url, according to wordpress (network_site_url)
  • ##SITENAME## = the site name, according to wordpress (get_bloginfo('name'))
  • ##ADMINEMAIL## = the admin email, according to wordpress (get_bloginfo('admin_email'))
  • ##PAGEURL## = the current page (permalink) that has the form, according to wordpress (get_permalink)
  • ##REQUESTURL## = the current page, according to PHP
  • ##REFERER## = the referer, according to PHP
  • ##WPREFERER## = the referer, according to wordpress (wp_get_referer)
  • ##GET:{ = prefix to attach querystring parameters (see section above)
  • ##COOKIE:{ = prefix to attach cookies (see section above)
  • ##SESSION:{ = prefix to attach sessions (see section above)
  • = = prefix to perform calculations on other input fields, like {input_1} / 12 + round({input_2} / 2)

更新日志:

0.7 0.6.2 0.6.1 0.6 0.5 0.4 Addressed github issues #1, #2, #3 0.3.3 Minor bugfixes to pageurl and referer 0.3.2 0.3 GET parameters. 0.2 Attaches to notification. 0.1 Base version - dynamic field replacement