Categories not registering properly

This topic contains 34 replies, has 3 voices, and was last updated by  Kiran 5 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #482284

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

    The
    Expired Member
    Post count: 102
    This reply has been marked as private.
    #484708

    The
    Expired Member
    Post count: 102

    Its been almost 5 days and still waiting for a reply…

    #484723

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

    Kiran
    Moderator
    Post count: 7069

    Hello,

    it is corrupting field entries in the rest of our website. Example : in new posts, we can’t change/add certain fields from the backend.

    I have modified PHP snippet to fix conflict on post pages. Now fields are working fine on post pages too.

    
    
    /**
     * Fix select2 conflict with GeoDirectory & Cactus Actor(ct-actor) plugin.
     */
    function gd_snippet_190404_select2_conflict() {
    	$screen    = get_current_screen();
    	$screen_id = $screen ? $screen->id : '';
    
    	if ( wp_script_is( 'select2', 'enqueued' ) && wp_script_is( 'cmb-select2', 'enqueued' ) && wp_script_is( 'field-select', 'enqueued' ) ) {
    		if ( $screen_id && in_array( $screen_id, geodir_get_screen_ids() ) ) {
    			wp_dequeue_script( 'field-select' ); // Dequeue CMB select2 on GD pages
    			wp_dequeue_script( 'cmb-select2' );
    		} else {
    			wp_dequeue_script( 'select2' ); // Dequeue GD select2 on non-GD pages
    		}
    	}
    	
    	if ( wp_style_is( 'select2', 'enqueued' ) && wp_style_is( 'cmb-select2', 'enqueued' ) ) {
    		if ( $screen_id && in_array( $screen_id, geodir_get_screen_ids() ) ) {
    			wp_dequeue_style( 'cmb-select2' ); // Dequeue CMB select2 on GD pages
    		} else {
    			wp_dequeue_style( 'select2' ); // Dequeue GD select2 on non-GD pages
    		}
    	}
    }
    add_action( 'admin_enqueue_scripts', 'gd_snippet_190404_select2_conflict', 100 );

    Backend editing – no tags field (see attachment img2.png)
    Frontend editing – tag field appears fine (see attachment img3.png)

    In backend it uses WordPress default field to manage tags. Tags field is available in right sidebar(see attachment). Once you start typing keyword it will list matching tags if already exists.

    Please view attached file (img1.png) to see how an email is dispatched to our client when a listing is renewed. I have blanked out names/domain names but rest is verbatim. So what’s going on here??

    Please check now. We have some more email template tags available to add in email notifications. Please check it here all the notifications and available tags. GeoDirectory > Settings > Emails > User emails > “Pre expiry reminders to user” / “Post renew success email to user” / “Post upgrade success email to user” / “Post package downgraded email to user” / “Post expired email to user”

    Best Regards,
    Kiran

Viewing 5 posts - 31 through 35 (of 35 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount