diff --git a/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/includes/class-hvac-community-events.php b/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/includes/class-hvac-community-events.php index 258780a7..d0f9be23 100644 --- a/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/includes/class-hvac-community-events.php +++ b/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/includes/class-hvac-community-events.php @@ -639,6 +639,12 @@ class HVAC_Community_Events { return '
You do not have permission to access this feature.
'; } + // Check if TEC Community Events is active and working + if (function_exists('tribe_community_events_form')) { + // Let TEC handle it natively - don't override + return ''; + } + // Handle different views switch ($atts['view']) { case 'submission_form': @@ -657,8 +663,17 @@ class HVAC_Community_Events { ob_start(); ?>
+ +
+

Create New Training Event

+ +
+
-

Create New Training Event

Fill out the form below to create a new training event. All events are reviewed before being published.

@@ -673,10 +688,6 @@ class HVAC_Community_Events {
-
-

Note: This page is currently using a simplified form. For full event creation functionality, please use the WordPress admin area or ensure The Events Calendar Community Events plugin is properly configured.

-

Create Event in Admin Area

-
@@ -790,7 +801,10 @@ class HVAC_Community_Events {

post_title); ?>

-

Status: post_status); ?>

+

Status: post_status === 'publish' ? 'Published' : ucfirst($event->post_status); + echo esc_html($status_display); + ?>

Edit View diff --git a/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/certificates/template-certificate-reports.php b/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/certificates/template-certificate-reports.php index 2ed8b151..9ab3f06b 100644 --- a/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/certificates/template-certificate-reports.php +++ b/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/certificates/template-certificate-reports.php @@ -118,8 +118,17 @@ try {
+ +
+

Certificate Reports

+ +
+
-

Certificate Reports

View and manage all certificates you've generated for event attendees.

diff --git a/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/template-trainer-profile.php b/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/template-trainer-profile.php index d9f5f783..77f2ffdc 100644 --- a/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/template-trainer-profile.php +++ b/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/template-trainer-profile.php @@ -97,7 +97,7 @@ get_header(); // Use theme's header

Personal Information