Kiran

Forum Replies Created

Viewing 15 posts - 76 through 90 (of 6,022 total)
  • Author
    Posts
  • in reply to: Claim listing form "currently under revision" #541839

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: How have full control of caching page of Add Listing page #541813

    Kiran
    Moderator
    Post count: 7069

    Hello Brigitte,

    Add listing page is dynamic page so it must be exempted from caching.

    Kiran

    in reply to: Events – social import -address #541812

    Kiran
    Moderator
    Post count: 7069

    Hi Olga,

    Please check, i have applied patch on your site.

    When address format is not fixed it is hard to remove duplicate string from the address. On Facebook pages & events has different address format, like some has full address with country name, country code, state code, zip etc.
    User still have a option to update address and use desired street address in Address field.

    Thanks,
    Kiran

    in reply to: Sitemap errors #541809

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Widget Images slow to load #541788

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Sitemap errors #541787

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Widget Images slow to load #541761

    Kiran
    Moderator
    Post count: 7069

    Hello,

    Try ajax_load=0 attribute in gd_post_images shortcode in archive item template.

    Let us know how it goes.

    Thanks,
    Kiran

    in reply to: GD V2 Near autocomplete Error? #541742

    Kiran
    Moderator
    Post count: 7069

    Hi Rudi,

    We have fixed issue to restrict near search within additional address location set in serach settings.

    Provide us site link, admin & FTP credentials to apply patch.

    Regards,
    Kiran

    in reply to: Claim listing form "currently under revision" #541613

    Kiran
    Moderator
    Post count: 7069

    Hi Birgit,

    There was a incorrect translation for “You must login to post.” text. It has new line characters there which causes JavaScript errors and breaking GD blocks rendering.

    I have fixed it from WPML > String Translation.

    Please check and let us know.

    Thanks,
    Kiran

    in reply to: Wrong post categories in GD>Listings tab #541606

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Claim listing form "currently under revision" #541605

    Kiran
    Moderator
    Post count: 7069

    Can you provide me screenshot & page url where you see issue?

    Kiran

    in reply to: Move images from a custom field to post_images #541604

    Kiran
    Moderator
    Post count: 7069

    Hi,

    1) Add following PHP snippet & above PHP snippet.
    2) Go to http://YOUR-SITE.COM/?_gd_go_set_featured_image=1

    
    
    function gd_snippet_200421_init() {
    	global $wpdb;
    
    	if ( empty( $_GET['_gd_go_set_featured_image'] ) ) {
    		return;
    	}
    
    	$post_types = geodir_get_posttypes();
    
    	foreach ( $post_types as $post_type ) {
    		$table = geodir_db_cpt_table( $post_type );
    
    		$results = $wpdb->get_results( "SELECT post_id FROM {$table} WHERE ( post_status = 'publish' OR post_status = 'pending' ) AND featured_image IS NULL OR featured_image = '' ORDER BY post_id ASC" );
    	
    		if ( ! empty( $results ) ) {
    			foreach ( $results as $row ) {
    				gd_snippet_resave_post_images( $row->post_id );
    			}
    		}
    	}
    
    	echo 'DONE :-)';
    	exit;
    }
    add_action( 'init', 'gd_snippet_200421_init', 20 );

    Regards,
    Kiran

    in reply to: Claim listing form "currently under revision" #541601

    Kiran
    Moderator
    Post count: 7069

    Hi Birgit,

    To fix conflict i have added PHP snippet under Snippets > “Fix conflict with SiteOrigin Widgets Bundle”.

    
    
    
    /*
     * Fix conflict with SiteOrigin Widgets Bundle.
     *
     * SiteOrigin Widgets uses own 'media_buttons' hook
     */
    function gd_snippet_fix_siteorigin_conflict( $editor_id ) {
    	global $shortcode_insert_button_once;
    
    	if ( $shortcode_insert_button_once ) {
    		$shortcode_insert_button_once = false;
    	}
    }
    add_action( 'media_buttons', 'gd_snippet_fix_siteorigin_conflict', 0, 1 );
    

    I have added this snippet on your live site.

    Please check and let us know.

    Regards,
    Kiran

    in reply to: Move images from a custom field to post_images #541574

    Kiran
    Moderator
    Post count: 7069

    Hi Vivek,

    Use following function to set featured image for post. This function will set featured image for single post. Use this function for all posts you want to set featured image.

    
    
    /**
     * Re-save post images to set featured image.
     */
    function gd_snippet_resave_post_images( $post_id ) {
    	$featured_image = geodir_get_post_meta( $post_id, 'featured_image', true );
    
    	if ( ! empty( $featured_image ) ) {
    		return true; // Don't generate featured image.
    	}
    
    	$post_images = GeoDir_Media::get_field_edit_string( $post_id, 'post_images' );
    
    	if ( ! empty( $post_images ) ) {
    		$post_images = $post_images . ' '; // Force re-save.
    
    		$featured_image = GeoDir_Post_Data::save_files( $post_id, $post_images, 'post_images', false, false );
    
    		if ( ! empty( $featured_image ) ) {
    			geodir_save_post_meta( $post_id, 'featured_image', $featured_image );
    		}
    	}
    }

    Regards,
    Kiran

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