=== Unofficial CForms II table display === Contributors: mpntod Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9XCNM4QSVHYT8 Tags: cformsii,form,table,count,shortcode,cforms,cforms2 Requires at least: 2.5 Tested up to: 4.0 Stable tag: 1.1.1 Replaces a shortcode such as [cformstable form='nameofyourform'] with a table or a count of data collected via the CForms II plugin == Description == Replaces a shortcode such as `[cformstable form='nameofyourform']` with a table of data or a count of information collected via the excellent [CForms II](http://www.deliciousdays.com/cforms-plugin/). Possible variables for your shortcode include: * `display = 'number'` or `'table'` - (the default is `'number'`) * `form = 'the name of your form'` * `vars = list of variable names separated by commas e.g. 'Name,Date,Comment'`. To change the way the name is displayed, add your revised text after `|`, e.g. `vars='Name|Your Name,Date,Comment'`. * `cols = list of variable numbers separated by commas e.g. '1,2,3'`. You can get variable numbers by posting `[cformstable display='table' form='Name of your form']`. As with the vars setting, to change the way the name is displayed, add your revised text after `|`, e.g. `cols='1|Your Name,2,3'`. * `limit = 'the maximum lines to show in the table'` * `deduped = TRUE` or `FALSE` - remove duplicate IP/email addresses from count * `adjust = 'n'` where `n` is a numerical value (+10, -20 etc.) to adjust the count displayed * `sortdir = 'asc'` or `'desc'` * `sort = 'form', 'id', 'date', 'ip'` or `'email'` or any other form input field, e.g. `'Your Name'` == Installation == 1. Upload `cformstable.php` to the `/wp-content/plugins/` directory 1. Activate the plugin through the 'Plugins' menu in WordPress 1. Place a shortcode such `[cformstable display='table']` in your post or page == Frequently Asked Questions == = Does the plug-in work without CForms II installed? = No. You need to [install it](http://www.deliciousdays.com/cforms-plugin/). == Upgrade notice == = 1.1.1 = * Adds variables that weren't in the original version of the form to the `cols` list == Changelog == = 1.1.1 = * Resolves a 'hidden column' problem with variables added to the form after the first question was answered. = 1.1.0 = * Adds variables that weren't in the original version of the form to the `cols` list = 1.0.4 = * Fixing italicisation problem = 1.0.3 = * Further fix to sort setting = 1.0.2 = * Fixed sort setting = 1.0.1 = * Fixing sort problem with `cols` variable. * Fixing slashes problem with column names = 1.0 = * Addition of `cols` variable to shortcode to allow people to select variables for display by number e.g. `cols='1,2,3,4'` = 0.25 = Fixes bug with permissions. = 0.24 = Add two new variables to cformstable: `adjust` and `deduped` = 0.23 = Fixed bug where selected table is empty. = 0.221 = Fully fixed bug where count is zero = 0.22 = Fixed bug where count is zero = 0.21 = Partial fix of bug where count is zero = 0.2 = First published version == Upgrade Notice == = 0.25 = Fixes bug with permissions == Screenshots == It's a pure text replacement plugin, so the screenshots will have to wait I'm afraid