Plugin Directory

Changeset 2926015


Ignore:
Timestamp:
06/14/2023 02:59:32 PM (3 years ago)
Author:
vikings412
Message:

tagging v4.3.0 for release

Location:
display-event-locations-tec
Files:
8 added
4 deleted
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • display-event-locations-tec/tags/4.3.0/README.md

    r2883828 r2926015  
    33Donate Link: https://paypal.me/michaelw13
    44Tags: events, customization, modern-tribe, override, template
    5 Requires at least: 5.0
     5Requires at least: 5.0.0
    66Tested up to: 6.2.0
    7 Stable tag: 4.2.0
     7Stable tag: 4.3.0
    88Requires PHP: 7.0.0
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1111
    12 This plugin works with The Events Calendar by Modern Tribe. It changes the popup on the month view to include the event's location within the popup.
     12This plugin works with The Events Calendar by Modern Tribe. It adds an event's location information to the tooltip on the monthly calendar view.
    1313
    1414== Description ==
     
    4646First, make sure that the plugin 'Display Event Location for The Events Calendar' is installed and activated on your website. To check this, click on the `Plugins` option from the left-hand administration sidebar in WordPress. Once the page loads, make sure `Display Event Location for The Events Calendar` is activated. Then try viewing your calendar again to see if the tooltip now displays the location of your events.
    4747
    48 If the `Display Event Location for The Events Calendar` plugin is activated and the tooltip still does not show the location of events in your calendar, try navigating your calendar to the next month or backwards to the previous month. Then try hovering over events from that month and see if the tooltip is displaying event locations. If you still do not see a location in the tooltip when hovering over events on the monthly calendar, edit the event in question and ensure that a Venue is selected. You can do this by selecting `Events > Venues > Add New` from your WordPress administration area. Additional instructions for creating venues can be found here: [https://theeventscalendar.com/knowledgebase/k/venue-and-organizer-pages/](https://theeventscalendar.com/knowledgebase/k/venue-and-organizer-pages/)
     48If the `Display Event Location for The Events Calendar` plugin is activated and the tooltip still does not show the location of events in your calendar, try navigating your calendar to the next month or backwards to the previous month. Then try hovering over events from that month and see if the tooltip is displaying event locations.
     49
     50If you still do not see a location in the tooltip when hovering over events on the monthly calendar, edit the event in question and ensure that a venue is selected. You can do this by selecting `Events > Venues > Add New` from your WordPress administration area. Additional instructions for creating venues can be found here: [https://theeventscalendar.com/knowledgebase/k/venue-and-organizer-pages/](https://theeventscalendar.com/knowledgebase/k/venue-and-organizer-pages/)
    4951
    5052If you still aren't seeing the location displayed within the tooltip, you can also try viewing your calendar in a different browser or try clearing your browser's cache and then viewing your calendar again. It is common that the monthly calendar view gets cached in your browser or by your website's hosting service. A clearing of all website and server cache fixes most issues.
     
    104106= Will this plugin work on both the legacy and v2 calendar views? =
    105107
    106 No. As of version `4.0.0`, this plugin modifies ***only*** the the new calendar views (v2 views) introduced with The Events Calendar 5.0+ and The Events Calendar Pro 5.0+.
     108No. As of version `4.0.0` of this plugin, ***only*** the the new calendar views (v2 views) introduced with The Events Calendar 5.0+ and The Events Calendar Pro 5.0+.
    107109
    108110== Screenshots==
     
    115117
    116118== Changelog ==
     119
     120= 4.3.0 =
     121* Released on Wednesday, June 14, 2023
     122* Added: DELTEC custom templates for The Events Calendar are now found in `/tribe-templates/`.
     123* Added: The custom DELTEC tooltip template now uses a WordPress action to inject the event's venue information into the tooltip that is displayed when hovering over an event on the monthly calendar view. This work creates a clear path forward for future template customizations.
     124* Added: The WordPress Plugin Repository listing for this plugin now features the `Community` tag.
     125* Added: The plugin `README` includes a simpler description on the plugin's functionality and improved clarity to both the installation instructions and the plugin FAQs. All in an effort to make things clearer and less overwhelming to new users.
     126* Added: The logic for the custom tooltip template has been moved into `/tribe-templates/month/tooltip-venue.php` and no longer relies on the title template. This decouples the plugin's custom tooltip modification from changes that the developers of The Events Calendar might make to the title portion of the tooltip.
     127* Fixed: Code throughout the plugin source code was cleaned and simplified for improved clarity and performance.
     128* Removed: DELTEC will no longer look in your active child theme for The Events Calendar templates since all of the custom templates are found within the source code for the DELTEC plugin only.
     129* Added: `tribe-templates/`
     130* Added: `tribe-templates/month/`
     131* Added: `tribe-templates/month/tooltip-venue.php`
     132* Renamed: `plugin.php` to `display-event-locations-tec.php`
     133* Edited: `display-event-locations-tec.php`
     134* Edited: `README.md`
     135* Edited: `/includes/settings-page/admin-menu.php`
     136* Edited: `/includes/settings-page/settings-callbacks.php`
     137* Edited: `/includes/settings-page/settings-page.php`
     138* Edited: `/includes/settings-page/settings-register.php`
     139* Edited: `/includes/settings-page/settings-validate.php`
     140* Removed: `/tribe/events/month/calendar-body/day/calendar-events/calendar-event/tooltip/title.php`
    117141
    118142= 4.2.0 =
     
    364388== Upgrade Notice ==
    365389
     390= 4.3.0 =
     391Howdy! I've listed this update as a `minor` release, but there is a lot going on under the hood. The core functionality of this plugin has not changed. In fact, with this release of `v4.3.0` there are no new features or changes that you should see on your end. With that being said, I've been doing a ton of work behind the scenes to clean the source code, simplify logic, and make small improvements in performance. For those that are interested in the technical details, those can be found in the changelog. Long story short, I'm working to make sure that this plugin functions correctly, is efficient, and that it is reliable for you. If you run into any issues with your update, please open a support ticket and I will work with you to resolve any issues. Take care!
     392
    366393= 4.2.0 =
    367394This update contains another small bug fix. Several users reported that the location name and address would not display after upgrading to The Events Calendar v6.0+. This was caused by venues that were created without specifying a street address. Updating to version 4.2.0 of this plugin corrects that bug. Thank you to user [hakonknappen](https://wordpress.org/support/users/hakonknappen/) and [dcw4](https://wordpress.org/support/users/dcw4/) on the Wordpress.org support forum for [reporting the issue](https://wordpress.org/support/topic/the-venue-isnt-displayd-in-tooltip-after-upgrading-the-events-calendar/).
  • display-event-locations-tec/tags/4.3.0/includes/settings-page/admin-menu.php

    r2256496 r2926015  
    11<?php
    22
    3  /**
     3/**
    44 *  Exit plugin if it is being accessed directly
    55 */
     
    99
    1010
    11  /**
     11/**
    1212 * Add submenu page for 'Display Event Location for The Events Calendar' under the Settings tab
    1313 */
  • display-event-locations-tec/tags/4.3.0/includes/settings-page/settings-callbacks.php

    r2330375 r2926015  
    11<?php
    22
    3  /**
     3/**
    44 *  Exit plugin if it is being accessed directly
    55 */
     
    99
    1010
    11  /**
     11/**
    1212 * Callback function for tooltip settings section on the deltec settings page
    1313 *
     
    3939
    4040
    41  /**
     41/**
    4242 * Callback function for the display-full-address field on the deltec settings page
    4343 *
    44  * @see deltec_register_settings
    45  *           /includes/settings-register.php
     44 * @see deltec_register_settings() located at /includes/settings-register.php
    4645 */
    4746function deltec_callback_show_full_address_checkbox($args) {
  • display-event-locations-tec/tags/4.3.0/includes/settings-page/settings-page.php

    r2330375 r2926015  
    99
    1010
    11  /**
     11/**
    1212 *  Add items to the Display Event Location for The Events Calendar settings page
    1313 */
     
    1515    // Check to make sure the user has access to the page
    1616    if (!current_user_can('manage_options')) {
    17         return; // If they do not have the needed permissions to view this page -> return nothing
     17        return;
    1818    }
    1919    ?>
     
    2323        <form action="options.php" method="post">
    2424            <?php
    25             //Output Security Fields
     25            //Output Settings Fields
    2626            settings_fields( 'deltec_options');
    2727
     
    4141            <strong><?php $deltec_options = get_option('deltec_options'); $tooltip_message = $deltec_options['pre-venue-message']; echo $tooltip_message ?> </strong>Event Location Name<br />
    4242            <?php
    43 
    44                 // If the checkbox is not set or not checked -> assign $options a value of 0
    45                 // If the checkbox is set -> assign $options a value of 1
    4643                $deltec_checkbox_option = empty(get_option('deltec_options')['display-full-address']) ? 0 : 1;
    4744
    48                 // If the user is showing the full address, display this within the tooltip preview as well
    4945                if ($deltec_checkbox_option == 1) {
    5046                    $deltec_html = '<strong>Fake Address 1234<br /> Fake City, Fake State Zip Code <br /> Country</strong>';
  • display-event-locations-tec/tags/4.3.0/includes/settings-page/settings-register.php

    r2330375 r2926015  
    99
    1010
    11  /**
     11/**
    1212 *  Register settings for the deltec_settings_page
    1313 */
  • display-event-locations-tec/tags/4.3.0/includes/settings-page/settings-validate.php

    r2330375 r2926015  
    11<?php
    22
    3  /**
     3/**
    44 * Exit file if it is being accessed directly
    55 */
     
    99
    1010
    11  /**
     11/**
    1212 * Validate & Clean settings fields on the deltec settings page
    1313 *
  • display-event-locations-tec/trunk/README.md

    r2883828 r2926015  
    33Donate Link: https://paypal.me/michaelw13
    44Tags: events, customization, modern-tribe, override, template
    5 Requires at least: 5.0
     5Requires at least: 5.0.0
    66Tested up to: 6.2.0
    7 Stable tag: 4.2.0
     7Stable tag: 4.3.0
    88Requires PHP: 7.0.0
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1111
    12 This plugin works with The Events Calendar by Modern Tribe. It changes the popup on the month view to include the event's location within the popup.
     12This plugin works with The Events Calendar by Modern Tribe. It adds an event's location information to the tooltip on the monthly calendar view.
    1313
    1414== Description ==
     
    4646First, make sure that the plugin 'Display Event Location for The Events Calendar' is installed and activated on your website. To check this, click on the `Plugins` option from the left-hand administration sidebar in WordPress. Once the page loads, make sure `Display Event Location for The Events Calendar` is activated. Then try viewing your calendar again to see if the tooltip now displays the location of your events.
    4747
    48 If the `Display Event Location for The Events Calendar` plugin is activated and the tooltip still does not show the location of events in your calendar, try navigating your calendar to the next month or backwards to the previous month. Then try hovering over events from that month and see if the tooltip is displaying event locations. If you still do not see a location in the tooltip when hovering over events on the monthly calendar, edit the event in question and ensure that a Venue is selected. You can do this by selecting `Events > Venues > Add New` from your WordPress administration area. Additional instructions for creating venues can be found here: [https://theeventscalendar.com/knowledgebase/k/venue-and-organizer-pages/](https://theeventscalendar.com/knowledgebase/k/venue-and-organizer-pages/)
     48If the `Display Event Location for The Events Calendar` plugin is activated and the tooltip still does not show the location of events in your calendar, try navigating your calendar to the next month or backwards to the previous month. Then try hovering over events from that month and see if the tooltip is displaying event locations.
     49
     50If you still do not see a location in the tooltip when hovering over events on the monthly calendar, edit the event in question and ensure that a venue is selected. You can do this by selecting `Events > Venues > Add New` from your WordPress administration area. Additional instructions for creating venues can be found here: [https://theeventscalendar.com/knowledgebase/k/venue-and-organizer-pages/](https://theeventscalendar.com/knowledgebase/k/venue-and-organizer-pages/)
    4951
    5052If you still aren't seeing the location displayed within the tooltip, you can also try viewing your calendar in a different browser or try clearing your browser's cache and then viewing your calendar again. It is common that the monthly calendar view gets cached in your browser or by your website's hosting service. A clearing of all website and server cache fixes most issues.
     
    104106= Will this plugin work on both the legacy and v2 calendar views? =
    105107
    106 No. As of version `4.0.0`, this plugin modifies ***only*** the the new calendar views (v2 views) introduced with The Events Calendar 5.0+ and The Events Calendar Pro 5.0+.
     108No. As of version `4.0.0` of this plugin, ***only*** the the new calendar views (v2 views) introduced with The Events Calendar 5.0+ and The Events Calendar Pro 5.0+.
    107109
    108110== Screenshots==
     
    115117
    116118== Changelog ==
     119
     120= 4.3.0 =
     121* Released on Wednesday, June 14, 2023
     122* Added: DELTEC custom templates for The Events Calendar are now found in `/tribe-templates/`.
     123* Added: The custom DELTEC tooltip template now uses a WordPress action to inject the event's venue information into the tooltip that is displayed when hovering over an event on the monthly calendar view. This work creates a clear path forward for future template customizations.
     124* Added: The WordPress Plugin Repository listing for this plugin now features the `Community` tag.
     125* Added: The plugin `README` includes a simpler description on the plugin's functionality and improved clarity to both the installation instructions and the plugin FAQs. All in an effort to make things clearer and less overwhelming to new users.
     126* Added: The logic for the custom tooltip template has been moved into `/tribe-templates/month/tooltip-venue.php` and no longer relies on the title template. This decouples the plugin's custom tooltip modification from changes that the developers of The Events Calendar might make to the title portion of the tooltip.
     127* Fixed: Code throughout the plugin source code was cleaned and simplified for improved clarity and performance.
     128* Removed: DELTEC will no longer look in your active child theme for The Events Calendar templates since all of the custom templates are found within the source code for the DELTEC plugin only.
     129* Added: `tribe-templates/`
     130* Added: `tribe-templates/month/`
     131* Added: `tribe-templates/month/tooltip-venue.php`
     132* Renamed: `plugin.php` to `display-event-locations-tec.php`
     133* Edited: `display-event-locations-tec.php`
     134* Edited: `README.md`
     135* Edited: `/includes/settings-page/admin-menu.php`
     136* Edited: `/includes/settings-page/settings-callbacks.php`
     137* Edited: `/includes/settings-page/settings-page.php`
     138* Edited: `/includes/settings-page/settings-register.php`
     139* Edited: `/includes/settings-page/settings-validate.php`
     140* Removed: `/tribe/events/month/calendar-body/day/calendar-events/calendar-event/tooltip/title.php`
    117141
    118142= 4.2.0 =
     
    364388== Upgrade Notice ==
    365389
     390= 4.3.0 =
     391Howdy! I've listed this update as a `minor` release, but there is a lot going on under the hood. The core functionality of this plugin has not changed. In fact, with this release of `v4.3.0` there are no new features or changes that you should see on your end. With that being said, I've been doing a ton of work behind the scenes to clean the source code, simplify logic, and make small improvements in performance. For those that are interested in the technical details, those can be found in the changelog. Long story short, I'm working to make sure that this plugin functions correctly, is efficient, and that it is reliable for you. If you run into any issues with your update, please open a support ticket and I will work with you to resolve any issues. Take care!
     392
    366393= 4.2.0 =
    367394This update contains another small bug fix. Several users reported that the location name and address would not display after upgrading to The Events Calendar v6.0+. This was caused by venues that were created without specifying a street address. Updating to version 4.2.0 of this plugin corrects that bug. Thank you to user [hakonknappen](https://wordpress.org/support/users/hakonknappen/) and [dcw4](https://wordpress.org/support/users/dcw4/) on the Wordpress.org support forum for [reporting the issue](https://wordpress.org/support/topic/the-venue-isnt-displayd-in-tooltip-after-upgrading-the-events-calendar/).
  • display-event-locations-tec/trunk/includes/settings-page/admin-menu.php

    r2256496 r2926015  
    11<?php
    22
    3  /**
     3/**
    44 *  Exit plugin if it is being accessed directly
    55 */
     
    99
    1010
    11  /**
     11/**
    1212 * Add submenu page for 'Display Event Location for The Events Calendar' under the Settings tab
    1313 */
  • display-event-locations-tec/trunk/includes/settings-page/settings-callbacks.php

    r2330375 r2926015  
    11<?php
    22
    3  /**
     3/**
    44 *  Exit plugin if it is being accessed directly
    55 */
     
    99
    1010
    11  /**
     11/**
    1212 * Callback function for tooltip settings section on the deltec settings page
    1313 *
     
    3939
    4040
    41  /**
     41/**
    4242 * Callback function for the display-full-address field on the deltec settings page
    4343 *
    44  * @see deltec_register_settings
    45  *           /includes/settings-register.php
     44 * @see deltec_register_settings() located at /includes/settings-register.php
    4645 */
    4746function deltec_callback_show_full_address_checkbox($args) {
  • display-event-locations-tec/trunk/includes/settings-page/settings-page.php

    r2330375 r2926015  
    99
    1010
    11  /**
     11/**
    1212 *  Add items to the Display Event Location for The Events Calendar settings page
    1313 */
     
    1515    // Check to make sure the user has access to the page
    1616    if (!current_user_can('manage_options')) {
    17         return; // If they do not have the needed permissions to view this page -> return nothing
     17        return;
    1818    }
    1919    ?>
     
    2323        <form action="options.php" method="post">
    2424            <?php
    25             //Output Security Fields
     25            //Output Settings Fields
    2626            settings_fields( 'deltec_options');
    2727
     
    4141            <strong><?php $deltec_options = get_option('deltec_options'); $tooltip_message = $deltec_options['pre-venue-message']; echo $tooltip_message ?> </strong>Event Location Name<br />
    4242            <?php
    43 
    44                 // If the checkbox is not set or not checked -> assign $options a value of 0
    45                 // If the checkbox is set -> assign $options a value of 1
    4643                $deltec_checkbox_option = empty(get_option('deltec_options')['display-full-address']) ? 0 : 1;
    4744
    48                 // If the user is showing the full address, display this within the tooltip preview as well
    4945                if ($deltec_checkbox_option == 1) {
    5046                    $deltec_html = '<strong>Fake Address 1234<br /> Fake City, Fake State Zip Code <br /> Country</strong>';
  • display-event-locations-tec/trunk/includes/settings-page/settings-register.php

    r2330375 r2926015  
    99
    1010
    11  /**
     11/**
    1212 *  Register settings for the deltec_settings_page
    1313 */
  • display-event-locations-tec/trunk/includes/settings-page/settings-validate.php

    r2330375 r2926015  
    11<?php
    22
    3  /**
     3/**
    44 * Exit file if it is being accessed directly
    55 */
     
    99
    1010
    11  /**
     11/**
    1212 * Validate & Clean settings fields on the deltec settings page
    1313 *
Note: See TracChangeset for help on using the changeset viewer.