Kiran

Forum Replies Created

Viewing 15 posts - 1,336 through 1,350 (of 6,022 total)
  • Author
    Posts
  • in reply to: Some 404 errors #510546

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Marker Cluster does not work with OpenStreetMap? #510543

    Kiran
    Moderator
    Post count: 7069

    Hi Alexander,

    Sorry for late reply. I checked but can’t replicate any issue.

    Please provide us screenshot or video capture so it can help us to replicate issue.

    Regards,
    Kiran

    in reply to: Listimia – Issue with h1s on archive pages #510542

    Kiran
    Moderator
    Post count: 7069

    Hi There,

    Issue has been fixed.

    There are two things found that causing issue.

    – There are some invalid menu setup found at Appearance > Menus. One menu has invalid menu item saved which does not exists. Another menu does not have any menu items selected to show.
    – In Listimia theme file wp-content\themes\listimia\inc\setup.php line no. 206 it has used

    $title = __( 'Post Type Archives: ', 'listimia' ) . '<span>' . post_type_archive_title() . '</span>';

    to get the title which is incorrect. Correct sentence is

    $title = __( 'Post Type Archives: ', 'listimia' ) . '<span>' . post_type_archive_title( '', false ) . '</span>';

    Let us know.

    Thanks,
    Kiran

    in reply to: Error on JSON fetch… #510531

    Kiran
    Moderator
    Post count: 7069

    Hi Rodney,

    We just pass data to json just like WordPress default posts do. Do you see similar issue with WordPress posts API. Please try that and let us know how it goes.

    Kiran

    in reply to: transfering places to a new site #510529

    Kiran
    Moderator
    Post count: 7069

    Hi Peter,

    Please send us login url to your site to check more.

    Kiran

    in reply to: Location filter not working on event calendar #510517

    Kiran
    Moderator
    Post count: 7069

    Hi,

    Please try again after clearing your browser cache.

    There are two calendars on page, i have fixed this conflict of unique calendar element.

    Kiran

    in reply to: Keep Address Fields but Not Limit Search Results by Distance #510506

    Kiran
    Moderator
    Post count: 7069

    Hi N,

    At the moment it is not possible to use address fields and disable filter by location.

    Here are few options that you can achieve what you asked:
    – Create new custom fields(Address, Country, Region, City, Zip etc) with different field keys.
    – If you are using only one CPT then you can increase distance radius to larger value ex: 10000 so it will cover all the results.
    – Filter SQL query and increase distance value applied in SQL query where clause.

    Let us know.

    Kiran


    Kiran
    Moderator
    Post count: 7069

    Hi Mark,

    Are you using WPML plugin or any other plugin for multi languages? This happened with importing new listings or with edit the existing listings via import?

    Please provide site link & admin credentials to look there.

    Let us know.

    Thanks,
    Kiran

    in reply to: Script tags in custom field not working after update #510503

    Kiran
    Moderator
    Post count: 7069

    Hi Scott,

    Please try listing re-save again with script tags. The listing which saved after current release may have stripped tags, so those listings needs to re-save again with script tags.

    Let us know.

    Kiran

    in reply to: Location filter not working on event calendar #510502

    Kiran
    Moderator
    Post count: 7069

    Hi David,

    Issue has been fixed and patch applied on your site.

    Please check & let us know.

    Regards,
    Kiran

    in reply to: Script tags in custom field not working after update #510337

    Kiran
    Moderator
    Post count: 7069

    Hi Scott,

    Please use following PHP code snippet, it will skip field value sensitization.

    
    
    /**
     * Skip sanitize field values.
     *
     * Skipping sanitize values may result in cross-site scripting (XSS) attack.
     */
    function gd_snippet_skip_sanitize_field( $value, $gd_post, $custom_field, $post_id, $post, $update ) {
    	$value = $gd_post[ $custom_field->htmlvar_name ];
    
    	if ( isset( $custom_field->data_type ) && ( $custom_field->data_type == 'DECIMAL' || $custom_field->data_type == 'INT' ) && $value === '' ) {
    		$value = null;
    	}
    	return $value;
    }
    add_filter( 'geodir_custom_field_value_email', 'gd_snippet_skip_sanitize_field', 11, 6 );
    add_filter( 'geodir_custom_field_value_html', 'gd_snippet_skip_sanitize_field', 11, 6 );
    add_filter( 'geodir_custom_field_value_phone', 'gd_snippet_skip_sanitize_field', 11, 6 );
    add_filter( 'geodir_custom_field_value_text', 'gd_snippet_skip_sanitize_field', 11, 6 );
    add_filter( 'geodir_custom_field_value_textarea', 'gd_snippet_skip_sanitize_field', 11, 6 );
    add_filter( 'geodir_custom_field_value_url', 'gd_snippet_skip_sanitize_field', 11, 6 );

    Let us know how it goes.

    Regards,
    Kiran

    in reply to: Can't put iframe in HTML fields in latest update #510336

    Kiran
    Moderator
    Post count: 7069

    Hi D K,

    In recent version we have escaped custom field values to prevent XSS (Cross-site scripting) attacks on website.

    Cross-site scripting (XSS) is a type of computer security vulnerability typically found in web applications. XSS enables attackers to inject client-side scripts into web pages viewed by other users. A cross-site scripting vulnerability may be used by attackers to bypass access controls such as the same-origin policy.

    See https://developer.wordpress.org/plugins/security/securing-input/ & https://developer.wordpress.org/plugins/security/securing-output/

    If you still want to you unrestricted tags in fields then you can use following PHP snippet. It will skip field value sensitization.

    
    
    /**
     * Skip sanitize field values.
     *
     * Skipping sanitize values may result in cross-site scripting (XSS) attack.
     */
    function gd_snippet_skip_sanitize_field( $value, $gd_post, $custom_field, $post_id, $post, $update ) {
    	$value = $gd_post[ $custom_field->htmlvar_name ];
    
    	if ( isset( $custom_field->data_type ) && ( $custom_field->data_type == 'DECIMAL' || $custom_field->data_type == 'INT' ) && $value === '' ) {
    		$value = null;
    	}
    	return $value;
    }
    add_filter( 'geodir_custom_field_value_email', 'gd_snippet_skip_sanitize_field', 11, 6 );
    add_filter( 'geodir_custom_field_value_html', 'gd_snippet_skip_sanitize_field', 11, 6 );
    add_filter( 'geodir_custom_field_value_phone', 'gd_snippet_skip_sanitize_field', 11, 6 );
    add_filter( 'geodir_custom_field_value_text', 'gd_snippet_skip_sanitize_field', 11, 6 );
    add_filter( 'geodir_custom_field_value_textarea', 'gd_snippet_skip_sanitize_field', 11, 6 );
    add_filter( 'geodir_custom_field_value_url', 'gd_snippet_skip_sanitize_field', 11, 6 );

    Let us know.

    Best Regards,
    Kiran

    in reply to: Save to Favorites #510318

    Kiran
    Moderator
    Post count: 7069

    Hi Scott,

    The issue has been fixed.

    There was a bug in your child theme. In /wp-content/themes/listimia-child/shortcodes/tabs_header.php it has used following code to show that “Save Shop” button.

    <a class="geodir-addtofav-icon" href="javascript:void(0);" onclick="if (!window.__cfRLUnblockHandlers) return false; javascript:gd_fav_save(<?php echo $post->ID; ?>)" title="Add to Favorites"><i class="fas fa-heart"></i> <span class="geodir-fav-text">Save Shop</span></a>

    In this code you have used

    if (!window.__cfRLUnblockHandlers) return false;

    which preventing to execute button action.

    I have removed that line and now favorite/unfavorite is working fine.

    Let us know.

    Regards,
    Kiran

    in reply to: Display number of favourites for listing #510309

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Error on JSON fetch… #510304

    Kiran
    Moderator
    Post count: 7069
Viewing 15 posts - 1,336 through 1,350 (of 6,022 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount