| 开发者 | donncha |
|---|---|
| 更新时间 | 2026年11月19日 04:29 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[competition_upload] – Member upload form with quota tracking[competition_voting] – Interactive voting interface with live validation[competition_slideshow] – Full-screen presentation mode for club meetings[competition_results] – Complete results table with grade and category filtering[competition_top3] – Responsive podium display showcasing winners[competition_upload] – Member submission form[competition_voting] – Voting interface (voting links, password, or judges' links)[competition_slideshow] – Full-screen slideshow for in-person voting[competition_results] – Complete results table[competition_top3] – Podium-style top 3 displaycompetition="slug" – Show a specific competition (results, top 3 and slideshow). The upload and voting pages always use the open competitioncategory="slug" – The category to show (slideshow, where it's required)hide_names="1" – Leave out member names, and in interclub competitions the photographers, clubs and club standings (results only)assets/src/ directory. To build the assets:
cd assetsnpm installnpm run devnpm run build@wordpress/scripts for building and bundling assets. All source code can be reviewed, modified, and rebuilt from the repository.
Local Development
Run make up to launch the WordPress environment with Mailpit email capture at http://localhost:8026.Members receive a magic-link email with a unique upload URL. No passwords or login required. They simply click the link, select their category, and upload their images. The system automatically validates file types, dimensions, and enforces submission quotas.
Yes. Each competition picks who scores it on its Settings tab:
Add the judges on Competitions → Judges. They aren't members and get none of the member emails. On the competition's Settings tab, set "Who scores" to Judges and pick its judges. Each judge has a private link, which you can email with the Judge link email or open on the night. A judge scores every image in the open category from the competition's score list, and Voting Controls shows which judges have scored. An image's total is the sum of the judges' scores.
A competition type holds a kind of competition's categories, default upload, voting and slideshow settings, and its own names for the club's grades, for example "Cup" for Advanced. Every site starts with one type, "Individual", and with one type there's nothing to choose. Add types on Competitions → Competition Types when you run more than one kind of competition. Members are tagged with the types they enter, and a competition is open to everyone in its type or only to the entrants you pick from the type's members on its Entrants tab.
Yes. Tick "Entrants are clubs" on a competition type. Each club is added as a member tagged with the type and enters a panel of images in each category, naming the photographer of every image. The type can allow substitutes and limit how many images one photographer has in a panel. On the Submissions screen an admin can disqualify an entry and promote a substitute. The results show each image as "Photographer — Club" and rank the clubs in each grade by each panel's total and overall.
The plugin sends automated emails for key events:
CLUB_COMPETE_EMAIL_BATCH_SIZE in wp-config.php.
Categories, yes. Set the default categories, quotas, and scoring for each competition type in Competitions → Competition Types. A new competition starts with its type's, and can override them on its Settings tab without affecting future competitions. Grades are set once for the club in Competitions → Settings, and every competition uses them. A competition type can give them its own names. Renaming a grade renames it in every competition's results, past ones included.
For uploads: Use the Upload Link action on the member's row in Competitions → Members to copy their link or send it again. For voting: The member enters their email address on the voting page again. The new link replaces the earlier one.
Yes. The "competition_results" shortcode has an optional "hide_names" parameter. Set that to 1 to hide the names. In an interclub competition it also leaves out the photographers, clubs and club standings.
Yes! All shortcodes are fully responsive and tested on mobile devices. The top-3 podium display, voting interface, and upload forms adapt beautifully to small screens.
Images are stored in /wp-content/uploads/competitions/{competition-slug}/{category-slug}/. The plugin validates uploads and makes resized copies and thumbnails. The resized copies lose the photographer's name from their EXIF, IPTC and XMP data, The voting page and slideshow load images by entry ID, so the file name, which includes the member's name, never reaches voters. The originals keep their data.
Yes. Visit Competitions → Export to download:
Members and judges are included in Tools → Export Personal Data and Tools → Erase Personal Data. Erasing a member deletes their record, entries, links and log entries, and their votes still count without their name. Settings → Privacy → Policy Guide has suggested text saying what the club holds and why. Choose how long logs are kept in Competitions → Settings. By default they're kept forever.
post_max_size into account too, and an upload over it is reported as too big instead of "Category assignments are required." or no message at all{voting_info} tag is left empty. A customised upload email that names the voting page in its own words still does, so before running a judged competition replace that text with {voting_info}types column (the sixth column in a file without a header row), the sample CSV shows it, the import says how many new members it left without a type, and members with no type are flagged{grade}, for example "SACC {grade} 2026". Each entrant sees their own grade's name on their upload page and in their emails, and everywhere else shows the grade names joined, for example "SACC Cup / SACC Shield 2026"{member_grade} shows the grade's name instead of its slughide_names leaves out photographers, clubs and the standings&category_change_failedoriginal_not_deleted[competition_upload] – Member submission form[competition_voting] – Interactive voting interface[competition_slideshow] – Full-screen presentation mode[competition_results] – Complete results table[competition_top3] – Responsive podium display