Kiran

Forum Replies Created

Viewing 15 posts - 1,366 through 1,380 (of 6,022 total)
  • Author
    Posts
  • in reply to: when I update my geoDirectory plugins my website breaks. #509904

    Kiran
    Moderator
    Post count: 7069

    Hi Rigo,

    I checked and seems all GD plugins are updated to recent version.
    We never face similar issue from our side. Just let us know if you see issue again.

    Regards,
    Kiran

    in reply to: Disable HTML Editor — Strip tags #509743

    Kiran
    Moderator
    Post count: 7069

    Hi There,

    We have made changes so it will prevent to save html tags in description if “Disable HTML Editor” is enabled. It will be in in Pricing Manager v2.5.0.13.

    Provide us FTP credentials if you want me to apply patch on your site.

    Regards,
    Kiran

    in reply to: Business marked closed when it should be open #509734

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Customize output of gd_single_taxonomies #509732

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Images (other than the first) doesn't load #509731

    Kiran
    Moderator
    Post count: 7069

    Hi There,

    I have checked today my listing(https://huntingmama.com/dining/the-test/) which was created 4 days back and it still have 4 images uploaded during add listing.

    Kiran

    in reply to: Scrolling on mobile device (IOS apple) not smooth. #509729

    Kiran
    Moderator
    Post count: 7069

    Hi Joel,

    I have updated some changes, please try after clearing your browser cache.

    Let us know how it goes.

    Kiran

    in reply to: How do I make Image Upload Titles Mandatory? #509725

    Kiran
    Moderator
    Post count: 7069

    Hi There,

    It is not possible without core customization to make title mandatory.

    Kiran

    in reply to: Scrolling on mobile device (IOS apple) not smooth. #509700

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: I can't translate some lines #509699

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Scrolling on mobile device (IOS apple) not smooth. #509696

    Kiran
    Moderator
    Post count: 7069

    Hi Joel,

    Can you provide more details what issue it shows to you? Please provide screenshot or video capture so we can check from our side.

    Regards,
    Kiran

    in reply to: I can't translate some lines #509691

    Kiran
    Moderator
    Post count: 7069

    Hi Alexander,

    Dates are translated via WordPress default date functions. We have fixed it.

    Please download this file https://raw.githubusercontent.com/AyeCode/geodirectory/8a137d9eb7eb4dd0c9b407b5c2f7dde7c050bd93/includes/custom-fields/output-functions.php and replace it overwrite at \plugins\geodirectory\includes\custom-fields\output-functions.php

    Let us know how it goes & thanks for spotting.

    Regards,
    Kiran

    in reply to: Add nice features #509678

    Kiran
    Moderator
    Post count: 7069

    Thanks for letting us know.

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

    Kiran
    Moderator
    Post count: 7069

    Hi Scott,

    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/

    Let us know how you are using scripts to display third-party plugins in custom fields. If possible i will provide you help/snippet to use filter instead of script tags. Allow to use script tags in input is not safe for website in terms of security.

    Best Regards,
    Kiran

    in reply to: manual validation of the modification of an ad #509674

    Kiran
    Moderator
    Post count: 7069

    Hi Monfort,

    You can achieve by using following PHP snippet. This snippet will set status of listing to “Pending” when it edited by user. You can edit content of email sent when listing is edit by author to add details about review listing data.

    
    
    /**
     * Set post status to pending on listing edit.
     */
    function gd_snippet_190923_pre_admin_post_edit_email( $email_name, $email_vars ) {
    	$data = array();
    	$data['ID'] = $email_vars['post']->ID;
    	$data['post_status'] = 'pending';
    
    	return wp_update_post( $data );
    }
    add_action( 'geodir_pre_admin_post_edit_email', 'gd_snippet_190923_pre_admin_post_edit_email', 20, 2 );

    Regards,
    Kiran

    in reply to: Submit Listing redirect #509673

    Kiran
    Moderator
    Post count: 7069

    Hi Mitch,

    Try following PHP snippet.

    
    
    /**
     * Redirect to specific url after add listing form submitted.
     */
    function gd_snippet_ajax_save_post_message( $message, $post_data ) {
    	$redirect_to = 'https://www.google.co.in'; // Redirect url
    
    	ob_start();
    	?>
    	<script type="text/javascript">window.location = '<?php echo $redirect_to; ?>';</script>
    	<?php 
    	$redirect_to_js = ob_get_clean();
    
    	$message .= trim( $redirect_to_js );
    
    	return $message;
    }
    add_filter( 'geodir_ajax_save_post_message', 'gd_snippet_ajax_save_post_message', 100, 2 );

    Regards,
    Kiran

Viewing 15 posts - 1,366 through 1,380 (of 6,022 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount