Kiran

Forum Replies Created

Viewing 15 posts - 3,691 through 3,705 (of 6,022 total)
  • Author
    Posts
  • in reply to: After Adding Location – No item found #446957

    Kiran
    Moderator
    Post count: 7069

    Hi Ansen,

    After doing some debugging we found that using

    define('WP_POST_REVISIONS', 1);

    in wp-config.php causes this issue.
    I have commented that line in wp-confing.php and add listing is working fine. We are fixing this issue and it will be in next update.

    Kiran

    in reply to: Location Descriptions not displaying #446951

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Open Street Maps #446949

    Kiran
    Moderator
    Post count: 7069

    Hello Sayllus,

    The map on home page is displayed via shortcode/block, i have added

    scrollwheel='1'

    attribute in shortcode from edit page. Now mouse scrolling is working fine.

    Kiran

    in reply to: Adding Banner above all pages #446918

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Listing Images only shown to logged in user/admin #446694

    Kiran
    Moderator
    Post count: 7069

    Hello,

    How will it only affect this one specific listing?

    May be that listing is cached before images added to the lisitng. When i tested with new listing it showing images fine there.

    Kiran

    in reply to: Status Names #446693

    Kiran
    Moderator
    Post count: 7069

    Hello James,

    I have looked in to completed subscriptions, few subscription are cancelled from PayPal but still displayed in Completed subscriptions. Cancelled subscriptions should be in Cancelled status.

    Do you have stagging site so we can check/debug there by enabling sandbox mode? Or you can create stagging site from current site.

    Kiran

    in reply to: Import CSV-file not working – despite debug #446689

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Adding Banner above all pages #446687

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Adding Banner above all pages #446503

    Kiran
    Moderator
    Post count: 7069

    Hello,

    I also just discovered that submitting new listings through the login process isn’t working

    I created one lisitng and it added successfully. Provide steps how can we recreate from our side.

    I just noticed that notification emails are including links that are going to “page not found” results. I believe there is a permalink breakdown. I followed the instructions again but I’m still having trouble. Would someone be able to login to wp-admin and triple check my settings?

    I checked publish listing notification and the listing received goes to correct listing. Let us know specific notification that you found issue.

    Let us know.

    Thanks,
    Kiran

    in reply to: Listing Images only shown to logged in user/admin #446500

    Kiran
    Moderator
    Post count: 7069

    Hello Leon,

    It seems to be a caching issue. I added /?1=1 to the url and images are displayed even without logged in.

    Kiran

    in reply to: Issue saving reviews and start ratings #446476

    Kiran
    Moderator
    Post count: 7069

    Hello Brian,

    Finally the issue has been found and fixed. It was PHP recent version v7.2.x which has issue with using function getenv(‘REMOTE_ADDR’). See https://bugs.php.net/bug.php?id=76230

    We have fixed by using alternative option. You can find patch here https://github.com/GeoDirectory/geodirectory/pull/473/commits/697d879929a43cc2d7852264010dc12ea82c066d
    Patch has been updated on your site too and now review submit is working fine.

    Please check and let us know.

    Thanks for your patience 🙂

    Kiran

    in reply to: Remove colon from labels #446475

    Kiran
    Moderator
    Post count: 7069

    Hello Antonella,

    You can remove colon from field label by using following code snippet.

    
    
    function _gd_snippet_filed_label_remove_colon( $html, $field_location, $type ) {
    	if ( ! empty( $html ) ) {
    		$html = str_replace( ': </span>', ' </span>', $html );
    	}
    	return $html;
    }
    add_filter( 'geodir_custom_field_output_select', '_gd_snippet_filed_label_remove_colon', 999, 3 ); // 'select' field type
    add_filter( 'geodir_custom_field_output_multiselect', '_gd_snippet_filed_label_remove_colon', 999, 3 ); // 'multiselect' field type
    add_filter( 'geodir_custom_field_output_textarea', '_gd_snippet_filed_label_remove_colon', 999, 3 ); // 'textarea' field type
    add_filter( 'geodir_custom_field_output_html', '_gd_snippet_filed_label_remove_colon', 999, 3 ); // 'html' field type

    Currently it removing colon from select, multiselect, textarea & html field types, you can add more for text, radio, checkbox, file, datepicker, address etc.

    Thanks,
    Kiran

    in reply to: new post to draft and admin review? #446464

    Kiran
    Moderator
    Post count: 7069

    Glad to hear that it worked 🙂

    Kiran

    in reply to: new post to draft and admin review? #446372

    Kiran
    Moderator
    Post count: 7069

    Hello Lise,

    For free franchises by default it requires admin moderation before publishing.

    Use following snippet to save franchise by default published.

    
    
    // Set status 'publish' by default
    function _gd_snippet_after_save_franchise( $post_id, $update = 0, $parent_post_id = 0 ) {
    	if ( empty( $post_id ) || empty( $parent_post_id ) ) {
    		return;
    	}
    
    	if ( ! empty( $update ) ) {
    		return;
    	}
    
    	if ( get_post_status( $post_id ) != 'publish' ) {
    		geodir_set_post_status( $post_id, 'publish' );
    	}
    }
    add_action( 'geodir_franchise_after_save_franchise', '_gd_snippet_after_save_franchise', 1, 3 );

    Thanks,
    Kiran

    in reply to: Issue saving reviews and start ratings #446370

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