Kiran

Forum Replies Created

Viewing 15 posts - 3,646 through 3,660 (of 6,022 total)
  • Author
    Posts
  • in reply to: Event schema #448623

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Default Category with SELECT option #448598

    Kiran
    Moderator
    Post count: 7069

    Hello,

    Use following JavaScript snippet.

    
    
    jQuery(function($){
    	if ( $('.geodir_form_row select#gd_placecategory').length) {
    		$('.geodir_form_row select#gd_placecategory option[value=""]').remove();
            $('.geodir_form_row select#gd_placecategory').val(45).trigger("chosen:updated");
    	}
    });

    Kiran

    in reply to: Show in what location: Above tabs but below image slider #448597

    Kiran
    Moderator
    Post count: 7069

    Hello Scott,

    Use following code snippet to add custom field location as you requested.

    
    
    // Add a new output location to the list of places a custom field can be output.
    function _gd_snippet_custom_field_locations( $show_in_locations, $field_info, $field_type ) {
    	$show_in_locations[ '[above_image_slider]' ] = __( "Above Image Slider", 'geodirectory' ); // Above image slider
    	$show_in_locations[ '[below_image_slider]' ] = __( "Below Image Slider", 'geodirectory' ); // Below image slider
    
    	return $show_in_locations;
    }
    add_filter( 'geodir_show_in_locations', '_gd_snippet_custom_field_locations', 10, 3 );
    
    // Outputs fields above detail page image slider.
    function _gd_snippet_location_above_image_slider() {
    	echo geodir_show_listing_info( 'above_image_slider' );
    }
    add_action( 'geodir_details_main_content', '_gd_snippet_location_above_image_slider', 29 );
    
    // Outputs fields below detail page image slider.
    function _gd_snippet_location_below_image_slider() {
    	echo geodir_show_listing_info( 'below_image_slider' );
    }
    add_action( 'geodir_details_main_content', '_gd_snippet_location_below_image_slider', 31 );

    Add field to positions “Above Image Slider” & “Below Image Slider” from field settings.

    Kiran

    in reply to: Event schema #448596

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Paypal cancel subscription entry goes to draft #448595

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Cannot add content in HTML Custom Field #448594

    Kiran
    Moderator
    Post count: 7069

    Hi Sam,

    After doing some debugging i found following error in error log:

    WordPress database error Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row format, BLOB prefix of 768 bytes is stored inline.

    This happens when submitting & inserting large size of data.

    Contact your server admin about this error. Here solution that may help you: https://stackoverflow.com/questions/22637733/mysql-error-code-1118-row-size-too-large-8126-changing-some-columns-to-te/#answer-25373052

    Let us know.

    Thanks,
    Kiran

    in reply to: Missing Fields and Options when SELECTING Packages #448476

    Kiran
    Moderator
    Post count: 7069

    Hello Waheed,

    It seems PHP session support not enabled on your site.

    For temporary fix PHP session add following lines in wp-config.php file.

    
    
    /* PHP SESSION TEMPORARY FIX */
    if ( !defined( 'GEODIR_USE_PHP_SESSIONS' ) ) {
       define( 'GEODIR_USE_PHP_SESSIONS', false );
    }
    if ( !defined( 'WPINV_USE_PHP_SESSIONS' ) ) {
       define( 'WPINV_USE_PHP_SESSIONS', false );
    }
    /* PHP SESSION TEMPORARY FIX */

    Please provide us FTP credentials if this solution not working.

    Kiran

    in reply to: Event schema #448433

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Listings Disappear #448426

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Grid View on Mac only shows single column #448425

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Customisation #448349

    Kiran
    Moderator
    Post count: 7069

    Hello,

    I have added compatibility in your child theme functions.php.

    Please check and let us know.

    Kiran

    in reply to: Several problems: Google Map API, category pages, new city #448342

    Kiran
    Moderator
    Post count: 7069

    Hello,

    After doing some debugging found that your site using too older version o Location Manager v1.4.3.
    Please update it to recent v1.5.63

    Kiran

    in reply to: Several problems: Google Map API, category pages, new city #448324

    Kiran
    Moderator
    Post count: 7069

    Hello There,

    Please check at server error log, is there any error there related to GeoDirectory plugin?
    Or provide us FTP credentials, so we can take a look.

    Kiran

    in reply to: Over 200 404s? #448310

    Kiran
    Moderator
    Post count: 7069

    Hello Doug,

    If directory is multi country then country slug should be in urls to identify regions/cities belongs to which country.

    If you want the country slug in listing detail page then you can enable it from GeoDirectory > Permalinks > Add location in urls > Tick country/region/city option. > Save Changes

    Let us know.

    Kiran

    in reply to: Paypal cancel subscription entry goes to draft #448308

    Kiran
    Moderator
    Post count: 7069

    Hello Holger,

    I have applied patch on your site.

    Please check and let us know.

    Thanks,
    Kiran

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