Wordpress plugins
EntryWizard

EntryWizard

Version : 1.3.0
Tested up to : 4.8.2
Number of download : 3145
Average rating : 5 / 5 on 13 votes 13 votes, 5 avg.rating

Screenshots

EntryWizard
EntryWizard
EntryWizard
EntryWizard

EntryWizard was developed to cater to the needs of camera club competitions. In these competitions members may submit multiple images with titles and other data attached. Administrators use the software to design web forms, asking for information as text inputs and/or drop-down menu items as well as image files. They may set up any number of different “layouts” ( specifications of what information to ask for and what limits to enforce ), assigning an identifier to each. Here is one example of the sort of rules a layout is able to specify: Each image must have: a short title; a “Category”, which must be one of “Nature”, “Photojournalism”, “Still Life” or “Portrait”; a “Format”, which must be one of “Digital”, “Slide” or “Print” Up to 6 entries may be submitted, each with or without a digital version Any image of type “Digital” must have an uploaded digital version At most 2 of the 6 images may be in the “Nature” category. The images must be in jpeg format, with maximum dimensions of 1280 x 1024 pixels, longest dimension no less than 900 pixels, and size no greater than 1M. Each webform is given a unique alphanumeric identifier, and this identifier is used within a shortcode to insert the webform in a page or post. Any number of different webforms may be created, and one of the layouts is assigned to each one. Multiple webforms may appear on one page, although currently they have to be submitted individually. Each webform separately may be set as “open for upload” or “closed”. If it is open, the shortcode is replaced by the upload form. If it is closed, the shortcode is replaced by a message saying that the upload is closed. A closed webform may also be opened temporarily to specified members only, and an open webform may be set to close automatically at a specified time. When items have been uploaded, the administrator may either view the items online, or download them. The downloaded image files may be renamed in various ways. A spreadsheet (in comma-separated .csv format) showing the uploaded data together with some optional information about the users, may also be downloaded. The uploaded images may be attached to pre-existing pages for display in a gallery. Image upload items on the forms use HTML5 constructs where available to give the user immediate feedback if the image does not meet size or dimension requirements. ( Reportedly available in Firefox 4+, Chrome 7+, InternetExplorer 10+, Opera 12+, Safari 6+ ). Administrators should use a recent browser to test the forms. Internet Explorer earlier than 9 will not fully support the administration interface. There is a fine-grained permissions system allowing administrators to grant an individual user various levels of control over the webforms and layouts. Only logged-in users may see the webform. Users of this plugin may also be interested in using Flexishow (https://sourceforge.net/projects/flexishow/) to run a slideshow using the information in the spreadsheet to select the images displayed. EntryWizard has a companion plugin called Ewz-Rating (https://wordpress.org/plugins/ewz-rating/). It is designed for display and online judging of items uploaded via EntryWizard. To Do Enhancements planned eventually (in no particular order): Copy restrictions when copying a layout Some sort of archiving mechanism, so webforms not in current use can be hidden on the administration page, even if the images are still on the server. Get rid of the complicated Permissions setup ( which was originally created with on-line judging in mind, now available via Ewz-Rating ). Use WordPress roles instead. Better support for uploads using more than one image per item, and for pages containing more than one webform Internationalization? How one club uses EntryWizard and Ewz-Rating Image Upload Images are uploaded using EntryWizard. If we are planning to print the images, they are required to have one dimension at least 2560 px, otherwise the images are required to fit within 1280×1024, which is an adequate size for both judging on most monitors and for projecting at meetings. The layout contains a single-line text input for the title, a drop-down for the category, and usually a checkbox to be checked if a comment is requested. We get up to 200 images in a competition, so to save work for the judges a maximum of 2 out of the 4 allowed entries may ask for comments. A prefix containing the user id and the webform identifier is set to be applied on upload. This ensures that all image files for the current year have unique names. Download and Preparation Because the number of images is large, using the webform download sometimes times out. So the images are usually downloaded using ftp, and the webform download is only used for the spreadsheet itself. If we are planning to print, the large versions of the images on the server are copied to another place. The downloaded copies are resized to 1280×1024 and re-uploaded to the upload folder, overwriting the originals. Otherwise, if we are not planning to print, the images are simply downloaded for eventual display at a club meeting. The rating scheme is set up to show the judges the title and the category, with both using “append to previous column”. This helps keep the form narrow enough to display side-by-side with the image on a 1920×1200 monitor. If there was a “comment requested” checkbox in the original upload, that field is divided among the judges. ( If there was no “comment requested” checkbox, a new “fixed text” field with the text “Comment Required” is created and divided among the judges. ) The comment input field ( which is a multi-line text input ) is then appended to this field, so “Comment Required” appears immediately above it if a comment is required. The effect of this is that on any image all judges may add a comment if they wish, and one judge is required to do so. Judging Each judge is given a (temporary) user account on our website. We use a “Page Security & Membership” plugin to assign the judges to a group that has access to the page containing the relevant judging form, plus the public parts of our site, but not to the private sections. After the main judging has taken place, if tie-breaking is required, a new page is created. For each set of tied images, an ewz-rating shortcode is added like this: [ewz_rating view = “secondary” identifier=”sampleform” item_ids=”I1,I2,I3″], where I1,I2,I3 are the wordpress id’s of the tied images. Any extra inputs required for tiebreaking are added to the rating scheme as “secondary”, so they do not display on the main judging page. Presentation All scores and comments are downloaded to a spreadsheet. For presentation at a club meeting, this spreadsheet is used with Flexishow (https://sourceforge.net/projects/flexishow/) to drive a slideshow. After the presentation, a new .csv file is generated from the spreadsheet and uploaded back to EntryWizard using the Webforms->Data Management->Upload Extra Per-Image Data. The “content” includes the scores and comments for the image. A new page is created that is limited to logged-in members and contains a “[gallery]” shortcode. Using the Manage Items link on the webform, the images are “attached” to this page, with comments allowed. This creates an image gallery displaying all the images, with their scores and comments, to which logged-in members may add their own comments. ( The winning images are also displayed in a public gallery that is a little nicer-looking, using other software. ) For Developers Only There are two hooks you may wish to make use of: 1. ewz_after_upload, which runs on completion of a successful upload. Arguments passed are webform_title, user_id, number of new items uploaded, number of existing items updated. and 2. ewz_after_delete_item, which runs after each individual item deletion. Arguments are webform_title and user_id. Here is some very basic example code: function my_after_upload_function( $webform_title, $user_id, $created_count, $updated_count ){ $userdata = get_userdata( $user_id ); $email = $userdata->user_email; $name = $userdata->display_name; error_log("Uploaded to $webform_title by $name ( $email ), $created_count items created, $updated_count items updated"); } add_action('ewz_after_upload', 'my_after_upload_function', 10, 4); ( See WordPress documentation for add_action for the meanings of the last two arguments ) function my_after_delete_function( $webform_title, $user_id ){ error_log("1 item Deleted from $webform_title: $user_id"); } add_action('ewz_after_delete_item', 'my_after_delete_function', 10, 2 ); ( Also, hooks ewz_before_delete_field, ewz_before_delete_item, ewz_before_delete_layout, ewz_before_delete_webform act are designed for use with Ewz_Rating. Changes to these may not always be documented. )

Download now