Plugin Directory

Changeset 3772658


Ignore:
Timestamp:
10/29/2026 10:41:40 AM (2 days ago)
Author:
domtoraj
Message:

Release 1.1.1

Location:
domtoraj-integration
Files:
13 edited
1 copied

Legend:

Unmodified
Added
Removed
  • domtoraj-integration/tags/1.1.1/assets/css/frontend.css

    r3772329 r3772658  
    192192}
    193193
    194 .dtr .dtr-btn--whatsapp {
    195         background: #25d366;
    196         color: #fff;
    197 }
    198 
    199 .dtr .dtr-btn--whatsapp:hover {
    200         background: #1eb858;
    201         color: #fff;
    202 }
    203 
    204194.dtr .dtr-btn--sm {
    205195        min-height: 40px;
    … …  
    32843274        .dtr .dtr-tabs,
    32853275        .dtr .dtr-form,
    3286         .dtr .dtr-contact-card__buttons .dtr-btn--whatsapp,
    32873276        .dtr .dtr-calc,
    32883277        .dtr .dtr-related,
  • domtoraj-integration/tags/1.1.1/assets/js/single.js

    r3772329 r3772658  
    155155                        window.prompt('', url);
    156156                }
    157         });
    158         on($('[data-dtr-print]', root), 'click', function () {
    159                 if (prose) { prose.classList.remove('is-collapsed'); }
    160                 window.print();
    161157        });
    162158        $$('[data-dtr-phone]', root).forEach(function (a) {
  • domtoraj-integration/tags/1.1.1/domtoraj-integration.php

    r3772329 r3772658  
    33 * Plugin Name: DomToRaj Integration
    44 * Description: Integracja z systemem DomToRaj - automatyczna synchronizacja ofert nieruchomości
    5  * Version: 1.1.0
     5 * Version: 1.1.1
    66 * Author: DomToRaj
    77 * Author URI: https://domtoraj.pl
    … …  
    1919
    2020// Definicje stałych
    21 define('DOMTORAJ_VERSION', '1.1.0');
     21define('DOMTORAJ_VERSION', '1.1.1');
    2222define('DOMTORAJ_PLUGIN_DIR', plugin_dir_path(__FILE__));
    2323define('DOMTORAJ_PLUGIN_URL', plugin_dir_url(__FILE__));
  • domtoraj-integration/tags/1.1.1/includes/Frontend/Icons.php

    r3772329 r3772658  
    2929                'phone'      => '<path d="M5 4h3l2 5-2.5 1.5a11 11 0 0 0 6 6L15 14l5 2v3a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2Z"/>',
    3030                'mail'       => '<rect x="3" y="5" width="18" height="14" rx="2"/><path d="m3 7 9 6 9-6"/>',
    31                 'whatsapp'   => '<path d="M4 20l1.3-3.9A8 8 0 1 1 8 19l-4 1Z"/><path d="M9.5 9.5c.3 1.6 1.5 3.4 3.4 4.3l1.1-1 1.6.8c-.2 1-1 1.6-2 1.5-2.7-.4-5.4-3-5.7-5.8-.1-1 .5-1.8 1.5-2l.8 1.6-.7.6Z"/>',
    3231                'share'      => '<circle cx="18" cy="5" r="3"/><circle cx="6" cy="12" r="3"/><circle cx="18" cy="19" r="3"/><path d="m8.6 13.5 6.8 4M15.4 6.5l-6.8 4"/>',
    33                 'print'      => '<path d="M6 9V3h12v6M6 18H4a1 1 0 0 1-1-1v-6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1h-2"/><path d="M6 14h12v7H6z"/>',
    3432                'chev-left'  => '<path d="m15 18-6-6 6-6"/>',
    3533                'chev-right' => '<path d="m9 18 6-6-6-6"/>',
  • domtoraj-integration/tags/1.1.1/readme.txt

    r3772329 r3772658  
    66Tested up to: 7.1
    77Requires PHP: 7.4
    8 Stable tag: 1.1.0
     8Stable tag: 1.1.1
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    2828* Photo mosaic with full-screen gallery (keyboard and swipe).
    2929* Key facts tiles, description with "read more", details table and amenities.
    30 * Sticky contact panel: agent, click-to-reveal phone, WhatsApp, enquiry form and "Book a viewing" form.
     30* Sticky contact panel: agent, click-to-reveal phone, enquiry form and "Book a viewing" form.
    3131* Mortgage calculator, YouTube video, 3D virtual tour, map and "What's nearby" (schools, shops, transport…).
    32 * Similar offers, print/PDF view, share button, SEO: JSON-LD (RealEstateListing), Open Graph, page titles with price.
     32* Similar offers, share button, SEO: JSON-LD (RealEstateListing), Open Graph, page titles with price.
    3333
    3434**Leads**
    … …  
    69693. **Overpass API** (https://overpass-api.de/, fallback https://overpass.kumi.systems/) — "What's nearby" on the offer page. Your server sends the offer coordinates and caches the result for 30 days; only if that fails, the visitor's browser requests it directly. [Overpass API](https://wiki.openstreetmap.org/wiki/Overpass_API), [Privacy policy](https://osmfoundation.org/wiki/Privacy_Policy).
    70704. **YouTube (privacy-enhanced mode)** — only when an offer has a video and the visitor clicks "play"; the thumbnail is loaded from i.ytimg.com. [Terms](https://www.youtube.com/t/terms), [Privacy policy](https://policies.google.com/privacy).
    71 5. **WhatsApp** — only a link (wa.me) opened when the visitor clicks the WhatsApp button. [Privacy policy](https://www.whatsapp.com/legal/privacy-policy).
    7271
    7372Enquiry forms send data only to your own WordPress site (and your e-mail inbox).
    … …  
    113112== Changelog ==
    114113
     114= 1.1.1 =
     115* Offer page: removed the WhatsApp and Print buttons (simpler contact panel; the printout did not look good).
     116
    115117= 1.1.0 =
    116118* New design of listing cards, search form, listing page and offer page (mobile-first, no jQuery, no Slick/Fancybox).
    117119* Map view on the listing (price pins, clustering) and `[domtoraj_mapa_ofert]`.
    118120* Live results counter, location autocomplete, active filter chips, sorting by price/area/date.
    119 * Offer page: full-screen gallery, sticky contact panel, click-to-reveal phone, WhatsApp, "Book a viewing", mortgage calculator, video, virtual tour, "What's nearby", similar offers, print view.
     121* Offer page: full-screen gallery, sticky contact panel, click-to-reveal phone, "Book a viewing", mortgage calculator, video, virtual tour, "What's nearby", similar offers.
    120122* Enquiries saved in WordPress + HTML e-mail to the agency; seller valuation wizard; anti-spam.
    121123* Favorites, category tiles, agency numbers, contact form shortcodes.
    … …  
    141143== Upgrade Notice ==
    142144
     145= 1.1.1 =
     146Removes the WhatsApp and Print buttons from the offer page.
     147
    143148= 1.1.0 =
    144149Big redesign: new search, map view, offer page with lead forms and enquiries inbox. If you overrode plugin templates in your theme, review them after updating.
  • domtoraj-integration/tags/1.1.1/templates/single-property-content.php

    r3772329 r3772658  
    2929$facts    = $p->key_facts( 5 );
    3030$phone    = preg_replace( '/[^\d+]/', '', $contact['phone'] );
    31 $phone_wa = preg_replace( '/\D/', '', $contact['phone'] );
    32 if ( strlen( $phone_wa ) === 9 ) {
    33         $phone_wa = '48' . $phone_wa;
    34 }
    3531$listings_url = ListingShortcodes::results_url();
    3632$site_cfg     = get_option( 'domtoraj_site_config', array() );
    … …  
    9692                                <button type="button" class="dtr-icon-btn" data-dtr-fav="<?php echo esc_attr( (string) $p->post_id ); ?>" aria-pressed="false" title="<?php esc_attr_e( 'Zapisz w ulubionych', 'domtoraj-integration' ); ?>"><?php Icons::render( 'heart' ); ?><span class="screen-reader-text"><?php esc_html_e( 'Zapisz w ulubionych', 'domtoraj-integration' ); ?></span></button>
    9793                                <button type="button" class="dtr-icon-btn" data-dtr-share data-title="<?php echo esc_attr( $p->title() ); ?>" title="<?php esc_attr_e( 'Udostępnij', 'domtoraj-integration' ); ?>"><?php Icons::render( 'share' ); ?><span class="screen-reader-text"><?php esc_html_e( 'Udostępnij', 'domtoraj-integration' ); ?></span></button>
    98                                 <button type="button" class="dtr-icon-btn" data-dtr-print title="<?php esc_attr_e( 'Drukuj lub zapisz PDF', 'domtoraj-integration' ); ?>"><?php Icons::render( 'print' ); ?><span class="screen-reader-text"><?php esc_html_e( 'Drukuj', 'domtoraj-integration' ); ?></span></button>
    9994                        </div>
    10095                </div>
    … …  
    261256                                                        <span class="dtr-btn__hint" data-dtr-phone-hint><?php esc_html_e( 'pokaż numer', 'domtoraj-integration' ); ?></span>
    262257                                                </a>
    263                                                 <?php if ( strlen( $phone_wa ) >= 11 ) : ?>
    264                                                         <a class="dtr-btn dtr-btn--whatsapp dtr-btn--block" href="<?php echo esc_url( 'https://wa.me/' . $phone_wa . '?text=' . rawurlencode( $msg_default . ' ' . $p->url() ) ); ?>" target="_blank" rel="noopener"><?php Icons::render( 'whatsapp' ); ?><span>WhatsApp</span></a>
    265                                                 <?php endif; ?>
    266258                                        <?php endif; ?>
    267259                                </div>
  • domtoraj-integration/trunk/assets/css/frontend.css

    r3772329 r3772658  
    192192}
    193193
    194 .dtr .dtr-btn--whatsapp {
    195         background: #25d366;
    196         color: #fff;
    197 }
    198 
    199 .dtr .dtr-btn--whatsapp:hover {
    200         background: #1eb858;
    201         color: #fff;
    202 }
    203 
    204194.dtr .dtr-btn--sm {
    205195        min-height: 40px;
    … …  
    32843274        .dtr .dtr-tabs,
    32853275        .dtr .dtr-form,
    3286         .dtr .dtr-contact-card__buttons .dtr-btn--whatsapp,
    32873276        .dtr .dtr-calc,
    32883277        .dtr .dtr-related,
  • domtoraj-integration/trunk/assets/js/single.js

    r3772329 r3772658  
    155155                        window.prompt('', url);
    156156                }
    157         });
    158         on($('[data-dtr-print]', root), 'click', function () {
    159                 if (prose) { prose.classList.remove('is-collapsed'); }
    160                 window.print();
    161157        });
    162158        $$('[data-dtr-phone]', root).forEach(function (a) {
  • domtoraj-integration/trunk/domtoraj-integration.php

    r3772329 r3772658  
    33 * Plugin Name: DomToRaj Integration
    44 * Description: Integracja z systemem DomToRaj - automatyczna synchronizacja ofert nieruchomości
    5  * Version: 1.1.0
     5 * Version: 1.1.1
    66 * Author: DomToRaj
    77 * Author URI: https://domtoraj.pl
    … …  
    1919
    2020// Definicje stałych
    21 define('DOMTORAJ_VERSION', '1.1.0');
     21define('DOMTORAJ_VERSION', '1.1.1');
    2222define('DOMTORAJ_PLUGIN_DIR', plugin_dir_path(__FILE__));
    2323define('DOMTORAJ_PLUGIN_URL', plugin_dir_url(__FILE__));
  • domtoraj-integration/trunk/includes/Frontend/Icons.php

    r3772329 r3772658  
    2929                'phone'      => '<path d="M5 4h3l2 5-2.5 1.5a11 11 0 0 0 6 6L15 14l5 2v3a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2Z"/>',
    3030                'mail'       => '<rect x="3" y="5" width="18" height="14" rx="2"/><path d="m3 7 9 6 9-6"/>',
    31                 'whatsapp'   => '<path d="M4 20l1.3-3.9A8 8 0 1 1 8 19l-4 1Z"/><path d="M9.5 9.5c.3 1.6 1.5 3.4 3.4 4.3l1.1-1 1.6.8c-.2 1-1 1.6-2 1.5-2.7-.4-5.4-3-5.7-5.8-.1-1 .5-1.8 1.5-2l.8 1.6-.7.6Z"/>',
    3231                'share'      => '<circle cx="18" cy="5" r="3"/><circle cx="6" cy="12" r="3"/><circle cx="18" cy="19" r="3"/><path d="m8.6 13.5 6.8 4M15.4 6.5l-6.8 4"/>',
    33                 'print'      => '<path d="M6 9V3h12v6M6 18H4a1 1 0 0 1-1-1v-6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1h-2"/><path d="M6 14h12v7H6z"/>',
    3432                'chev-left'  => '<path d="m15 18-6-6 6-6"/>',
    3533                'chev-right' => '<path d="m9 18 6-6-6-6"/>',
  • domtoraj-integration/trunk/readme.txt

    r3772329 r3772658  
    66Tested up to: 7.1
    77Requires PHP: 7.4
    8 Stable tag: 1.1.0
     8Stable tag: 1.1.1
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    2828* Photo mosaic with full-screen gallery (keyboard and swipe).
    2929* Key facts tiles, description with "read more", details table and amenities.
    30 * Sticky contact panel: agent, click-to-reveal phone, WhatsApp, enquiry form and "Book a viewing" form.
     30* Sticky contact panel: agent, click-to-reveal phone, enquiry form and "Book a viewing" form.
    3131* Mortgage calculator, YouTube video, 3D virtual tour, map and "What's nearby" (schools, shops, transport…).
    32 * Similar offers, print/PDF view, share button, SEO: JSON-LD (RealEstateListing), Open Graph, page titles with price.
     32* Similar offers, share button, SEO: JSON-LD (RealEstateListing), Open Graph, page titles with price.
    3333
    3434**Leads**
    … …  
    69693. **Overpass API** (https://overpass-api.de/, fallback https://overpass.kumi.systems/) — "What's nearby" on the offer page. Your server sends the offer coordinates and caches the result for 30 days; only if that fails, the visitor's browser requests it directly. [Overpass API](https://wiki.openstreetmap.org/wiki/Overpass_API), [Privacy policy](https://osmfoundation.org/wiki/Privacy_Policy).
    70704. **YouTube (privacy-enhanced mode)** — only when an offer has a video and the visitor clicks "play"; the thumbnail is loaded from i.ytimg.com. [Terms](https://www.youtube.com/t/terms), [Privacy policy](https://policies.google.com/privacy).
    71 5. **WhatsApp** — only a link (wa.me) opened when the visitor clicks the WhatsApp button. [Privacy policy](https://www.whatsapp.com/legal/privacy-policy).
    7271
    7372Enquiry forms send data only to your own WordPress site (and your e-mail inbox).
    … …  
    113112== Changelog ==
    114113
     114= 1.1.1 =
     115* Offer page: removed the WhatsApp and Print buttons (simpler contact panel; the printout did not look good).
     116
    115117= 1.1.0 =
    116118* New design of listing cards, search form, listing page and offer page (mobile-first, no jQuery, no Slick/Fancybox).
    117119* Map view on the listing (price pins, clustering) and `[domtoraj_mapa_ofert]`.
    118120* Live results counter, location autocomplete, active filter chips, sorting by price/area/date.
    119 * Offer page: full-screen gallery, sticky contact panel, click-to-reveal phone, WhatsApp, "Book a viewing", mortgage calculator, video, virtual tour, "What's nearby", similar offers, print view.
     121* Offer page: full-screen gallery, sticky contact panel, click-to-reveal phone, "Book a viewing", mortgage calculator, video, virtual tour, "What's nearby", similar offers.
    120122* Enquiries saved in WordPress + HTML e-mail to the agency; seller valuation wizard; anti-spam.
    121123* Favorites, category tiles, agency numbers, contact form shortcodes.
    … …  
    141143== Upgrade Notice ==
    142144
     145= 1.1.1 =
     146Removes the WhatsApp and Print buttons from the offer page.
     147
    143148= 1.1.0 =
    144149Big redesign: new search, map view, offer page with lead forms and enquiries inbox. If you overrode plugin templates in your theme, review them after updating.
  • domtoraj-integration/trunk/templates/single-property-content.php

    r3772329 r3772658  
    2929$facts    = $p->key_facts( 5 );
    3030$phone    = preg_replace( '/[^\d+]/', '', $contact['phone'] );
    31 $phone_wa = preg_replace( '/\D/', '', $contact['phone'] );
    32 if ( strlen( $phone_wa ) === 9 ) {
    33         $phone_wa = '48' . $phone_wa;
    34 }
    3531$listings_url = ListingShortcodes::results_url();
    3632$site_cfg     = get_option( 'domtoraj_site_config', array() );
    … …  
    9692                                <button type="button" class="dtr-icon-btn" data-dtr-fav="<?php echo esc_attr( (string) $p->post_id ); ?>" aria-pressed="false" title="<?php esc_attr_e( 'Zapisz w ulubionych', 'domtoraj-integration' ); ?>"><?php Icons::render( 'heart' ); ?><span class="screen-reader-text"><?php esc_html_e( 'Zapisz w ulubionych', 'domtoraj-integration' ); ?></span></button>
    9793                                <button type="button" class="dtr-icon-btn" data-dtr-share data-title="<?php echo esc_attr( $p->title() ); ?>" title="<?php esc_attr_e( 'Udostępnij', 'domtoraj-integration' ); ?>"><?php Icons::render( 'share' ); ?><span class="screen-reader-text"><?php esc_html_e( 'Udostępnij', 'domtoraj-integration' ); ?></span></button>
    98                                 <button type="button" class="dtr-icon-btn" data-dtr-print title="<?php esc_attr_e( 'Drukuj lub zapisz PDF', 'domtoraj-integration' ); ?>"><?php Icons::render( 'print' ); ?><span class="screen-reader-text"><?php esc_html_e( 'Drukuj', 'domtoraj-integration' ); ?></span></button>
    9994                        </div>
    10095                </div>
    … …  
    261256                                                        <span class="dtr-btn__hint" data-dtr-phone-hint><?php esc_html_e( 'pokaż numer', 'domtoraj-integration' ); ?></span>
    262257                                                </a>
    263                                                 <?php if ( strlen( $phone_wa ) >= 11 ) : ?>
    264                                                         <a class="dtr-btn dtr-btn--whatsapp dtr-btn--block" href="<?php echo esc_url( 'https://wa.me/' . $phone_wa . '?text=' . rawurlencode( $msg_default . ' ' . $p->url() ) ); ?>" target="_blank" rel="noopener"><?php Icons::render( 'whatsapp' ); ?><span>WhatsApp</span></a>
    265                                                 <?php endif; ?>
    266258                                        <?php endif; ?>
    267259                                </div>
Note: See TracChangeset for help on using the changeset viewer.