Kiran

Forum Replies Created

Viewing 15 posts - 3,901 through 3,915 (of 6,022 total)
  • Author
    Posts
  • in reply to: Listing upload problems #437002

    Kiran
    Moderator
    Post count: 7069

    Hello,

    In file gd_GTG_beer_wine_spirit.csv some values for post_type column are empty.

    I tried to upload gd_GTG_beer_wine_spirit.csv in my local site and it finished import without any problem.

    I enabled debugging and tried to upload gd_GTG_beer_wine_spirit.csv but as error_log file is placed outside of public_html directory so can’t check debug log.
    There will be errors in error.log file about listing import. Check from your side or allow access to server root directory.

    Thanks,
    Kiran

    in reply to: After update: Map issues #436986

    Kiran
    Moderator
    Post count: 7069

    Hello,

    There is a Google Map conflict and i have fixed it by adding PHP snippet under Snippets > Fix Google Map Conflict.

    Please check and let us know.

    Thanks,
    Kiran

    in reply to: Jupiter Theme and Places Listing Format #436934

    Kiran
    Moderator
    Post count: 7069

    I have added script under GeoDirectory > Design > Scripts > Custom style css code and now it looks fine.

    Please check and let us know.

    Kiran


    Kiran
    Moderator
    Post count: 7069

    Hello,

    This is PHP snippet and it should be used in child theme functions.php file or via any third party PHP snippet plugin.
    See for more details om how to use snippet. https://wpgeodirectory.com/docs/useful-plugins/#snippets

    Let us know.

    Kiran


    Kiran
    Moderator
    Post count: 7069

    Hello Jason,

    Please add following code snippet to fix Google Map conflicts. Add this snippet via child theme functions.php or via any snippet plugin.

    
    
    function _gd_custom_enfold_fix_google_map_conflict() {
    	if ( wp_script_is( 'avia-google-maps-api', 'enqueued' ) && wp_script_is( 'google-maps-api', 'enqueued' ) ) {
            wp_dequeue_script( 'avia-google-maps-api' );
        }
    }
    add_action( 'admin_enqueue_scripts', '_gd_custom_enfold_fix_google_map_conflict', 600 );

    Let us know if you have any query.

    Thanks,
    Kiran

    in reply to: GD Error during the plugin activation #436919

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Feedback on custom functions #436915

    Kiran
    Moderator
    Post count: 7069

    Hello,

    1. The GD Franchise tool is good but I would like to improve it. Rather than have the user select items to lock. Is it possible, when the user goes into “Franchise mode”, to just automatically lock a given set of fields: address, email, phone, website?

    No it is not possible to add franchise without adding main listing with locked or unlocked fields. Owners of the main listing are allowed to add franchises to their main listings. Therefore only owner of the main listing is allowed to decide which fields to locked and which not. Every user wants own fields to be locked for their main listings, that’s why we can’t make lock fields by default for all users.

    2. Im a fan of “duplicate post” plugins. Is it possible to have a function like that when it comes to listings? In the My Account area, where you have the listings, there are buttons for edit, delete and I would love it if you could clone or duplicate.

    Currently we are working GeoDirectory v2 and making more simple and user friendly. We take your suggestion and will implement it in future major release Franchise Manager v2 if there is an easy way of integration.

    Thanks,
    Kiran

    in reply to: Reviews #436907

    Kiran
    Moderator
    Post count: 7069

    Hello,

    You can disable comments for specific users by using hooks.
    You can use hook “comments_open” to disable comments for owner. You have to write logic so it only executed on detail page & for owners only.
    See https://developer.wordpress.org/reference/hooks/comments_open/

    Kiran


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

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Jupiter Theme and Places Listing Format #436899

    Kiran
    Moderator
    Post count: 7069

    Hi Dale,

    Please provide us FTP credentials, so we can check/apply patch on your site.

    Thanks,
    Kiran

    in reply to: Anonymous reviews #436890

    Kiran
    Moderator
    Post count: 7069

    Hello Alex,

    On client side, you can use to filter comment author name/link on review. https://developer.wordpress.org/reference/hooks/get_comment_author_link/

    On server side you can blank user details only via database.

    Kiran

    in reply to: Missing Map on Admin and Home Page #436885

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Missing Map on Admin and Home Page #436884

    Kiran
    Moderator
    Post count: 7069

    Hi Ricardo,

    I have looked into your backend settings and there was incorrect format in latitude values stored for locations and for places, there are some extra “,17 added to latitudes (see attachment in next reply).

    I have fixed this for all places and locations and now map is working fine.

    Please check and let us know.

    Thanks,
    Kiran

    in reply to: Hide tab to all but page owner #436883

    Kiran
    Moderator
    Post count: 7069

    Hi Oliver,

    Listings capability rules are extended to standard “post”, so you can apply same rule with the listings.

    You can use following snippet to show/hide tab in detail page.

    
    
    function _gd_custom_detail_tab_hide_field( $display, $field ) {
    	global $post;
    
    	if ( ! empty( $post ) && ( geodir_is_page( 'detail' ) || geodir_is_page( 'preview' ) ) ) {
    		// do stuff here
    	}
    	
    	return $display;
    }
    add_filter( 'geodir_detail_page_tab_is_display', '_gd_custom_detail_tab_hide_field', 100, 2 );

    Write your code logic at “//do your stuff” to match your requirements.

    Thanks,
    Kiran

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