Vikas

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 1,123 total)
  • Author
    Posts
  • in reply to: Split: Browser Unable to Find Your Location #11023

    Vikas
    Full Member
    Post count: 1128

    Hi,

    I found that , theme google map script was conflicting with plugin google map script so i wrote a code in ur child theme’s functions.php to dequeue your theme goolge map scripts only on Geodirectory related pages.
    Here is the code which i used to do this.

    
    
    
    function geodir_dequeue_script() 
    {
    	$is_geodir_page = geodir_is_geodir_page();
    	if($is_geodir_page)
    	{
    		wp_dequeue_script( 'gmap' );
    		wp_dequeue_script( 'jquery.ui.map');
    	}
    }
    
    add_action( 'wp_print_scripts', 'geodir_dequeue_script', 100 );
    
    

    Please let me know if it is working fine now.

    Thanks

    in reply to: Conflict with MailPoet Plugin #11000

    Vikas
    Full Member
    Post count: 1128

    Hi,

    I have fixed this issue, Plz find attached zip , extract it and upload
    admin_hooks_actions.php in
    wp-contentpluginsgeodirectorygeodirectory-admin using ftp.

    Let me know ur comments.

    Thanks

    in reply to: Split: Browser Unable to Find Your Location #10981

    Vikas
    Full Member
    Post count: 1128

    I am here,
    Looking into the issue.

    Thanks for ur patience.

    in reply to: Custom Google Maps #10779

    Vikas
    Full Member
    Post count: 1128

    Hi,
    Here is better solution and will be included in next release, so u will not loose map custom style after upgrade.

    Plz download attached zip, extract it and upload map.js in
    your wordpress >

    wp-contentpluginsgeodirectorygeodirectory-functionsmap-functionsjs

    after uploading js in correct folder, plz put this snippet in ur theme’s functions.php file

    
    
    
    add_action('wp_footer'  , 'geodir_set_custom_map_style');
    function geodir_set_custom_map_style()
    {
    ?>
    <script>
    	
    	var geodir_custom_map_style =[
    					// Google Map Styles Starts Here
    					{
    					"stylers": [
    					  { "invert_lightness": true },
    					  { "saturation": -100 }
    					]
    					},
    					// Google Map Styles End Here
    					{
    						featureType: "poi.business",
    						elementType: "labels",
    						stylers: [
    							{ visibility: "off" },
    						]
    					}
    				]
    </script>
    <?php
    }
    

    NOTE: Take backup of ur map.js file first if u have made any style related changes there.

    Plz let me know how it goes.

    Thanks
    -Vikas

    in reply to: Creating a new custom post type, bug #10773

    Vikas
    Full Member
    Post count: 1128

    Your welcome.

    in reply to: GeoDirectory Login Page #10772

    Vikas
    Full Member
    Post count: 1128

    This is a better solution,
    Plz put this snippet in your theme’s functions.php files.

    
    
    
    add_action('init' , 'geodir_redirect_to_default_login') ;
    function geodir_redirect_to_default_login()
    {
    	if(isset( $_REQUEST['geodir_signup']))
    	{
    		wp_redirect(home_url().'/wp-login.php');
    		exit();
    	}
    }
    
    in reply to: Creating a new custom post type, bug #10767

    Vikas
    Full Member
    Post count: 1128

    Hi,
    I came to know that when u copy that query and paste, it does not retain the formatting correctly due to forum editor, so i have put that query in a txt file. Plz find it.

    Thanks

    in reply to: Creating a new custom post type, bug #10764

    Vikas
    Full Member
    Post count: 1128

    Hi,
    Please let me know if u have added those CPT again?
    I have fixed this issue permanently. I just need ur assistance to check if its working fine. I have checked it my end, but it would be good if i get confirmation from u that things are working fine even if u enter same french values again.

    Steps to take backup of CPT settings:

    To take backup of that option, go to phpmyadmin of the WP database , run this sql to get the particular option row in database.

    SELECT * FROM wp_options WHERE option_name LIKE '%geodir_post_types%'

    After this u will see specific record, just edit it and copy the big textarea text somewhere else, this way u have taken backup of all current CPTs settings. Have a look on attached image for more clarification about backup.

    Now just extract attached zip, upload these 2 php files in Custom post type ad-on folder using FTP.

    Thanks
    Vikas

    in reply to: Paypal Error #10753

    Vikas
    Full Member
    Post count: 1128

    Hi,
    With the Geodirectory u can offer free trial in Days only and that can be 90 as maximum. To check it plz change number of trial days to 90 or less.

    Please advise ?

    in reply to: Paypal Error #10752

    Vikas
    Full Member
    Post count: 1128
    This reply has been marked as private.
    in reply to: Creating a new custom post type, bug #10654

    Vikas
    Full Member
    Post count: 1128

    Thanks so much, i will find a permanent solution for this problem tomorrow

    in reply to: Creating a new custom post type, bug #10652

    Vikas
    Full Member
    Post count: 1128

    Listing will be restored automatically if u will create CPT with same slug.

    I am looking into a way to restore default CPT and a permanent solution for it, in mean time just recreate those CPT.

    Thanks

    in reply to: Creating a new custom post type, bug #10650

    Vikas
    Full Member
    Post count: 1128

    Unfortunately u have lost all CPT related info, if u have inserted special characters there.

    How many CPT were there aside of place and event?

    in reply to: Post Type name showing instead of slug #10648

    Vikas
    Full Member
    Post count: 1128

    Hi,
    Plz dont forget to extract that .zip and upload geodirectory_template_actions.php

    Thanks

    in reply to: Location Switcher Short Code #10643

    Vikas
    Full Member
    Post count: 1128

    Hi,

    Plz find attached zip, extract it and upload location-front.js in
    plugins/geodir_location_manager/js/

    let me know your comment later.

    Thanks

Viewing 15 posts - 16 through 30 (of 1,123 total)