- Fix - Resolve translation issue that can occur with get_plugin_data(). [TEC-5350]
- Fix - Resolve problem for PHP 8+, avoid passing pass
null
to string specific functions. (props @afragen) [TECENG-58]
- updates to legend superpowers to maintain selection between time selections
- dim/undim legend superpowers menu items
- general code improvement of legend superpowers
- yeah Barry 🙌
- update
Frontend::show_legend()
to accomodate multiple calendar views on single page
- TEC converted
$view->get_slug()
to$view::get_view_slug()
in the-events-calendar/the-events-calendar#4091 - add checks for default values being set
- add
$comma
parameter toecho_css()
to simplify placement of selectors
- rename title to correspond to The Events Calendar standard
- retructure CSS additions to not end with comma, added in
category.css.php
- fix empty spacer classes to be transparent
- add CSS for TEC/ECP 6.0 feature events
- move all Pro CSS to
CSS\Pro
- fix CSS for all day multiday week view
- update hook name for Events Calendar settings to load admin resources
- load Superpowers JS on mobile too
- improve Superpowers JS slug selection, use vanilla JS
- update Superpowers JS for jQuery
click
and slug selection
- update past event CSS
- tooltip CSS no longer available
- fix PHP Warning
- hotfix,
Base_CSS
not being written, stupid mistake on my part
- rewrite to use
wp_add_inline_style()
for adding CSS, no more file writing - WPCS linting
- update requirements, PHP 7.1, WP 5.2
- add some error checking, #132
- update JS for jQuery 3.0, thanks @andrasguseo
- add Reset button for legend, thanks @andrasguseo
- add legend for Summary view, thanks @andrasguseo
- update Settings UI to show/hide options
- update for new Summary view in ECP
- only use
esc_attr_e
for translating strings - add
teccc_legend_terms
filter - update
legend.php
- add @10up GitHub Actions for WordPress SVN integration
- Reset button added to legend in settings, navigate back to main calendar, thanks @andrasgueso
- updated to fix CSS url if running on non-standard port
- updated legend superpowers to work with shortcode, thanks @gustavo
- add filter
teccc_uploads_dir
to filter thewp-content/uploads
path. - added legend views to Settings, thanks @andrasguseo
- fix conflict between widget list and multiday events
- update for widget list #119
- silence
unlink()
- updated all v2 views hook names for showing legend
- deprecate
teccc_reposition_legend()
with v2 - deprecate
teccc_remove_default_legend
, just uncheck the setting
- simplify jQuery
on()
for reloading legend superpowerssetup()
and remove conditionals 🤞
- separate JS conditionals
- fix stylesheet URL for protocol relative link when host missing
- improve JS conditional to prevent JS error on non-calendar pages
- make JS conditional more specific so legend superpowers continue to work after prev/next
- now strip CSS URL scheme to avoid mixed media errors from server
- test explicity for
$template instanceof \Tribe\Events\Views\V2\Template
, fixes bug when also using Events Tickets - fix Superpowers JS error,
ReferenceError: Can't find variable: tribe
andviews
- explicitly set file permissions to 644 for CSS files
- updated for new v2 views or TEC and ECP
- make legend superpowers work for new v2 views, thanks Gustavo!!
- fixed storage of
cache_key
transient
- fixed incorrect CSS selector for background colors
- structural reorganization of plugin
- update WordPress and PHP requirements to align with The Events Calendar
- remove
GLOB_BRACE
as unneeded and limiting #108, thanks @DakuTree
- add filter to set options hash, hopefully this solves an issue with load balancers not having current files
- change
wp_get_upload_dir()
towp_upload_dir()
so that if the directory doesn't exist it is created - the above fixes Writing to CSS file failing, thanks @dpegasusm
- bust CSS browser cache with
?refresh_css
- some WPCS fixes
- fix PHP notice #102
- updated
composer.json
- update message incompatible PHP version for consistency with WP core
- use composer autoloader
- remove
Back_Compat
shims, now in TEC - SSL readme links
- move
teccc_get_terms
filter after filtersteccc_add_terms
andteccc_delete_terms
- add default values when using
teccc_add_terms
filter - added
class Bootstrap
for plugin loading, now requires PHP 5.4+ - use
sanitize_hex_color()
for validation of color picker data - fixed coloring for featured events
- fixed widget CSS
- move list CSS to
class Extras
- fixed week CSS
- load stylesheet all the time, more efficient as external file
- updated
class Main
touse Tribe__Events__Main
can now useTribe__Events__Main::TAXONOMY
- refactor setup of ignored terms and term data
- add
border-right
to featured events - updated validation code upon saving options
- use
wp_upload_url()
to for stylesheet to accomodate user directory preferences - set SSL corrected URLs for
wp_upload_url()
, https://core.trac.wordpress.org/ticket/25449
- fixed to create CSS when files don't exist
- cleanup old CSS files
- write standard and minified CSS to files
- load minified CSS when WP_DEBUG is false
- improve minify code
- update CSS selectors for list view
- refactor CSS strings for inline format
- update for new tooltip title as
h3
- added some functions for adding deprecated CSS
- added function
Extras::override_customizer()
for when Customizer settings need to be overridden
- needed a space between CSS parameters, PhpStorm reformat code error
- add
Default
as text color option which removes CSS color tag - Settings will need to be re-saved due to the new settings options
- updated autoloader
- no longer add CSS for transparency, allows for minimal overlapping styles
- simplify check for shortcodes
- fix regex to correctly parse nested shortcodes
- fixed PHP Notices when hide setting selected
- update mobile CSS to override
display:none
in TEC mobile CSS
- fixed PHP Notice with more specific test of WP_POST
- fixed text color for featured events #79
- fixed PHP Notice
- added additional link color CSS selector for
#tribe-events-content
- added more shortcodes to list for support
- updated some week view CSS
- fixed ECP week view
- added support for ECP week view shortcode
- make Autoloader a drop-in
- move graceful exit to just before plugin initialization
- added support for tribe shortcodes
- graceful failure if The Events Calendar is not active
- added CSS selector to override Customizer month view
- added filters and functions to provide WPML compatibility thanks @jvier for testing
- added our own PHP version check
- added filter
teccc_fix_category_background_color
for those pesky themes that have Events Calendar specific CSS, I'm looking at you Avada
- moved older changes into CHANGES.md
- modified filter
teccc_fix_category_link_color
for those really pesky themes. The modification will require an adjustment to the way the filter is called and returned. Refer to the wiki for details. - above filter modification fixes issue with Read More links.
- added filter
teccc_fix_category_link_color
for those pesky themes that override everything. - fixed ETag header in CSS
- removed Filter Bar coloring
- further optimized CSS minification
- refactor mobile CSS and add filter
teccc_mobile_css
- fix superpowers to be more inclusive in find - thanks Lisa
- fix to display title full width, most noticeable in photo view
- sorry about all the quick updates, just trying to fix issues as I'm made aware of them.
- fix for mobile TEC 4.0
- fix week view all day color
- fix week view link color
- update for The Events Calendar 4.0
- fix for WordPress installation in subfolder - thanks @IndigoStarfish
- tested to WordPress 4.4
- escape all things for better security
- tweak declaration/initiation of variables
- tested to 4.3
- change CSS load order to ( PHP_MAX_INT - 100 ) to allow for overriding
- fix for PHP notice on Settings
- fix for v3.10 all day week view.
- update for
Tribe__Events__Filterbar__View
with CSS fix too.
- update for new
Tribe__Events__Main
andTribe__Events__Pro__Main
classes - fix CSS for week view
- add setting to show hidden categories - for @mending
- add setting to hide category on frontend
- fix a number of PHP notices
- fix for fatal error. Need to load namespaced class as variable as PHP < 5.3 chokes.
- quick fix for fatal error, I think due to naming method in WPUpdatePhp
- don't use variable for class name
- switch PHP version check to use WPUpdatePhp
- don't minify CSS when
?debug_css
- this to help in debugging - requires PHP 5.3 or greater as requires namespacing
- class aliases for backwards compatibility for users of ECP 3.9 or lower
- renamed directory and class names to allow for PSR 4 loading
- fix all text domain slugs and update POs
- add CSS selectors for TEC 3.10
- minify CSS only if
WP_DEBUG
is not true
- add minification to stored CSS
- fix for new widget CSS selectors
- remove Agenda view as not supported by Modern Tribe except as example template
- tested with WP 4.1
- fix mobile to hide tooltips, @barryhughes does it again
- change query inspection and test for post type to main loop - yeah @barryhughes
- change
get_site_url()
tohome_url()
to fix 404 - thanks @marcphilipp
- now using generated CSS stylesheet for events pages - yeah @barry.hughes
- no longer use inline styles, using generated stylesheet. Hopefully with browser caching it's faster.
- correctly use
$echo
inchecked()
andselected()
for settings. - don't kid yourselves, there may not be much to the changelog but this is a major update.
- added coloring to Filter Bar in checkbox mode
- added coloring to responsive month view
- code cleanup
- fix to only add CSS once per page load
- fix for
teccc_add_legend_css
action hook
- can't use class variable to point to constant in PHP < 5.3
- needed to declare $version as public static
- updated for widget CSS changes in v3.7
- programmatically add plugin version number
- fix for legend not displaying in some views after AJAX call
- added template overrides for views, place override in
wp-content/themes/{your_theme}/tribe-events/teccc/
- legend superpowers now works in week view
- adjusted CSS selector for non-categorized events in week view
- adjust legend superpowers to not load in responsive views
- adjust Legend CSS from
display: inline
todisplay: inline-block
. This should fix wrapping issues. - fix for Legend causing events in responsive view to display above the grid. Thanks @rksystems for pointing it out and special thanks to @barry.hughes for fixing.
- fixes for TEC/ECP 3.6 compatibility
- renamed
Tribe_Events_Category_Colors_Extras::hide_default_week_background
toTribe_Events_Category_Colors_Extras::fix_default_week_background
, a bit more descriptive. - updated CSS for new responsive views
- moved CSS for ECP into
class Tribe_Events_Category_Colors_Extras
- adjusted CSS for ECP Week view
- moved Category Colors settings tab before Help tab
- decided to remove CSS for Cost button as button not created by this plugin
- update for live preview to admin settings
- a few more spacing/braces updates for WP Coding Guidelines
- fix to show empty categories in settings - props @KoenRijpstra via GitHub
- minor CSS fix for iPhone and Cost button
- more CSS adjustments to Cost button
- adjusted CSS Upcoming view(s)
- added CSS to move Cost button down
- added colors for Venue and Organizer views of ECP
- code more in line with WP Coding Guidelines
- switched off Week view background CSS change until ECP bug is fixed.
- Spanish translation (Andrew Kurtis and WebHostingHub
- fix so unchecking 'Colorize Widgets' really doesn't colorize widgets in all circumstances
- changed method of inserting CSS to allow for default permalinks
- resized screenshots, sorry
- added setting for colorizing widgets
- added CSS for venue widget, though still need category class tags from Modern Tribe
- added coloring for Map view
- changed deprecated
ereg_replace
topreg_replace
- removed widget coloring dependency upon template override, switching to new action hooks,
tribe_events_before_list_widget
andtribe_events_mini_cal_after_the_grid
for TEC 3.4.x - new screenshots
- testing and works in WP 3.8 and The Events Calendar 3.3
- adjusted widget CSS for TECPro 3.3
- added support for Agenda View plugin
- now loading of
class Tribe_Events_Category_Colors_Widgets
andclass Tribe_Events_Category_Colors_Extras
as extenders ofclass Tribe_Events_Category_Colors_Public
. - removed link to tutorial inspiring this plugin as it now 404 :-(
- added support for coloring weekly view
- bugfix for undefined index error
- bugfix for listing of incorrect events in widget.
- needed to change widget css function to static
- switched to native WordPress Iris Color Picker
- fixed internationalization of category links in legend
- fixes for internationalization (i18n)
- many thanks to @fxbenard and the WP-Translations team.
- fixed messed up version number
- added .pot file for localization
- widgets colorized (needs template overrides)
- updated for WordPress Coding Guidelines
- added error warning to Settings when no categorized events exist
- setting up for localization
- added coloring to 'all' view
- added
teccc_add_legend_view()
- sanity check in category.css.php when !(isset($extra_user_legend_css))
- fix for legend to display only on month view
- minor spacing fixes to class-public.php
- updated for new TEC 3.0 code, will not work for TEC < 3.0
- new instant preview of Settings
- coloring in Month, List, Day and Photo views
- coloring of tooltips in Week view
- added some actions and filters, refer to wiki for listing
- updated class and file naming to WordPress Coding Guidelines
- new Help section of Github Wiki
- add transition to Transparent/Color Picker option
- use wp_enqueue_script for legend-superpowers.js
- move most externally called javascript to load in footer
- fix for language translation in Legend category link
- removed extraneous
name
attribute from legend.php
- changed to slideUp/slideDown transition when Add Category Legend checked/unchecked
- reorganized plugin specific javascript and CSS to load correctly via admin_enqueue_scripts, even to footer.
- removed extra closing td tag in admin section
- removed function remove_tribe_cat_once from merge
- respaced rendered CSS so it looks better in 'view source'
- added #legend_box.tribe-events-calendar to properly set category name text color
- included function for checking TEC plugin active, missing from merge - OOPS
- fixed PHP error in classes/categorycolors.php - TribeEvents not defined
- merge issue#3
- fix for CSS superpowers and Ajax
- updated for miniColors 2.0
- still experimental!
- refactoring work: changes under the hood for the benefit of mankind
- the category legend can now have super-powers added to it
- from Barry Hughes
- removed function remove_tribe_cat_once and put it into a gist to use as needed. Please refer to FAQ for details.
- added preference to remove coloring if calendar is styled like first event of the month.
- making remove_tribe_cat_once even more specific
- made fix to remove_tribe_cat_once a little safer
- fix to make function remove_tribe_cat_once selective only for default template (::fingers crossed::)
- code cleanup and switch to current version of jQuery-miniColors.
- added function to remove first instance of category class tag added to article tag - Thanks Barry!
- tested with WP 3.5
- abstracted main script using new TribeEventsCategoryColors class
- fail message to admin_notices
- load only with class TribeEvents
- Continuity with fail message
- simplify legend CSS some more
- Don't deactivate plugin if TEC deactivated, just show error.
- Removed text-transform:uppercase from legend, I don't want to make too many decisions. Easier to add than to remove.
- Abstracted legend code a bit
- jQuery color picker now default behaviour
- Added checkbox for transparent value
- more legend CSS tweaks
- more code cleanup
- convert space to nbsp in legend
- legend CSS tweaks
- more code cleanup
- settings display changes
- change to tribe_settings_form_element_tab_{currentTab}, after all I did ask to have it put in. ;-)
- Prep for using jQuery color picker
- minor CSS tweaks
- major code cleanup
- Added brief instructions for legend to settings page.
- fix for legend links
- Added links to legend
- fixes for readme
- Added Category Color legend
- Fixed another tooltip bug
- Fixed tooltip bug
- Added option for colored left border, default is transparent.
- bump
- fix typos
- Cleaner check for TEC
- Added checks for TEC active
- Fixed Save settings notification
- Added option to bold/unbold text.
- Adjusted add_CSS function to query both post_type and eventDisplay.
- Converted text color options to an global array for greater ability to add more choices.
- CSS now only added to month view calendar page.
- Added option for gray text.
- Bugs fixed. Back to Category Colors settings tab.
- Reverted back to it's own settings page till I get a bug worked out.
- Added option for 'Default' text color
- Added Category Colors settings tab to The Events Calendar Settings page using TribeSettings API
- code cleanup
- Bug fixes
- default background color now transparent
- updated sanitizing
- Initial release.