{"id":16901,"date":"2012-02-13T23:06:06","date_gmt":"2012-02-13T23:06:06","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/cformstable\/"},"modified":"2018-03-18T13:05:43","modified_gmt":"2018-03-18T13:05:43","slug":"cformstable","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/cformstable\/","author":105141,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.3","stable_tag":"1.1.3","tested":"4.9.29","requires":"2.5","requires_php":"","requires_plugins":"","header_name":"Unofficial cformsII table display","header_author":"Martin Tod","header_description":"","assets_banners_color":"","last_updated":"2018-03-18 13:05:43","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=9XCNM4QSVHYT8","header_plugin_uri":"","header_author_uri":"http:\/\/www.martintod.org.uk","rating":0,"author_block_rating":0,"active_installs":80,"downloads":15594,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.1.3":"<ul>\n<li>Adds variables that weren&#039;t in the original version of the form to the <code>cols<\/code> list= 0.25 =\nFixes bug with permissions<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2","0.21","0.22","0.221","0.23","0.25","0.3","1.0.1","1.0.2","1.0.3","1.0.4","1.1.0","1.1.1","1.1.2","1.1.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[16898,442,361,80,2289],"plugin_category":[42,43],"plugin_contributors":[78620],"plugin_business_model":[],"class_list":["post-16901","plugin","type-plugin","status-closed","hentry","plugin_tags-cformsii","plugin_tags-count","plugin_tags-form","plugin_tags-shortcode","plugin_tags-table","plugin_category-contact-forms","plugin_category-customization","plugin_contributors-mpntod","plugin_committers-mpntod"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/cformstable.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Replaces a shortcode such as <code>[cformstable form='nameofyourform']<\/code> with a table of data or a count of information collected via the excellent <a href=\"https:\/\/wordpress.org\/plugins\/cforms2\/\">CForms II<\/a>.<\/p>\n\n<p>Examples would be:<\/p>\n\n<ul>\n<li><code>[cformstable form='nameofyourform']<\/code> to display how many entries have been collected by your form<\/li>\n<li><code>[cformstable form='nameofyourform' display='table' vars='Name,Date,Comment']<\/code> to display a table of entries collected by your form<\/li>\n<\/ul>\n\n<p>Possible variables for your shortcode include:<\/p>\n\n<h4>General Variables<\/h4>\n\n<ul>\n<li><code>display = 'number'<\/code> or <code>'table'<\/code> - (the default is <code>'number'<\/code>)<\/li>\n<li><code>form = 'the name of your form'<\/code> - if you don't know the names of possible forms, just use <code>[cformstable]<\/code> to get a list of options<\/li>\n<li><code>from =<\/code> DATETIME string (format: <code>Y-m-d H:i:s<\/code>). Date &amp; time defining the start of a target period, e.g. <code>2008-09-17 15:00:00<\/code> <em>(optional)<\/em><\/li>\n<li><code>to<\/code> =<code>DATETIME string (format:<\/code>Y-m-d H:i:s<code>). Date &amp; time defining the end of a target period, e.g.<\/code>2014-09-17 15:00:00` <em>(optional)<\/em><\/li>\n<li><code>limit =<\/code> 'the maximum lines to show in the table or count' <em>(optional)<\/em><\/li>\n<\/ul>\n\n<h4>Table Variables<\/h4>\n\n<p><em>Either<\/em><\/p>\n\n<ul>\n<li><code>vars =<\/code> list of variable names to use as column headers separated by commas e.g. <code>'Name,Date,Comment'<\/code>. To change the way the name is displayed, add your revised text after <code>|<\/code>, e.g. <code>vars='Name|Your Name,Date,Comment'<\/code><\/li>\n<\/ul>\n\n<p><em>Or<\/em><\/p>\n\n<ul>\n<li><code>cols =<\/code> list of variable numbers to use as column headers separated by commas e.g. <code>'1,2,3'<\/code>. You can get variable numbers by posting <code>[cformstable display='table' form='Name of your form']<\/code>.  As with the vars setting, to change the way the name is displayed, add your revised text after <code>|<\/code>, e.g. <code>cols='1|Your Name,2,3'<\/code>.<\/li>\n<\/ul>\n\n<p><em>Optional Variables<\/em><\/p>\n\n<ul>\n<li><code>limit = 'the maximum lines to show in the table'<\/code> <em>(optional)<\/em><\/li>\n<li><code>sortdir = 'asc'<\/code> or <code>'desc'<\/code> <em>(optional)<\/em><\/li>\n<li><code>sort  = 'form', 'id', 'date', 'ip'<\/code> or <code>'email'<\/code> or any other form input field, e.g. <code>'Your Name'<\/code> <em>(optional)<\/em><\/li>\n<\/ul>\n\n<h4>Count Variables<\/h4>\n\n<ul>\n<li><code>deduped = TRUE<\/code> or <code>FALSE<\/code> - remove duplicate IP\/email addresses from count <em>(optional)<\/em><\/li>\n<li><code>adjust = 'n'<\/code> where <code>n<\/code> is a numerical value (+10, -20 etc.) to adjust the count displayed up or down <em>(optional)<\/em><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>cformstable.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Place a shortcode such <code>[cformstable display='table']<\/code> in your post or page<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload <code>cformstable.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Place a shortcode such <code>[cformstable display='table']<\/code> in your post or page<\/li>\n<\/ol><\/dd>\n<dt>Does the plug-in work without CForms II installed?<\/dt>\n<dd><p>No. You need to <a href=\"https:\/\/wordpress.org\/plugins\/cforms2\">install it<\/a>.<\/p>\n\n<p>For versions of CForms II after 15.0, you may also need to install <a href=\"https:\/\/wordpress.org\/plugins\/cforms2-old-tracking-db\/\">Old Tracking DB for cformsII<\/a><\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.3<\/h4>\n\n<ul>\n<li>Solves a potential problem where variable numbers would depend on sort values<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Resolves an empty table cell problem.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Resolves a 'hidden column' problem with variables added to the form after the first question was answered.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Adds variables that weren't in the original version of the form to the <code>cols<\/code> list<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Fixing italicisation problem<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Further fix to sort setting<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Fixed sort setting<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fixing sort problem with <code>cols<\/code> variable.<\/li>\n<li>Fixing slashes problem with column names<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Addition of <code>cols<\/code> variable to shortcode to allow people to select variables for display by number e.g. <code>cols='1,2,3,4'<\/code><\/li>\n<\/ul>\n\n<h4>0.25<\/h4>\n\n<p>Fixes bug with permissions.<\/p>\n\n<h4>0.24<\/h4>\n\n<p>Add two new variables to cformstable: <code>adjust<\/code> and <code>deduped<\/code><\/p>\n\n<h4>0.23<\/h4>\n\n<p>Fixed bug where selected table is empty.<\/p>\n\n<h4>0.221<\/h4>\n\n<p>Fully fixed bug where count is zero<\/p>\n\n<h4>0.22<\/h4>\n\n<p>Fixed bug where count is zero<\/p>\n\n<h4>0.21<\/h4>\n\n<p>Partial fix of bug where count is zero<\/p>\n\n<h4>0.2<\/h4>\n\n<p>First published version<\/p>","raw_excerpt":"Replaces a shortcode such as [cformstable form=&#039;nameofyourform&#039;] with a table or a count of data collected via the CForms II plugin","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/16901","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=16901"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mpntod"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=16901"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=16901"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=16901"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=16901"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=16901"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=16901"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}