Viewing 7 replies - 1 through 7 (of 7 total)
  • same here, one time it worked but now it points USA only, please help

    Plugin Author Narinder Singh

    (@narinderbisht)

    Hi @dooperweb @nyainanarindra ,
    The plugin is using the IP tracking script for auto country and dial code selection. Kindly check your browser console tab. if there any issue regarding fail the IP tracking call. So select dropdown will show the US and default selected value.
    Further you can share a screenshot with me or website link. I will try to check the issue.

    If the plugin is working fine and you like the functionality, kindly share your review with 5 star rating.

    Thank you.

    I have the same issue, check my site https://satasmetravels.com/contact-us/
    Here are my settings,
    country settings https://prntscr.com/oeqc4b
    phone number settings https://prntscr.com/oeqcys

    Plugin Author Narinder Singh

    (@narinderbisht)

    Hi @sahanpasindu

    Please check your server is working for IP tracking script. The plugin is using this script URL.
    https://ipinfo.io/

    If the IP script returns valid country code. The plugin JS script will visible like this.
    https://prnt.sc/oerf4f

    I hope it will help you. Kindly contact your website developer.

    Regards
    Narinder.

    Please, can I know how I can check server is working for IP tracking script? What should I do for it?

    problem still persist, now it is showing up my country only. even i did not choose default country. It shows my actual server country. It supposed to show up visitor flag but not. Please check it, otherwise I wont use it.

    if you share your support email, i can send you the website link

    • This reply was modified 5 years, 4 months ago by dooperweb.

    same problem default country jp? what is jp?

    initial country auto and still it shows us on both?

    what is here the issue?

    thanks for helping

    (function($) {
    $(function() {

    $(“.wpcf7-countrytext”).countrySelect({
    //defaultCountry: “jp”,
    //onlyCountries: [‘us’, ‘gb’, ‘ch’, ‘ca’, ‘do’],
    //preferredCountries: [‘ca’, ‘gb’, ‘us’]
    });

    $(“.wpcf7-phonetext”).intlTelInput({
    // allowDropdown: false,
    // autoHideDialCode: false,
    autoPlaceholder: “off”,
    // dropdownContainer: “body”,
    // excludeCountries: [“us”],
    // formatOnDisplay: false,
    // geoIpLookup: function(callback) {
    // $.get(“https://ipinfo.io”, function() {}, “jsonp”).always(function(resp) {
    // var countryCode = (resp && resp.country) ? resp.country : “”;
    // callback(countryCode);
    // });
    // },
    hiddenInput: “full_number”,
    // initialCountry: “auto”,
    // localizedCountries: { ‘de’: ‘Deutschland’ },
    nationalMode: false,
    // onlyCountries: [‘us’, ‘gb’, ‘ch’, ‘ca’, ‘do’],
    // placeholderNumberType: “MOBILE”,
    // preferredCountries: [‘cn’, ‘jp’],
    //separateDialCode: true,
    //utilsScript: “nb_intl/js/utils.js”

    });

    });
    })(jQuery);

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Auto select Country’ is closed to new replies.