Plugin Directory

Changeset 3393603


Ignore:
Timestamp:
11/11/2025 11:47:08 AM (5 months ago)
Author:
PropertyHive
Message:

Update to version 2.5.35

Location:
houzez-property-feed/trunk
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • houzez-property-feed/trunk/README.txt

    r3389696 r3393603  
    44Requires at least: 3.8
    55Tested up to: 6.8
    6 Stable tag: 2.5.34
    7 Version: 2.5.34
     6Stable tag: 2.5.35
     7Version: 2.5.35
    88Homepage: https://houzezpropertyfeed.com
    99License: GPLv3
     
    7676* Kyero v3 (including WPML support)
    7777* Rightmove and OnTheMarket Real-Time Format (RTDF)
     78* thinkSPAIN
    7879* Thribee / LIFULL Connect ( Trovit / Mitula / Nestoria / Nuroa )
    7980* Zoopla Real-Time Format
     
    144145== Changelog ==
    145146
     147= 2.5.35 - 2025-11-11 =
     148* Added support for exporting in the thinkSPAIN XML format
     149* Import land area and year from vaultEA feeds when present
     150
    146151= 2.5.34 - 2025-11-04 =
    147152* Started to roll out new 'Test Details' feature to some formats. This allows the user to test the details are valid when entering them before continuing any further.
  • houzez-property-feed/trunk/cron-export.php

    r3255514 r3393603  
    314314                    break;
    315315                }
     316                case "thinkspain":
     317                {
     318                    // includes
     319                    require_once dirname( __FILE__ ) . '/includes/export-formats/class-houzez-property-feed-format-thinkspain.php';
     320
     321                    $export_object = new Houzez_Property_Feed_Format_Thinkspain( $instance_id, $export_id );
     322
     323                    $exported = $export_object->export();
     324
     325                    break;
     326                }
    316327                case "thribee":
    317328                {
  • houzez-property-feed/trunk/houzez-property-feed.php

    r3389696 r3393603  
    44 * Plugin Uri: https://houzezpropertyfeed.com
    55 * Description: Automatically import properties to Houzez from estate agency CRMs and export to portals
    6  * Version: 2.5.34
     6 * Version: 2.5.35
    77 * Author: PropertyHive
    88 * Author URI: https://wp-property-hive.com
     
    2020     * @var string
    2121     */
    22     public $version = '2.5.34';
     22    public $version = '2.5.35';
    2323
    2424    /**
  • houzez-property-feed/trunk/includes/class-houzez-property-feed-export.php

    r3318773 r3393603  
    6666        $options = get_option( 'houzez_property_feed' , array() );
    6767        if ( !is_array($options) ) { $options = array(); }
    68         if ( !is_array($options['exports']) ) { $options['exports'] = array(); }
    69         if ( !is_array($options['exports'][$export_id]) ) { $options['exports'][$export_id] = array(); }
     68        if ( !isset($options['exports']) || !is_array($options['exports']) ) { $options['exports'] = array(); }
     69        if ( !isset($options['exports'][$export_id]) || !is_array($options['exports'][$export_id]) ) { $options['exports'][$export_id] = array(); }
    7070
    7171        $format = sanitize_text_field(wp_unslash($_POST['format']));
  • houzez-property-feed/trunk/includes/format-functions.php

    r3389696 r3393603  
    40314031            'warnings' => array_filter( array( $curl_warning ) ),
    40324032        ) ),
     4033        'thinkspain' => apply_filters( 'houzez_property_feed_export_format_options_thinkspain', array(
     4034            'name' => __( 'thinkSPAIN', 'houzezpropertyfeed' ),
     4035            'method' => 'url', // cron / realtime / url
     4036            'fields' => array(),
     4037            'field_mapping_fields' => array(
     4038                'last_amended_date' => 'last_amended_date',
     4039                'unique_id'         => 'unique_id',
     4040                'agent_ref'         => 'agent_ref',
     4041                'euro_price'        => 'euro_price',
     4042                'currency'          => 'currency',
     4043                'sale_type'         => 'sale_type',
     4044                'property_type'     => 'property_type',
     4045                'street_name'       => 'street_name',
     4046                'street_number'     => 'street_number',
     4047                'town'              => 'town',
     4048                'province'          => 'province',
     4049                'postcode'          => 'postcode',
     4050                'url'               => 'url',
     4051                'bedrooms'          => 'bedrooms',
     4052                'bathrooms'         => 'bathrooms',
     4053            ),
     4054            'taxonomy_values' => array(
     4055                'property_type' => array(
     4056                    'Apartment' => 'Apartment',
     4057                    'Beach Apartment' => 'Beach Apartment',
     4058                    'Building Plot' => 'Building Plot',
     4059                    'Bungalow' => 'Bungalow',
     4060                    'Cave House' => 'Cave House',
     4061                    'Commercial' => 'Commercial',
     4062                    'Finca/Country House' => 'Finca/Country House',
     4063                    'Flat' => 'Flat',
     4064                    'Garage' => 'Garage',
     4065                    'Hotel' => 'Hotel',
     4066                    'Loft' => 'Loft',
     4067                    'Mobile Home' => 'Mobile Home',
     4068                    'Office' => 'Office',
     4069                    'Penthouse' => 'Penthouse',
     4070                    'Restaurant/Bar' => 'Restaurant/Bar',
     4071                    'Ruin' => 'Ruin',
     4072                    'Semi-detached Villa' => 'Semi-detached Villa',
     4073                    'Shop' => 'Shop',
     4074                    'Studio' => 'Studio',
     4075                    'Terraced Villa' => 'Terraced Villa',
     4076                    'Townhouse' => 'Townhouse',
     4077                    'Undeveloped Land' => 'Undeveloped Land',
     4078                    'Villa' => 'Villa',
     4079                    'Wooden Home' => 'Wooden Home',
     4080                )
     4081            ),
     4082            'help_url' => 'https://houzezpropertyfeed.com/documentation/managing-exports/formats/thinkspain/',
     4083            'warnings' => array_filter( array( $simplexml_warning ) ),
     4084        ) ),
    40334085        'thribee' => apply_filters( 'houzez_property_feed_export_format_options_thribee', array(
    40344086            'name' => __( 'Thribee (Trovit/Mitula/Nestoria/Nuroa)', 'houzezpropertyfeed' ),
  • houzez-property-feed/trunk/includes/import-formats/class-houzez-property-feed-format-vaultea.php

    r3389596 r3393603  
    530530                update_post_meta( $post_id, 'fave_property_garage', '' );
    531531                update_post_meta( $post_id, 'fave_property_id', ( ( isset($property['referenceID']) ) ? $property['referenceID'] : '' ) );
     532
     533                update_post_meta( $post_id, 'fave_property_land', ( ( isset($property['landArea']['value']) && !empty($property['landArea']['value']) ) ? $property['landArea']['value'] : '' ) );
     534                update_post_meta( $post_id, 'fave_property_land_postfix', ( ( isset($property['landArea']['value']) && !empty($property['landArea']['value']) && isset($property['landArea']['units']) && !empty($property['landArea']['units']) ) ? $property['landArea']['units'] : '' ) );
     535
     536                update_post_meta( $post_id, 'fave_property_year', ( ( isset($property['yearBuilt']) && !empty($property['yearBuilt']) ) ? $property['yearBuilt'] : '' ) );
    532537
    533538                // Name number
Note: See TracChangeset for help on using the changeset viewer.