Kiran

Forum Replies Created

Viewing 15 posts - 2,581 through 2,595 (of 6,022 total)
  • Author
    Posts
  • in reply to: users adding incomplete url for links #480066

    Kiran
    Moderator
    Post count: 7069

    If I am reading your response correctly, the update will address the issue of the preview not displaying the feature image, correct?

    It shows feature image in the listing preview. In GeoDirectory it only changed the way of displaying preview of the listing.

    What about the other issue I raised: users are not able to tell if the failure of the listing to advance to the Review Listing screen is due to incomplete url. There is a popup notification but it disappears after some time. Is it possible for this error to function like other errors — can it appear in red rather than the popup notification.

    In GeoDirectory v2 it shows error at the bottom each relevant field.

    We recommend you to try GeoDirectory v2 on your test site to know more how it working.

    Thanks,
    Kiran

    in reply to: What is the hook to add featured images? #480064

    Kiran
    Moderator
    Post count: 7069

    Hello Derek,

    Try following code to upload image under the listing.

    
    
    if ( ! function_exists( 'wp_generate_attachment_metadata' ) ) {
    	include_once( ABSPATH . 'wp-admin/includes/image.php' );
    }
    if ( ! function_exists( 'media_buttons' ) ) {
    	include( ABSPATH . 'wp-admin/includes/media.php' );
    }
    $wp_upload_dir = wp_upload_dir();
    
    $post_id 		= 542;
    $field_name 	= 'post_images';
    $image_url 		= 'https://mysite.com/wp-content/uploads/my-image.jpg';
    $title 			= 'Image Title';
    $caption 		= 'image-caption';
    $order 			= 0; // 0 for featured image & 1 for normal attachment
    
    $attachment = GeoDir_Media::insert_attachment( $post_id, $field_name, $image_url, $title, $caption, $order );
    
    if ( is_wp_error( $attachment ) ) {
    	$error = $attachment->get_error_message();
    } else {
    	geodir_save_post_meta( $post_id, 'featured_image', $attachment['file'] );
    
    	$image = $wp_upload_dir['baseurl'] . $attachment['file'];
    }

    Regards,
    Kiran

    in reply to: Meta title in the search result is showing wrong location #480056

    Kiran
    Moderator
    Post count: 7069

    Hello Ann,

    Please check now. You have used wrong variable %%_searchregion%% instead of %%search_near%%.

    I have corrected it at GeoDirectory > Settings > Titles & Meta > Search page.

    Let us know.

    Regards,
    Kiran

    in reply to: Opening times are off by an hour #480053

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Adding new Places to the list #480045

    Kiran
    Moderator
    Post count: 7069

    Hello Ricardo,

    Please check now.

    All fields were disabled except featured field. I have enabled from CPT(Lugares) > Settings > Custom Fields.

    Regards,
    Kiran

    in reply to: Opening times are off by an hour #480033

    Kiran
    Moderator
    Post count: 7069

    Hello John,

    Business Hours allows to set timezone offset for each listing and but by default it uses the default location timezone offset.

    If you have an issue then provide us site link and admin credentials in a private reply.

    Regards,
    Kiran

    in reply to: photos not displaying #480032

    Kiran
    Moderator
    Post count: 7069

    Hello Jose,

    Photos are already there, but one of you site conflicts and hids the photos.

    Try to add following css to prevent conflict.

    
    
    #geodir-post-gallery [title]::after {
    	position:  inherit;
    	padding: 0;
    }

    Kiran

    in reply to: Redirecting Login page #480029

    Kiran
    Moderator
    Post count: 7069

    Hello,

    Hook ‘geodir_login_url’ is used to set login page.

    There may be plugin available what you want to achieve. See https://wordpress.org/plugins/wp-force-login/

    Kiran

    in reply to: Redirecting Login page #480021

    Kiran
    Moderator
    Post count: 7069

    Hello Xaper,

    From which page you want to redirect to /wp-login/ page. I checked in login popup from menu and links ahs already /wp-login/.

    Let us know.

    Kiran

    in reply to: Categories not registering properly #479816

    Kiran
    Moderator
    Post count: 7069

    Hello,

    1. Please try following code snippet to prevent conflict with VideoPro.

    
    
    /**
     * Fix conflict with VideoPro - Shortcodes.
     */
    function gd_snippet_fix_videopro_conflict() {
    	if ( ! is_admin() ) {
    		return;
    	}
    
    	if ( ! empty( $_REQUEST['post_type'] ) && geodir_is_gd_post_type( $_REQUEST['post_type'] ) ) {
    		global $ctshortcode;
    
    		if ( ! empty( $ctshortcode ) && is_object( $ctshortcode ) ) {
    			remove_action( 'init', array( $ctshortcode, 'init' ) );
    		}
    	}
    }
    add_action( 'init', 'gd_snippet_fix_videopro_conflict', 9 );

    2. I have updated import function in social importer plugin. The first image may still have low quality, because it is from page logo(profile image).

    3) Except profile image, no duplicate image will be uploaded.

    Let us know.

    Thanks,
    Kiran

    in reply to: Event Schedule Missing for Events>Add New #479808

    Kiran
    Moderator
    Post count: 7069

    Hello edward,

    The issue has been fixed.

    In Event v2 event schedule fields are available in Event Information metabox(display order can be managed from Events > Custom Fields).
    Not sure why it was not working on your site, but now i have fixed it.

    Please check and let us know.

    Regards,
    Kiran

    in reply to: CPT without geolocation #479790

    Kiran
    Moderator
    Post count: 7069

    Hello Vincenzo,

    I checked and found that GeoDirectory template pages for GD Details, GD Archive, GD Archive Item & GD Search was trashed. I restored those pages from trash. These pages are required to show listings.

    Please check now and if you still see issue then provide a page url & steps to replicate issue from our side.

    Regards,
    Kiran

    in reply to: Don't see the option to add "different event times".. #479783

    Kiran
    Moderator
    Post count: 7069

    Hello There,

    This has been fixed. Form next version it will allow to set recurring enabled by default for the event.

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

    Regards,
    Kiran

    in reply to: Geodirectory v2 google map problem #479771

    Kiran
    Moderator
    Post count: 7069

    Hello,

    This is default behavior. See https://ppldb.com/v2test/places/

    You can make color little darker to look better.

    Try following:

    
    
    .geodir-field-post_content a.gd-read-more {
    	color: #333;
    }

    Kiran

    in reply to: Geodirectory v2 google map problem #479765

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
Viewing 15 posts - 2,581 through 2,595 (of 6,022 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount