Plugin / Car Demon
CarDemonsChangelog
Changelog
1.8.0
*
* NEW: Added Gutenberg block for Vehicle Inventory
* NEW: Added Gutenberg block for Vehicle Search
* NEW: All new tools for managing your vehicle image galleries
* NEW: Added constant CD_USE_IMAGE_LINKS – if defined as true then it turns on the ability to manage 3rd party image URLs in vehicle galleries
* NEW: Added the extended commercial version of jQuery lightgallery to the VDPs: https://sachinchoolur.github.io/lightGallery/
* NEW: Added constant CD_NO_DUPLICATE_IMAGES – when defined as true it will prevent the same image from being shown more than once per vehicle thumbnail row
* NEW: Added built in pagination function – still supports WP-Pagenavi for increases flexibility
* NEW: Added filter to modify built in pagination apply_filters( ‘cd_page_navi_filter’, $html, $query )
* NEW: Added option in legacy settings to hide Car Demon updates
* Updated: Moved vehicle thumbnail row to dedicated function: cd_thumbnail_row( $post_id, $order = ‘desc’, $main_image_url = ” )
* Updated: Added constant CD_CR_OPTIONS to allow switching off the content replacement functions
* Updated: Added filter function cd_stop_get_attachment_url() to help prevent theme’s from outputing featured images on the VDP
* Updated: Revised JS & minor CSS updates for compare feature – now uses Cookies to save compared vehicles
* Updated: Removed legacy session support
* Updated: Defined constant CD_NO_AFFILIATES as true by default – this disables the sales staff affiliate features unless defined as true in wp-config.php
* FIX: Security updates to correct XSS + CSRF vulnerabilities – props to princyedward!
*
1.7.97
*
* FIX: When vehicle information is saved the data is now added to the decode_string with and without the leading decode_ string
* This change was added to assist with the future release of CD v2
*
= 1.7.96
*
* Added bitbucket URL
*
1.7.95
*
* VERIFIED: Tested with WP 5.x
* FIX: Corrected calculator currency symbol issue. Will now inherit currency symbol setting.
*
1.7.94
*
* FIX: function get_vehicle_price( $post_id ) now checks if a vehicle has more than 1 location and uses the settings for the 1st one found.
* FIX: revised car_demon_query_search() to resolve issue that may occur when multiple locations are used – Thanks MT!
* FIX: updated search form count lookup to return 0 on failed tag lookup
* NEW: Searched by now returns location without needing to use the filter.
* FIX: Linked imported custom fields to meta fields for output
* NEW: Custom fields are now pulled from associated meta fields in place of decode_string
* NEW: Added filter apply_filters( ‘cd_no_results_filter’, $no_results ) to provide ability to display a custom no result message
* NEW: Added function cd_fix_deprecated_query_items( $get ) to support and replace legacy field names in the query
* NEW: Added filter apply_filters( ‘cd_fix_deprecated_query_items_filter’, $get ) to allow programically changing the deprecated fields filter
* FIX: Year range now adds 1 so it includes the max year in search query
*
1.7.93
*
* Added function cd_gutenberg_can_edit_post_types to filter gutenberg_can_edit_post_type to prevent Gutenberg from being used for the time being
* FIX: cd_get_car( $post_id ) now calls cd_get_default_location_name() to populate [‘location’] if no location has been assigned to vehicle
*
1.7.92
*
* FIX: Added function cd_clean_number( $val ) to make sure no commas are saved with prices or mileage
* FIX: Revised JS code on vehicle edit to help insure non-numeric values can’t be entered for price or mileage
*
1.7.91
*
* Corrected translation issue with sold field when saving a vehicle for the first time.
*
1.7.9
*
* Vehicle options now save to _vehicle_options post meta even when tabs are turned on
* Added empty value check to price field in admin area
* Added filters: cd_similar_vehicle_filter & cd_vehicle_widget_filter (params $content, $post_id)
* Revised saving location fields to use an array of fields
* Added location field filters to modify adding and updating if needed apply_filters( $field . ‘_location_filter’, $value, $current_location );
* Added new parameter show_only_sold, when set to “yes” the inventory shortcode will show only sold vehicles
* Added new filter for vehicle thumbnails: apply_filters( ‘cd_get_thumbnails’, $thumbnails, $post_id, $type );
* Added new filter for vehicle compare widget item: apply_filters( ‘cd_compare_widget_item_filter’, $compare_item, $post_id );
* Added new filter for entire vehicle compare widget output: apply_filters( ‘cd_compare_widgets_items’, $x, $_SESSION[‘car_demon_compare’] );
* Added new filter for vehicle compare item output: apply_filters( ‘cd_compare_item_filter’, $compare_item, $post_id );
* Added new filter for entire vehicle compare output: apply_filters( ‘cd_compare_all_filter’, $x, $_SESSION[‘car_demon_compare’] );
*
1.7.8
*
* Fix: Adjusted cd_get_car() so it includes post object as array
* Added filter cd_get_car_filter to manipulate vehicle data array before it’s used
* Added actions cd_after_sort_srp_action, cd_after_results_found_srp_action, cd_after_nav_srp_action
*
1.7.7
*
* Fix: Corrected issue with custom ribbon not returning the URL.
* Fix: ImgError js now checks for full URL before adding default path.
* Fix: Random car widget now uses No instead of no on sold value.
* Fix: Minor changes to finance form
* Fix: Archive widget class now uses __construct()
* Fix: Minor cleanup to vehicle price display function.
* Fix: Minor changes to add ribbon code
* Fix: cd_get_car() now returns an empty array if vehicle has not yet been saved.
* Props to https://wordpress.org/support/users/doodah/ for reporting last issue.
* Added post object to array returned by cd_get_car( $post_id ) function
* Added array check to vehicle tabs
* Compare widget now uses cd_get_car()
* Fixed issue with default zero price text not being shown unless prices are turned off
*
1.7.6
*
* Changed vehicle search drop down to use variable for taxonomy in car_demon_get_my_tax( $taxonomy, $val, $settings = array() )
* Compare function now uses cd_get_car( $post_id ) to get all its data
*
1.7.5
*
* Added full localization to “sold” field in admin area
*
1.7.4
*
* Removed old php4 class constructor calls
* FIX: Add multiple taxonomy ability to get_cd_term() function
* Added function cd_tag_filter( $post_id, $content ) for filtering tags using brackets exp: {year} {make} {model}
*
1.7.3
*
* Fix: Corrected duplicate srp display
*
1.7.2
*
* FIX: Resolved issue with recent WP security update listing duplicate custom taxonomy items
*
1.7.1
*
* FIX: Added deprecated filter car_demon_display_car_list_filter to $html variable
* FIX: Changed vehicle tabs to use cd_get_car() for options rather than decode_string meta field
*
1.7.0
*
* Public release version
*
1.6.992
*
* Modified flush rewrite code on activation
* Added CSS classes to the different vehicle options when tabs are used
* Deprecated old filters starting with car_demon_
* All new filters will start with cd_
*
1.6.991
*
* Added patch to resolve Yoast SEO issue
*
1.6.99
*
* Added multiple taxonomy search support for make, model, condition, body style & vehicle tag.
* Multiple taxonomies of the same type can now be added to the shortcode using a pipe | between them.
* Example [cd_inventory make=”ford|gmc”] – this will list all Ford and GMC vehicles
* If year range is searched and the min and max year are the same it will now search the single year and not a false range.
* Added do_actions ‘cd_before_content_srp_action’ & ‘cd_after_content_srp_action’ with parameter $atts
*
1.6.98
*
* Added filter for vehicle title: car_title_filter
*
1.6.97
*
* Added constant CD_DEFAULT_CONDITION. If defined Car Demon will set the defined condition to any vehicle that doesn’t have a condition added.
* By default Car Demon will assign preowned to any vehicle that does not have a condition, unless set by the above constant.
* Fixes Issue #25
* Corrected issue preventing 0 price and 0 mileage from saving by default
* If no stock number is saved then post id is added as stock number.
* If sort by price is disabled the initial sort now defaults to mileage. Fixes Issue #26.
* Added vehicle_tag to cars_for_sale custom post type and query. Fixes Issue #17.
*
1.6.96
*
* Corrected issue with apostrophes in about us tab. Fixes Issue #2.
* Added constant CD_LEGEND_ON_BOTTOM, if defined the option legend will appear on the bottom. Fixes issue #6.
* Added stripslashes_deep to searched by items. Fixes Issue #16
* Added div with clear float to end of VDP. Fixes Issue #23
*
1.6.95
*
* Added filter cd_price_format_filter to allow filtering number format before display
* Added filter cd_nav_filter to allow filtering the vehicle navigation
* Localized sold yes / no field
*
1.6.94
*
* Minor change to finance form handler
* Added cd_single_car_content_filter to allow filtering of vehicle description
* Added cd_pre_specs_filter to allow filtering right before the specs are listed
*
1.6.93
*
* Added constant CD_USE_WPMAIL, if defined Car Demon forms will use wp_mail() instead of mail()
* Added filter cd_lightbox to make it easy to swap out the default lightbox
*
1.6.92
*
* Added role capabilty to vehicle specs and options Fixes Issue #22
* User must have role edit_posts by default to edit each section
* Added filter for cd_cap_settings_filters so developers can manipulate Car Demon capabilities
* Added filter for cd_cap_default_settings_filter so developers can manipulate the default Car Demon capabilities
* Added constant CD_RESTRICT_OPTIONS_MSG, if defined it will use the option’s capability to determine if a visitor can see data
* Example: define( ‘CD_RESTRICT_OPTIONS_MSG’, ‘Register to see details’ );
* Added constant CD_RESTRICT_SPECS_MSG if defined it will use the specs’s capabilityy to determine if a visitor can see data
* Example: define( ‘CD_RESTRICT_SPECS_MSG’, ‘Register to see specs’ );
* Added constant CD_RESTRICT_SPECS_ALL_MSS if defined the specs message will only display one time per section
* Example: define( ‘CD_RESTRICT_SPECS_ALL_MSS’, true );
* Changed default field height on SRP to 14px
*
1.6.91
- Corrected layout issue on manage locations screen
- Updated TGM-Plugin-Activation to version 2.6.1
1.6.9
- Added ability to hide vehicle condition on default templates
- Added unique type based CSS classes on the vehicle fields and labels
- Added constant CD_NO_SESSION – if defined session_start() won’t be called even if no session_id has been generated
- Added constant CD_NO_AFFILIATES – if defined the sales affiliate code and car_demon_subdomains will be disabled
- Added constants CD_PRICE_START, CD_PRICE_STOP, CD_PRICE_GAP to control price drop down options available in search form
- Added constants CD_MILEAGE_START, CD_MILEAGE_STOP, CD_MILEAGE_GAP to control mileage drop down options available in search form
- Added filter cd_search_price_filter for filtering all price search options available in the search form
- Added filter cd_search_mileage_filter for filtering all mileage search options available in the search form
- Fixes issue #20
- Added filter cd_price_format for filtering price format in search form
- Added filter cd_mileage_filter for filtering mileage format in search form
- Fixes issue #21
- Added javascript to prevent users from entering non-numeric prices
- Added Constant CD_NON_NUMERIC_PRICE to disable javascript to prevent non numeric prices from being entered
- Fixes issue #18
- Added confirmation to reset button to make sure user is aware it will reset everything
- Fixes issue #7
1.6.85
- Localized shortcodes and their parameters
- Added constant CD_FORM_PROVIDER – if defined it will change the ADFxml lead form provider to item defined
1.6.84
- Added constant CAR_DEMON_ADMIN to control settings page access without using roles
- Define with user id(s) divided by commas (if more than one) – exp: define( ‘CAR_DEMON_ADMIN’, ‘1,3’ );
- Minor text changes on location edit page
- Added 2 funtions to get-contact-info.php to use the oldest location if no default location exists
- This should allow users to rename the default location
- Also added 2 constants to force custom location as default
- CD_DEFAULT_LOCATION_NAME & CD_DEFAULT_LOCATION_SLUG
- If defined these will force the default location information to the values defined
- When a new location is added from vehicle edit page all default settings will be applied
1.6.83
- Thanks to the efforts of @DrScoot (and the rest of the Polyglots team) we now have full Dutch language support
- If you would like to help translate Car Demon please vist:
- https://translate.wordpress.org/projects/wp-plugins/car-demon
- Changed “Car Demon Settings” to just “Settings” in admin menu Dashboard->Cars For Sale->Settings
- Reset button in settings now resets custom labels and all option fields
- Updated yes / no drop downs in settings to use tertiary statements
1.6.82
- Changed content filter so you can now use shortcodes inside the vehicle description
- Adjusted compare ajax handler to return correct image for vehicles
- Added filter to Single Vehicle Page for detail output
- apply_filters( ‘cd_single_car_detail_output_filter’, $detail_output, $post_id );
- Added filter to specs tab
- apply_filters( ‘cd_specs_filter’, $specs, $post_id );
- Added spinner and message to forms when submit buttons are clicked
- If no stock number is found then return post_id as stock number
1.6.81
- Adjusted shortcode variables to match new $atts method
1.6.8
- Archived change log items prior to 1.6.0 in changelog.txt file
- Moved “Use Included Theme Files” to Legacy Options
- Changed VinQuery.com text
1.6.74
- Added abiltiy to set user capibility for editing default spec fields
1.6.73
- Fixed issue with description formatting not respecting line breaks
1.6.72
- Added function to control main image display
- Added constant CD_LINK_MAIN_IMAGE that can be used to pull main image from image_links
1.6.71
- Code review and misc tweaks to match WordPress.org coding standards
- Primary focus on adding spaces before and after parenthesis
- Removed Mobile_Detect.php
- Moved files during code reorganization
- Disabled ability to show or hide tabs on a per vehicle basis
- Vehicles now resaves meta fields on save / update on edit screen
- Added filter cd_validate_option_filter to provide custom validation on vehicle option save
- apply_filters(‘cd_validate_option_filter’, $val);
- Added slugs to shortcodes
- Removed last of the extract functions in shortcodes
- Added is_home() || is_front_page() check to search query to set homepage paged to page
1.6.7
- js Hook adjustments in lead forms
- Changed timing of scripts and styles loaded in car-demon-header.php
- Added constant CAR_DEMON_VER to use when loading scripts and styles
- Added default custom options list – cd_get_default_options()
- Added more docblocks
- Added spaces before and after parameters to match standards in core files
1.6.6
- Corrected issue with show_sold parameter not being respected in shortcode cd_inventory
- Began process of adding docblocks to code
- General code reorganization
- Removed Car Demon comment management
- Removed popup calculator form
- Removed javascript files no longer used
- Changed Tab options to Vehicle Options
- Changed Edit Vehicle Options to Edit Vehicle Labels
- Modified default options
- Admin area hides dynamic load options if dynamic load is set to no
- Added constant CAR_DEMON_NO_WELCOME to stop welcome redirect for users using older versions of WordPress
- Added filter car_demon_trade_options_filter to allow changing options on trade form.
1.6.5
- Added sample vehicle import button and option to insert up to 30 sample vehicles
- Define CD_IMPORT_SAMPLE_PHOTOS in wp-confirg.php to import all photos rather than link gallery
- Localized search by results
- Added decoded_ flag check on custom specs to allow reuse of existing fields
- Corrected misspelling of object on settings page
- Added filter for single vehicle dislaimer – apply_filters(‘car_demon_disclaimer_filter’, $disclaimer )
- Filter car_demon_disclaimer_filter replaces entire disclaimer section
- Added filter to single vehicle dislaimer text – apply_filters(‘car_demon_disclaimer_text_filter’, $disclaimer )
- Filter car_demon_disclaimer_text_filter filters just the disclaimer text
- minor form adjustments (email a friend and vehicle contact)
1.6.4
- Adjusted transmission field to utilize short description if no long description available
- Adjusted transmission search form field to match short description
- Improved admin area data sanitation
- Renamed admin css file from car-demon-admin.css to cd-admin.css
- Allow default archive template to use car_demon_query_search if search sent to template
- Encapsulated search by results in span to contain each item
- Preparing to move to language packs for all translations
- Replaced dynamic js.php file for content replacement with localized js file
- Adjusted single vehicle lightbox main image
1.6.3
- Added post type check for admin columns
- Added new Portuguese language files
1.6.2
- Added register post type check for function cdcs_register_cpt_projects()
- Added capibility check on user profile for extra field management
- If no stock number entered post_id is saved on post save
- Added span and class to vehicle edit hide tabs option
- Defined $compare if use compare option is false
- Updated TGM-Plugin-Activation to version 2.5.2
1.6.1
- Changed path to theme-files in the template redirect
1.6.0
- All location management fields now display in the taxonomy page
- Default location will now be added after install
- If all locations have been removed an admin alert is now displayed if the default nag has not been hidden
Ratings
Rating breakdown
Details Information
Version
First Released
Total Downloads
Wordpress Version
Tested up to:
Require PHP Version:
Tags
Contributors
This plugin has been closed.
Languages
DIRECTORY DISCLAIMER
The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.
The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.
Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.
While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.
wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.