Kiran

Forum Replies Created

Viewing 15 posts - 3,781 through 3,795 (of 6,022 total)
  • Author
    Posts
  • in reply to: Paypal cancel subscription entry goes to draft #442703

    Kiran
    Moderator
    Post count: 7069

    Hello,

    It moves the listing to draft immediately after receiving the IPN notification from PayPal about subscription cancellation.
    I have created todo task for myself to update this so listing goes to draft only after expire date past.

    Let us know once it is done.

    Thanks,
    Kiran


    Kiran
    Moderator
    Post count: 7069

    Hi Jen,

    The ‘Yoast SEO’ plugin update broke the admin

    It is because some major changes in Yoast v8.x plugin. We have fixed it from our side. I have updated patch on your live site and dev site. Now you can update Yoast plugin.

    I looked in the subscriptions panel and these listings that are not going to draft are not in there. This is very strange. For example Meg Brierley, Carla Pita Santos to name two.

    Please clarify that Meg Brierley & Carla Pita Santos are listings from live site or dev site? Those listings not found dev site. The live site admin credentials no longer working for me so can’t able to check there.

    Let us know.

    Thanks,
    Kiran


    Kiran
    Moderator
    Post count: 7069

    Hello Michael,

    I have enabled map style OpenStreetMap.Mapnik and it is working fine. Map style OpenStreetMap.BlackAndWhite not working on your site but it is working on my test site.

    Please provide us FTP credentials so we can investigate to find reson behind this.

    Kiran

    in reply to: Theme: Whoop Just Purchased.. #442649

    Kiran
    Moderator
    Post count: 7069

    Hello,

    To enable “Anyone can register” settings. Go to WP Admin > Settings > Membership > Anyone can register (see screenshot).

    Admin link not working for me it redirects and shows 403 Forbidden Error.

    Kiran

    in reply to: YOAST 8.0 Conflict? #442647

    Kiran
    Moderator
    Post count: 7069

    Hello,

    I have updated patch on your site.

    Please check and let us know.

    Kiran

    in reply to: Event posting Rest API issue #442628

    Kiran
    Moderator
    Post count: 7069

    Hello Louis,

    The issue has been fixed.

    Please download develpment version from here and overwrite files under /plugins/geodir_api/ plugin: https://github.com/kprajapatii/geodir_api/

    Thanks,
    Kiran

    in reply to: Custom CPT Status | Draft, Publish, Trash, +1 #442627

    Kiran
    Moderator
    Post count: 7069

    Hello Rich,

    You following snippet.

    
    
    function _gd_custom_custom_post_status() {
         register_post_status( 'archive', array(
              'label'                     => _x( 'Archive', 'Listing status', 'geodirectory' ),
              'public'                    => true,
              'show_in_admin_all_list'    => false,
              'show_in_admin_status_list' => true,
              'label_count'               => _n_noop( 'Archive <span class="count">(%s)</span>', 'Archive <span class="count">(%s)</span>', 'geodirectory' )
         ) );
    }
    add_action( 'init', '_gd_custom_custom_post_status', 10 );
    
    function _gd_custom_append_post_status_list() {
    	global $post;
    
    	if ( $post->post_type !== 'gd_place' ) {
    		return;
    	}
    
    	$current_label = $post->post_status == 'archive' ? __( 'Archive', 'geodirectory' ) : '';
    	$selected = $post->post_status == 'archive' ? 'selected="selected"' : '';
    	?>
    <script type="text/javascript">
    jQuery(function($) {
    	var $mbox = $("#submitdiv");
    
    	$("select#post_status").append('<option value="archive" <?php echo $selected; ?>><?php _e( 'Archive', 'geodirectory' ); ?></option>');
    	<?php if ( $current_label ) { ?>
    		$(".misc-pub-section #post-status-display", $mbox).text('<?php echo $current_label; ?>');
    	<?php } ?>
    	$('.save-post-status', $mbox).click(function(e) {
    		var txt = $("select#post_status option:selected", $mbox).data('save-text');
    		if (txt) {
    			$('#save-post', $mbox).show().val(txt);
    		}
    	});
    	$('.save-post-status', $mbox).trigger('click');
    });
    </script>
    	<?php
    }
    add_action( 'admin_footer-post.php', '_gd_custom_append_post_status_list', 10 );
    
    function _gd_custom_display_archive_state( $states ) {
    	global $post;
    
    	$query_var = get_query_var( 'post_status' );
    	if ( $query_var != 'archive' && $post->post_status == 'archive' ) {
    		return array( __( 'Archive', 'geodirectory' ) );
    	}
    	return $states;
    }
    add_filter( 'display_post_states', '_gd_custom_display_archive_state', 10, 1 );

    Thanks,
    Kiran

    in reply to: Theme: Whoop Just Purchased.. #442446

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Unable to edit GD posts from backend #442444

    Kiran
    Moderator
    Post count: 7069

    Hello jotomas,

    We have fixed Yoast v8.x conflict on backend edit listing pages.

    It will be available in next release.
    You can update patch found here https://github.com/GeoDirectory/geodirectory/pull/471/commits/8e8ad045c1aa6ced3f64f7baec9b49994ffcd44e to your site OR provide us FTP credentials to update patch from our side.

    Thanks,
    Kiran

    in reply to: YOAST 8.0 Conflict? #442443

    Kiran
    Moderator
    Post count: 7069

    Hello,

    We have fixed Yoast v8.x conflict on backend edit listing pages.

    It will be available in next release.
    You can update patch found here https://github.com/GeoDirectory/geodirectory/pull/471/commits/8e8ad045c1aa6ced3f64f7baec9b49994ffcd44e to your site OR provide us FTP credentials to update patch from our side.

    Thanks,
    Kiran

    in reply to: Marker with place name on map #442423

    Kiran
    Moderator
    Post count: 7069

    Hello,

    Without code customization it is not possible to show marker title always on the map.

    BTW it is not google idea to show title always on the map because map may look mess when there are more many markers on map.

    Thanks,
    Kiran

    in reply to: Theme: Whoop Just Purchased.. #442422

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Theme: Whoop Just Purchased.. #442421

    Kiran
    Moderator
    Post count: 7069

    Hello,

    The problems mentioned in 3) & 4) are due to major changes in BuddyPress 3.x. We have already fixed this in Whoop theme but it is not released it.

    After getting FTP credentials we will update patch on your site to fis those issues.

    Thanks,
    Kiran

    in reply to: link to another CPT record #442299

    Kiran
    Moderator
    Post count: 7069

    Hello Henry,

    There is a chosen jQuery script added by a plugin “scripts n styles” that conflicts with GeoDirecotry chosen script.
    Add following code snippet to fix the conflict.

    
    
    /* Fix scripts n styles chosen conflict */
    function _gd_custom_fix_scripts_n_styles_chosen_conflict() {
        if ( is_admin() && wp_script_is( 'sns-meta-box', 'registered' ) && wp_script_is( 'chosen', 'registered' ) && wp_script_is( 'geodirectory-choose-ajax', 'registered' ) ) {
            wp_deregister_script( 'chosen' );
    		wp_register_script( 'chosen', geodir_plugin_url() . '/geodirectory-assets/js/chosen.jquery.js', array('jquery'), GEODIRECTORY_VERSION );
       }
    }
    add_action( 'admin_enqueue_scripts', '_gd_custom_fix_scripts_n_styles_chosen_conflict', 1000 );

    Let us know how it goes.

    Thanks,
    Kiran

    in reply to: google analytics #442181

    Kiran
    Moderator
    Post count: 7069

    Hello Victor,

    I have done some debugging and found following error in debug log.

    Error refreshing the OAuth2 token, message: ‘{
    “error” : “invalid_grant”,
    “error_description” : “Bad Request”
    }’

    Please check this to know possible reasons: https://stackoverflow.com/questions/28148265/analytics-api-returns-bad-request-invalid-grant#answer-28148401

    If this not fixing then try to refresh Google Analytics settings:

    – Go Admin > GeoDirectory > General > Google Analytics
    – Deauthorize > Click “Save Changes”
    – Copy again “Auth Code” from Google Account to under “Google analytics Auth Code”
    – Authorize & Save Changes

    Let us know how it goes.

    Thanks,
    Kiran

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