HU Challenge

Description

HU Challenge provides a self-contained fitness challenge experience inside WordPress.

The plugin includes:

  • Front-end participant registration and login.
  • First name, last name, email, password, and optional public display name.
  • Configurable challenge tasks, yard values, daily or weekly limits, and motivational descriptions.
  • Saved participant activity and an overall leaderboard based on total yards.
  • A football theme with a 100-yard drive visualization, touchdowns, and score.
  • A three-day consistency bonus based on activity logged on three different days in a week.
  • Recent activity history and a short undo window for accidental entries.
  • Password reset by email using WordPress mail.
  • Administrator views for challenge setup, leaderboard standings, and activity history.
  • A Classic theme that can be used as a base for other challenge concepts.

HU Challenge stores data locally in the WordPress database and does not contact external services.

Source code and build process

HU Challenge does not use npm, webpack, a transpiler, a minifier, or any other JavaScript/CSS build tool. The files distributed in assets/ are human-readable source files loaded directly by WordPress.

For clarity, the JavaScript source is also included at src/hu-challenge.js. It is the same source used by the distributed front-end script and requires no compilation or build command.

Challenge seasons

The configured challenge start date is used as the scoring-season identifier. Changing the start date begins a new leaderboard and activity season while preserving prior-season records in the database.

Privacy

HU Challenge creates restricted WordPress user accounts for participants and stores participant first name, last name, email address, optional display name, and challenge activity history in the WordPress database.

The participant display name and total yards are shown on the public challenge Scoreboard. If no display name is provided, the plugin uses the participant’s first name and last initial.

Site administrators can view participant names and activity history for challenge administration and prize fulfillment. The plugin does not send participant data to external services.

HU Challenge registers with the WordPress Personal Data Export and Erase tools so challenge activity can be included in privacy requests.

Installation

  1. Upload the hu-challenge folder to /wp-content/plugins/, or install the plugin ZIP through Plugins > Add New > Upload Plugin.
  2. Activate HU Challenge.
  3. Create or edit a WordPress page and add the shortcode [hu_challenge].
  4. Open HU Challenge > Challenge Setup to set the challenge name, tagline, dates, and theme.
  5. Review the starter activities under HU Challenge and edit the yard values, limits, descriptions, or motivational text as needed.
  6. Publish the page containing the shortcode.

FAQ

Do participants need normal WordPress accounts?

No. Participants create an account from the challenge page. The plugin creates a restricted WordPress account behind the scenes and keeps the challenge login experience on the front end.

What is shown on the public leaderboard?

Only the participant display name and total yards. Full names and email addresses are available only to site administrators through WordPress.

Does the plugin send data to another service?

No. Challenge data is stored in the site’s WordPress database. Password-reset messages are sent through the site’s normal WordPress mail configuration.

How do daily and weekly limits work?

Each challenge task can be configured as one-time, daily, weekly, or unlimited, with a maximum number of units for that period.

What happens when I change the challenge start date?

The start date identifies the current scoring season. Changing it begins a new leaderboard without deleting prior-season activity from the database.

Does deactivating or deleting the plugin delete participant data?

No. Challenge data is intentionally retained so accidental deactivation does not erase participant history. Site administrators can use WordPress privacy tools to erase an individual participant’s challenge activity.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“HU Challenge” is open source software. The following people have contributed to this plugin.

Contributors

Translate “HU Challenge” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.4

  • Added a dedicated hu_challenge_participate capability for participant-only REST API access.
  • Restricted participant state, activity logging, and undo endpoints to challenge participants and administrators.
  • Added bundled, human-readable front-end JavaScript source and documented that no build tools are required.

1.0.3

  • Added an administrator-controlled Active/Inactive challenge status.
  • Challenge dates now define/display the season but do not automatically disable activity logging.
  • Fixed the recent-plays query formatting.

1.0.1

  • Improved WordPress.org compatibility for custom-table queries and Plugin Check compliance.

1.0.0

  • Production-ready initial release.
  • Added GPL licensing metadata and WordPress.org readme documentation.
  • Added public-request nonce validation for front-end account actions.
  • Restricted challenge login and password-reset flows to challenge members and administrators.
  • Added WordPress Personal Data Export and Erase integration.
  • Added privacy-policy helper text.
  • Added scoring seasons keyed to challenge start date so future challenges do not mix leaderboard totals.
  • Preserved administrator-edited starter tasks during plugin upgrades.
  • Added challenge-date enforcement for activity logging.
  • Kept total yards as the leaderboard score and Score as the secondary football statistic.