How besoda/ecoquest works
EcoQuest is a role-based sustainability challenge platform: participants discover challenges, submit proof, and earn points; organizers publish challenges; moderators review submissions; and administrators manage the platform. The graph preserves these distinct product areas and shared services. Several page and handler implementations are unsampled, so their internal transitions are not inferred; cited links are limited to relationships shown in excerpts or the source index.
Main entry points: review_submission_handler.php Review decision · participant_functions.php Participant data helpers · create_challenge_handler.php Publish challenge · db_connect.php EcoQuest database
Components 23
Participant journey
- Challenge discovery
participant/browse_challenges.php - Challenge participation
actions/join_challenge.php - Proof submission
actions/submit_proof.php - Progress and rewards
participant
Challenge operations
- Challenge authoring
organizer - Publish challenge
actions/create_challenge_handler.php - Participation reports
organizer/participation_reports.php - Wizard stepper
includes/challenge_stepper.php
Review and administration
- Submission review
moderator/review_submission.php - Review decision
actions/review_submission_handler.php - Administration
admin
Shared platform
- Account access
auth - EcoQuest database
config/db_connect.php - Shared query helpers
includes/public_functions.php - Participant data helpers
includes/participant_functions.php - Progress rules
includes/progress.php - Moderation helpers
includes/moderation.php - Session and role guards
includes/auth_check.php - Site settings
includes/settings.php - Evidence uploads
includes/upload.php - Flash and redirects
includes/flash.php - Logged-in shell
includes/app_header.php
Other components
- Participant
Connections 30
- Participant → Account access: signs in
auth/login.php - Participant → Challenge discovery: browses
- Participant → Proof submission: submits proof
- Challenge discovery → Participant data helpers: loads challenges
- Proof submission → Evidence uploads: stores evidence
- Challenge authoring → Wizard stepper: renders steps
organizer/create_challenge_review.php - Challenge authoring → Publish challenge: publishes
- Publish challenge → EcoQuest database: writes challenge
actions/create_challenge_handler.php - Publish challenge → Session and role guards: checks role
actions/create_challenge_handler.php - Publish challenge → Shared query helpers: uses helpers
actions/create_challenge_handler.php - Publish challenge → Flash and redirects: sets messages
actions/create_challenge_handler.php - Submission review → Review decision: submits decision
- Review decision → EcoQuest database: updates records
actions/review_submission_handler.php - Review decision → Session and role guards: checks role
actions/review_submission_handler.php - Review decision → Participant data helpers: uses helpers
actions/review_submission_handler.php - Review decision → Progress rules: updates progress
actions/review_submission_handler.php - Review decision → Moderation helpers: uses rules
actions/review_submission_handler.php - Review decision → Flash and redirects: sets messages
actions/review_submission_handler.php - Review decision → Progress and rewards: notifies participant
- Session and role guards → EcoQuest database: checks account
includes/auth_check.php - Participant data helpers → Shared query helpers: uses queries
includes/participant_functions.php - Progress rules → Participant data helpers: uses helpers
includes/progress.php - Moderation helpers → Participant data helpers: uses helpers
includes/moderation.php - Site settings → Shared query helpers: loads settings
includes/settings.php - Site settings → EcoQuest database: reads and writes
includes/settings.php - Evidence uploads → Site settings: uses limits
includes/upload.php - Logged-in shell → Participant data helpers: loads user data
includes/app_header.php - Logged-in shell → Site settings: loads settings
includes/app_header.php - Logged-in shell → Flash and redirects: shows messages
includes/app_header.php - Administration → EcoQuest database: manages records
admin/user_detail.php