Changeset 3416388
- Timestamp:
- 12/10/2025 12:23:13 PM (4 days ago)
- Location:
- events-block-for-the-events-calendar
- Files:
-
- 7 edited
- 1 copied
-
assets/blueprints/blueprint.json (modified) (4 diffs)
-
tags/1.3.12 (copied) (copied from events-block-for-the-events-calendar/trunk)
-
tags/1.3.12/Layouts/list/ebec-list-layout.php (modified) (1 diff)
-
tags/1.3.12/events-block-for-the-event-calender.php (modified) (2 diffs)
-
tags/1.3.12/readme.txt (modified) (2 diffs)
-
trunk/Layouts/list/ebec-list-layout.php (modified) (1 diff)
-
trunk/events-block-for-the-event-calender.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
events-block-for-the-events-calendar/assets/blueprints/blueprint.json
r3348461 r3416388 1 1 { 2 "landingPage": "/wp-admin/ admin.php?page=cool-plugins-events-addon",2 "landingPage": "/wp-admin/post.php?post=85489&action=edit", 3 3 "preferredVersions": { 4 4 "php": "8.2", … … 51 51 "file": { 52 52 "resource": "url", 53 "url": "https://raw.githubusercontent.com/CoolPluginsTeam/wp-playground-repo/main/Events/shortcode-events.xml" 53 "url": "https://raw.githubusercontent.com/CoolPluginsTeam/wp-playground-repo/main/event/common-events.xml" 54 } 55 }, 56 { 57 "step": "importWxr", 58 "file": { 59 "resource": "url", 60 "url": "https://raw.githubusercontent.com/CoolPluginsTeam/wp-playground-repo/main/event/common-venues.xml" 61 } 62 }, 63 { 64 "step": "importWxr", 65 "file": { 66 "resource": "url", 67 "url": "https://raw.githubusercontent.com/CoolPluginsTeam/wp-playground-repo/main/event/common-organizers.xml" 54 68 } 55 69 }, … … 58 72 "file": { 59 73 "resource": "url", 60 "url": "https://raw.githubusercontent.com/CoolPluginsTeam/wp-playground-repo/main/ Events/events-block-for-the-events-calendar.xml"74 "url": "https://raw.githubusercontent.com/CoolPluginsTeam/wp-playground-repo/main/event/events-block-for-the-events-calendar.xml" 61 75 } 62 76 }, … … 64 78 "step": "writeFile", 65 79 "path": "/wordpress/wp-content/mu-plugins/events-block-notice.php", 66 "data": "<?php\nadd_action('admin_notices', function () {\n $demo_page = get_page_by_title('Events Block For The Events Calendar');\n $demo_edit_url = $demo_page ? admin_url('post.php?post=' . $demo_page->ID . '&action=edit') : admin_url('edit.php?post_type=page');\n $site_url = get_home_url();\n\n echo '<style>div#cpfNoticePanel,div#ehe-admin-cb ,.tribe-dismiss-notice{ display: none !important; }</style>';\n\n echo '<div class=\"notice notice-info is-dismissible\" style=\"padding: 25px; font-family: sans-serif; margin-top: 25px; border-left: 5px solid #00a0d2;\">\n <h2 style=\"margin-top: 0; display: flex; align-items: center; gap: 10px;\">\n Display your events on any page using a simple block\n </h2>\n <p style=\"margin-bottom: 15px; font-size: 15px;\">\n You can use the Gutenberg Events Block to beautifully display events from The Events Calendar plugin. This powerful addon offers customization options for colors, fonts, and layouts — making your events list visually engaging and easy to style.\n </p>\n <div style=\"display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px;\">\n <a href=\"' . esc_url($site_url) . '\" class=\"button button-primary\" target=\"_blank\" style=\"padding: 10px 24px; font-size: 14px;\">🔍 View Demo</a>\n <a href=\"' . esc_url($demo_edit_url) . '\" class=\"button button-secondary\" style=\"padding: 10px 24px; font-size: 14px;\">🛠 Events Block</a>\n <a href=\"' . admin_url('edit.php?post_type=tribe_events') . '\" class=\"button\" style=\"padding: 10px 24px; font-size: 14px; border: 1px solid #0073aa; color: #0073aa;\">📚 All Events</a>\n </div>\n <p style=\"font-size: 13px; margin-top: 15px; color: #555;\">🧩 Pro is the upgraded edition of our popular events plugin, providing a wider range of design options, layout styles, and powerful features to help you build eye-catching and professional event listings.</p>\n </div>';\n});"80 "data": "<?php\nadd_action('admin_notices', function () {\n $demo_page = get_page_by_title('Events Block For The Events Calendar');\n $demo_edit_url = $demo_page ? admin_url('post.php?post=' . $demo_page->ID . '&action=edit') : admin_url('edit.php?post_type=page');\n $site_url = get_home_url();\n\n echo '<style>div#cpfNoticePanel,div#ehe-admin-cb { display: none !important; }</style>';\n\n echo '<div class=\"notice notice-info is-dismissible\" style=\"padding: 25px; font-family: sans-serif; margin-top: 25px; border-left: 5px solid #00a0d2;\">\n <h2 style=\"margin-top: 0; display: flex; align-items: center; gap: 10px;\">\n Display your events on any page using a simple block\n </h2>\n <p style=\"margin-bottom: 15px; font-size: 15px;\">\n You can use the Gutenberg Events Block to beautifully display events from The Events Calendar plugin. This powerful addon offers customization options for colors, fonts, and layouts — making your events list visually engaging and easy to style.\n </p>\n <div style=\"display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px;\">\n <a href=\"' . esc_url($site_url) . '\" class=\"button button-primary\" target=\"_blank\" style=\"padding: 10px 24px; font-size: 14px;\">🔍 View Demo</a>\n <a href=\"' . esc_url($demo_edit_url) . '\" class=\"button button-secondary\" style=\"padding: 10px 24px; font-size: 14px;\">🛠 Events Block</a>\n <a href=\"' . admin_url('edit.php?post_type=tribe_events') . '\" class=\"button\" style=\"padding: 10px 24px; font-size: 14px; border: 1px solid #0073aa; color: #0073aa;\">📚 All Events</a>\n </div>\n <p style=\"font-size: 13px; margin-top: 15px; color: #555;\">🧩 Pro is the upgraded edition of our popular events plugin, providing a wider range of design options, layout styles, and powerful features to help you build eye-catching and professional event listings.</p>\n </div>';\n});" 67 81 }, 68 82 { -
events-block-for-the-events-calendar/tags/1.3.12/Layouts/list/ebec-list-layout.php
r3348461 r3416388 4 4 exit; 5 5 } 6 $monthNumber = $event_value['event_start_date_details_month']; 6 if (class_exists('IntlDateFormatter')) { 7 $monthNumber = $event_value['event_start_date_details_month']; 7 8 8 $formatterLong = new IntlDateFormatter(9 get_locale(), // Current WordPress locale10 IntlDateFormatter::LONG,11 IntlDateFormatter::NONE,12 null,13 null,14 'LLLL' // Full month name15 );16 $formatterShort = new IntlDateFormatter(17 get_locale(),18 IntlDateFormatter::LONG,19 IntlDateFormatter::NONE,20 null,21 null,22 'LLL' // Short month name23 );9 $formatterLong = new IntlDateFormatter( 10 get_locale(), // Current WordPress locale 11 IntlDateFormatter::LONG, 12 IntlDateFormatter::NONE, 13 null, 14 null, 15 'LLLL' // Full month name 16 ); 17 $formatterShort = new IntlDateFormatter( 18 get_locale(), 19 IntlDateFormatter::LONG, 20 IntlDateFormatter::NONE, 21 null, 22 null, 23 'LLL' // Short month name 24 ); 24 25 25 $dateObject = DateTime::createFromFormat('!m', $monthNumber);26 $dateObject = DateTime::createFromFormat('!m', $monthNumber); 26 27 27 $longMonthStart = $formatterLong->format($dateObject); 28 $shortMonthStart = $formatterShort->format($dateObject); 28 $longMonthStart = $formatterLong->format($dateObject); 29 $shortMonthStart = $formatterShort->format($dateObject); 30 } else { 31 $longMonthStart = DateTime::createFromFormat( '!m', $event_value['event_start_date_details_month'] )->format( 'F' ); 32 $shortMonthStart = DateTime::createFromFormat( '!m', $event_value['event_start_date_details_month'] )->format( 'M' ); 33 } 29 34 30 35 $event_type = tribe( 'tec.featured_events' )->is_featured( $event_id ) ? 'ebec-featured-event' : 'ebec-simple-event'; -
events-block-for-the-events-calendar/tags/1.3.12/events-block-for-the-event-calender.php
r3397804 r3416388 6 6 * Author: Cool Plugins 7 7 * Author URI: https://coolplugins.net/?utm_source=ebec_plugin&utm_medium=inside&utm_campaign=author_page&utm_content=plugins_list 8 * Version: 1.3.1 18 * Version: 1.3.12 9 9 * License: GPL2+ 10 10 * License URI: https://www.gnu.org/licenses/gpl-2.0.txt … … 19 19 } 20 20 21 define( 'EBEC_VERSION', '1.3.1 1' );21 define( 'EBEC_VERSION', '1.3.12' ); 22 22 define( 'EBEC_FILE', __FILE__ ); 23 23 define( 'EBEC_PATH', plugin_dir_path( EBEC_FILE ) ); -
events-block-for-the-events-calendar/tags/1.3.12/readme.txt
r3397804 r3416388 4 4 Tags: events list, events block, the events calendar blocks, Gutenberg block, events calendar 5 5 Requires at least: 6.0 6 Tested up to: 6. 8.36 Tested up to: 6.9 7 7 Requires PHP: 7.2 8 Stable tag: 1.3.1 18 Stable tag: 1.3.12 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 88 88 89 89 == Changelog == 90 91 = Version 1.3.12 | 10 December, 2025 = 92 - **Fixed:** IntlDateFormatter missing error in event list layout. 93 - **Tested upto:** The Events Calendar version 6.15.12.2 94 90 95 = Version 1.3.11 | 18 November, 2025 = 91 96 - **Tested upto:** The Events Calendar version 6.15.11 -
events-block-for-the-events-calendar/trunk/Layouts/list/ebec-list-layout.php
r3348461 r3416388 4 4 exit; 5 5 } 6 $monthNumber = $event_value['event_start_date_details_month']; 6 if (class_exists('IntlDateFormatter')) { 7 $monthNumber = $event_value['event_start_date_details_month']; 7 8 8 $formatterLong = new IntlDateFormatter(9 get_locale(), // Current WordPress locale10 IntlDateFormatter::LONG,11 IntlDateFormatter::NONE,12 null,13 null,14 'LLLL' // Full month name15 );16 $formatterShort = new IntlDateFormatter(17 get_locale(),18 IntlDateFormatter::LONG,19 IntlDateFormatter::NONE,20 null,21 null,22 'LLL' // Short month name23 );9 $formatterLong = new IntlDateFormatter( 10 get_locale(), // Current WordPress locale 11 IntlDateFormatter::LONG, 12 IntlDateFormatter::NONE, 13 null, 14 null, 15 'LLLL' // Full month name 16 ); 17 $formatterShort = new IntlDateFormatter( 18 get_locale(), 19 IntlDateFormatter::LONG, 20 IntlDateFormatter::NONE, 21 null, 22 null, 23 'LLL' // Short month name 24 ); 24 25 25 $dateObject = DateTime::createFromFormat('!m', $monthNumber);26 $dateObject = DateTime::createFromFormat('!m', $monthNumber); 26 27 27 $longMonthStart = $formatterLong->format($dateObject); 28 $shortMonthStart = $formatterShort->format($dateObject); 28 $longMonthStart = $formatterLong->format($dateObject); 29 $shortMonthStart = $formatterShort->format($dateObject); 30 } else { 31 $longMonthStart = DateTime::createFromFormat( '!m', $event_value['event_start_date_details_month'] )->format( 'F' ); 32 $shortMonthStart = DateTime::createFromFormat( '!m', $event_value['event_start_date_details_month'] )->format( 'M' ); 33 } 29 34 30 35 $event_type = tribe( 'tec.featured_events' )->is_featured( $event_id ) ? 'ebec-featured-event' : 'ebec-simple-event'; -
events-block-for-the-events-calendar/trunk/events-block-for-the-event-calender.php
r3397804 r3416388 6 6 * Author: Cool Plugins 7 7 * Author URI: https://coolplugins.net/?utm_source=ebec_plugin&utm_medium=inside&utm_campaign=author_page&utm_content=plugins_list 8 * Version: 1.3.1 18 * Version: 1.3.12 9 9 * License: GPL2+ 10 10 * License URI: https://www.gnu.org/licenses/gpl-2.0.txt … … 19 19 } 20 20 21 define( 'EBEC_VERSION', '1.3.1 1' );21 define( 'EBEC_VERSION', '1.3.12' ); 22 22 define( 'EBEC_FILE', __FILE__ ); 23 23 define( 'EBEC_PATH', plugin_dir_path( EBEC_FILE ) ); -
events-block-for-the-events-calendar/trunk/readme.txt
r3397804 r3416388 4 4 Tags: events list, events block, the events calendar blocks, Gutenberg block, events calendar 5 5 Requires at least: 6.0 6 Tested up to: 6. 8.36 Tested up to: 6.9 7 7 Requires PHP: 7.2 8 Stable tag: 1.3.1 18 Stable tag: 1.3.12 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 88 88 89 89 == Changelog == 90 91 = Version 1.3.12 | 10 December, 2025 = 92 - **Fixed:** IntlDateFormatter missing error in event list layout. 93 - **Tested upto:** The Events Calendar version 6.15.12.2 94 90 95 = Version 1.3.11 | 18 November, 2025 = 91 96 - **Tested upto:** The Events Calendar version 6.15.11
Note: See TracChangeset
for help on using the changeset viewer.