Plugin Directory

Changeset 3428872


Ignore:
Timestamp:
12/29/2025 07:32:41 AM (3 months ago)
Author:
PropertyHive
Message:

Update to version 2.5.37

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

Legend:

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

    r3418321 r3428872  
    44Requires at least: 3.8
    55Tested up to: 6.9
    6 Stable tag: 2.5.36
    7 Version: 2.5.36
     6Stable tag: 2.5.37
     7Version: 2.5.37
    88Homepage: https://houzezpropertyfeed.com
    99License: GPLv3
     
    5252* OpenImmo
    5353* Pixxi
     54* PropConnect
    5455* PropCtrl
    5556* Propstack
     
    145146== Changelog ==
    146147
     148= 2.5.37 - 2025-12-29 =
     149* Added support for importing properties from PropConnect
     150* Added support for propctrl image URLs being sent with query string
     151* Added new types garage and office to Idealista export property type mapping
     152
    147153= 2.5.36 - 2025-12-12 =
    148154* Added support for v6 of the propCtrl API used for agency integrations as opposed to importing from portals
  • houzez-property-feed/trunk/cron-import.php

    r3296282 r3428872  
    1010    if ($error !== NULL)
    1111    {
    12         if ( ($error['type'] === E_ERROR) || ($error['type'] === E_USER_ERROR)|| ($error['type'] === E_USER_NOTICE) )
     12        if ( ($error['type'] === E_ERROR) || ($error['type'] === E_USER_ERROR) || ($error['type'] === E_USER_NOTICE) )
    1313        {
    1414            $errno   = $error["type"];
     
    238238                        " . $wpdb->prefix . "houzez_property_feed_logs_instance
    239239                    WHERE
    240                         " . ( ( apply_filters( 'houzez_property_feed_one_import_at_a_time', false ) === false ) ? " import_id = '" . $import_id . "' AND " : "" ) . "
     240                        " . ( ( apply_filters( 'houzez_property_feed_one_import_at_a_time', false ) === false ) ? " import_id = '" . (int)$import_id . "' AND " : "" ) . "
    241241                        end_date = '0000-00-00 00:00:00'
    242242                    ORDER BY status_date DESC
     
    436436                        'status' => json_encode(array('status' => 'starting')),
    437437                        'status_date' => $current_date,
     438                    ),
     439                    array(
     440                        '%d',
     441                        '%s',
     442                        '%s',
     443                        '%s'
    438444                    )
    439445                );
  • houzez-property-feed/trunk/houzez-property-feed.php

    r3418321 r3428872  
    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.36
     6 * Version: 2.5.37
    77 * Author: PropertyHive
    88 * Author URI: https://wp-property-hive.com
     
    2020     * @var string
    2121     */
    22     public $version = '2.5.36';
     22    public $version = '2.5.37';
    2323
    2424    /**
  • houzez-property-feed/trunk/includes/format-functions.php

    r3418321 r3428872  
    19811981            ),
    19821982            'help_url' => 'https://houzezpropertyfeed.com/documentation/managing-imports/formats/pixxi/',
     1983            'warnings' => array(),
     1984        ),
     1985        'propconnect' => array(
     1986            'name' => __( 'PropConnect', 'houzezpropertyfeed' ),
     1987            'fields' => array(
     1988                array(
     1989                    'id' => 'token',
     1990                    'label' => __( 'Token', 'houzezpropertyfeed' ),
     1991                    'type' => 'text',
     1992                ),
     1993            ),
     1994            'address_fields' => array( 'sub_community', 'community', 'city', 'emirate' ),
     1995            'taxonomy_values' => array(
     1996                'sales_status' => array(
     1997                    'For Sale' => 'For Sale',
     1998                ),
     1999                'lettings_status' => array(
     2000                    'To Let' => 'To Let',
     2001                ),
     2002                'property_type' => array(
     2003                    'Apartment' => 'Apartment',
     2004                    'Villa' => 'Villa',
     2005                )
     2006            ),
     2007            'contact_information_fields' => array(
     2008                'agent_id',
     2009                'agent_name',
     2010            ),
     2011            'help_url' => 'https://houzezpropertyfeed.com/documentation/managing-imports/formats/propconnect/',
    19832012            'warnings' => array(),
    19842013        ),
     
    37553784                'property_type' => array(
    37563785                    "flat" => "flat",
     3786                    "garage" => "garage",
    37573787                    "house" => "house",
    37583788                    "house_andar_moradia" => "house_andar_moradia (Portugal only)",
     
    37613791                    "house_terraced" => "house_terraced",
    37623792                    "house_villa" => "house_villa (Italy only)",
     3793                    "office" => "office",
    37633794                    "rustic" => "rustic",
    37643795                    "rustic_house" => "rustic_house",
  • houzez-property-feed/trunk/includes/import-formats/class-houzez-property-feed-format-propctrl.php

    r3418321 r3428872  
    16871687
    16881688                                // This is a URL
     1689
    16891690                                $description = ( (isset($image['title'])) ? $image['title'] : '' );
    16901691                               
    1691                                 $filename = basename( $url );
     1692                                $explode_url = explode('?', $url);
     1693                                $filename = basename( $explode_url[0] );
    16921694
    16931695                                // Check, based on the URL, whether we have previously imported this media
  • houzez-property-feed/trunk/includes/import-functions.php

    r3358551 r3428872  
    680680            break;
    681681        }
     682        case "propconnect":
     683        {
     684            // includes
     685            require_once dirname( __FILE__ ) . '/import-formats/class-houzez-property-feed-format-propconnect.php';
     686
     687            $import_object = new Houzez_Property_Feed_Format_Propconnect( $instance_id, $import_id );
     688
     689            break;
     690        }
    682691        case "propctrl":
    683692        {
Note: See TracChangeset for help on using the changeset viewer.