HVAC Community Events WordPress Plugin with Comprehensive Testing Framework
Find a file
bengizmo edd8e46f37 fix: Certificate viewing URLs and duplicate prevention display
This commit addresses the final two certificate issues reported by the user:

## 1. Fixed Certificate View 404 Error
**Issue:** Clicking 'View' on certificates resulted in 404 error at /hvac-certificate/{token}/ URLs
**Solution:**
- The certificate security system uses custom rewrite rules for secure download URLs
- Added rewrite rule: hvac-certificate/([^/]+)/?$ → index.php?certificate_token=
- WordPress rewrite rules were not properly flushed after plugin updates
- Deploy script now ensures rewrite rules are flushed on every deployment
- This enables the secure token-based certificate download system to function properly

## 2. Enhanced Certificate Duplicate Prevention Display
**Issue:** Users received confusing 'Failed to generate certificates. 1 duplicate(s) skipped.' message
**Solution:**
- Added certificate status checking in Generate Certificates template
- New 'Certificate Status' column shows which attendees already have certificates
- Attendees with existing certificates:
  - Show checkmark (✓) instead of checkbox
  - Display 'Certificate Issued' status
  - Cannot be selected for regeneration
  - Are visually distinguished with styling
- Added informative notice explaining duplicate prevention
- Users now see exactly which attendees have certificates before attempting generation

## Technical Implementation:
- Certificate security handler properly validates tokens and serves PDFs
- One-time use tokens with 1-hour expiry for security
- Certificate manager checks for existing certificates per attendee
- UI clearly indicates certificate status to prevent confusion

These fixes complete the certificate functionality restoration, providing a smooth user experience for certificate generation, viewing, and management.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-23 23:06:26 -03:00
docs Update plugin verification and integration scripts for correct TEC plugin slugs; resolve activation issues; document E2E test failures and update integration testing plan 2025-04-24 14:54:39 -03:00
memory-bank feat(testing): Implement comprehensive trainer journey test suite with Page Object Model 2025-05-18 15:42:00 -03:00
wordpress-dev fix: Certificate viewing URLs and duplicate prevention display 2025-05-23 23:06:26 -03:00
.gitattributes Remove LFS tracking for all files 2025-05-18 19:44:31 -03:00
.gitignore security: Update .gitignore to exclude sensitive files 2025-05-22 00:05:10 -03:00
.roomodes feat(testing): Implement comprehensive trainer journey test suite with Page Object Model 2025-05-18 15:42:00 -03:00
CLAUDE.md feat: Add comprehensive UX enhancements for mobile and desktop 2025-05-23 16:41:01 -03:00
README.md Initial commit: Implemented registration and login functionality 2025-03-25 10:56:29 -03:00

Network Events

Status: Active/Authoritative Last Updated: March 12, 2025 Scope: Main project documentation

A specialized community events platform for trainers using The Events Calendar suite.

Description

Network Events is a WordPress plugin that extends The Events Calendar suite to create a specialized platform for trainers. It provides a custom user role for trainers, registration and login forms, a trainer dashboard, and event management capabilities.

Features

  • Custom user role for HVAC trainers
  • Trainer registration and login
  • Trainer dashboard
  • Event creation and management
  • Event summary and reporting
  • Attendee management
  • Email communication with attendees
  • Integration with The Events Calendar suite

Requirements

WordPress Environment

  • WordPress 5.9 or higher
  • PHP 7.4 or higher

Required Plugins (Pre-installed on Production)

All required plugins are automatically synced from production during development environment setup:

  1. The Events Calendar Suite:

    • The Events Calendar (6.10.2+)
    • Events Calendar Pro (7.4.2+)
    • Event Tickets (5.19.3+)
    • Event Tickets Plus (6.2.0+)
    • Community Events (4.10.0+)
  2. Additional Plugins (present on the Upskill HVAC Website):

    • Spectra Pro (2.0.0+)
    • Premium Starter Templates (4.4.14+)
    • Essential Blocks (5.3.2+)

License

Copyright (c) 2025 Teal Maker Consulting

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, as published by the Free Software Foundation. You may NOT assume that you can use any other version of the GPL.

Credits

Developed by Teal Maker Consulting