Forum Replies Created

Viewing 22 posts - 61 through 82 (of 82 total)
  • Author
    Posts
  • in reply to: Google maps API – billing #992355

    Hi Ismael, thank you for your answer.

    As I understood, the enfold theme use two kind of API, geocoding and JavaScript Map API.
    in this moment i set up the quota in this way:
    Map loads per day 900
    Map loads per 100 seconds 50
    Map loads per 100 seconds per user 10

    is this a safe way to keep the service free? (900 *31 days = 27900)

    and the geocoding
    Map loads per day 1200
    Map loads per 100 seconds 50
    Map loads per 100 seconds per user 10
    (1200 * 31days = 37200)

    Now the only problem is when i add new “google map” element into a page, it says “to many request together, please try later”
    But i did not reach 1200 (or 900) calls for today, now is giving me the error on the fist page i want to create with a map, so i really don’t understand why i’m out of the quota, can you advice two safe quota for the relative APIs to set up?

    in reply to: Google Maps even with API key not possible #991888

    following

    i answered my self alone.

    the problem was that i was adding an image element into the row, instead the correct procedure is to put a background image directly into the row and select “extend the image to cover all the width”

    sorry :)

    you need to request an API to google maps and copy and paste the API key into the theme’s options.

    Pay attention that google maps is charging users for using maps, you have like 900 loads a day for free then you pay, you can set the quota into the google cloud console where you’ll get the api key.

    in reply to: How to include google Jquery and JqueryUI #942523

    Thank you Ismael, now it’s working fine!

    Thank you for all your patience and help.

    Marco

    in reply to: How to include google Jquery and JqueryUI #941379

    hi ismael, thank you for answering.
    i changed the permalink into wpml to see if something would change.
    maybe i’m not able to describe well the problem, so i made three screenshots one for each language to let me explain better:

    italian

    english

    french

    as you can see, using the code block in wpml pages is working only for italian (main language of the website). also the color of the button is from the french function.

    I saw the “test script” page you made, in the front page it’s showing three modules, at a first look seems to work, but:
    1) the three codes are in the same ITALIAN WMPL page, if you translate the page and put one of the code it will not show
    2) language of the modules are mixed each other like half in italian half in french and non english
    3) the button colors should be 3 different colours, instead of the french function color ( i used 3 different colours to see if the call to the functions is really call that specific function)

    so this is driving me crazy, can’t understand if this stuff is not compatible at all with WPML or it’s just a question of coding.

    hope you can now understand my view.
    Thank,
    Marco

    in reply to: How to include google Jquery and JqueryUI #940442

    Thank you ismael for your patience, unfortunately i got the same problem:

    these are the tries i did now to understand what is not working:
    WPML: edited the way permalink are shown, from ?lang=en to “subfolder” mode /en/
    Wordpress: re saved permalink option
    functions.php: changed the color of the parameter themeActionColor: “#randomhex”; for the three functions, so we can see which one is loaded.
    Edited the “welcome” page in all of the three languages:
    Italian is calling: <div class=”quickSearch_it”></div>
    french is calling: <div class=”quickSearch_fr”></div>
    english is calling: <div class=”quickSearch_en”></div>

    but the result is shown ONLY into the italian language front-page. Also, the content is mixed, cause i see this:

    screenshot

    As you can see, button and labels are written in italian, “night” is written in french “nuit” and the color of the button is from the function of the french part #db0d5c

    what is happening :(

    in reply to: How to include google Jquery and JqueryUI #939312

    Hi guys, finally the website adopted the new booking engine we talked before.

    Just one question, this script is in just one language, as you can see in this row:
    language: ‘it’,

    The website is running WPML, so i tried to do this, unfortunately without success:

    added other two code block into the functions.php changing the language tag, and the name of the function:

    jQuery(‘.quickSearch_en’).HNetBOL({

    language: ‘en’,

    jQuery(‘.quickSearch_fr’).HNetBOL({

    language: ‘fr’,

    then call the function into the page with the code block:
    <div class=”quickSearch_en”></div>
    or
    <div class=”quickSearch_fr”></div>

    but this is not working. the scripts are called all together and the result is that language are mixed together into the front view.

    How do i separate functions and call one by one?

    Thank you

    in reply to: white page after upgrading to 4.2.6 [SOLVED] #922984

    ok thanks :)

    in reply to: white page after upgrading to 4.2.6 [SOLVED] #922956

    i opened a post [SOLVED] to help all the others, but i saw they continue to open new topics lol.

    Anyway, no problem.

    thank you

    in reply to: Masonry post element not working anymore #922223

    Overwriting the new enfold theme on the current theme i get this error just visiting the home page (the home page contain the masonry -> source category post item)

    Fatal error: Cannot redeclare av_countdown_events_fallback() (previously declared in D:\xampp\htdocs\infrweb\wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\events_countdown.php:10) in D:\xampp\htdocs\infrweb\wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\events_countdown\events_countdown.php on line 12

    in reply to: Masonry post element not working anymore #919697

    I just uploaded a old backup (november) of the enfold folder, version 4.2, everything is working.

    in reply to: Masonry post element not working anymore #919504

    it was working until i updated the theme to the last version :(
    something is changed, i will revert to a backup as i don’t know how to solve this.

    in reply to: Masonry post element not working anymore #918914

    Thank you for your post Webbmekanikern, i tried to add your code to functions.php into the child theme but when i save i got this error:

    Uncaught Error: Class ‘AviaBuilder’ not found in D:\xampp\htdocs\infrweb\wp-content\themes\enfold-child\functions.php:8
    Stack trace:
    #0 D:\xampp\htdocs\infrweb\wp-settings.php(424): include()
    #1 D:\xampp\htdocs\infrweb\wp-config.php(91): require_once(‘D:\\xampp\\htdocs…’)
    #2 D:\xampp\htdocs\infrweb\wp-load.php(37): require_once(‘D:\\xampp\\htdocs…’)
    #3 D:\xampp\htdocs\infrweb\wp-admin\admin.php(31): require_once(‘D:\\xampp\\htdocs…’)
    #4 D:\xampp\htdocs\infrweb\wp-admin\theme-editor.php(10): require_once(‘D:\\xampp\\htdocs…’)
    #5 {main}
    thrown

    in reply to: Masonry post element not working anymore #916690

    thank you for your answer.
    i disabled the word fence who is the only plugin who can prevent the execution of some file, but nothings change.
    Also, i checked into the wp-content/uploads/dynamic_avia
    for some .js file, but i have only three files called

    enfold.css
    enfold_child.css
    index.php

    so this looks pretty strange comparing to the post you suggest to take a look at.

    Marco

    in reply to: How to include google Jquery and JqueryUI #915793

    Hi,
    first of all, thank you. i would never understand how to make it works.

    I saw you edited function.php into child theme, this means that i can update the main theme without problem, can I?
    also, i commented the debug mode call, i can see the script working anyway.

    I don’t have the ability to understand exactly how you manage this, but it works, and i should not touch it.
    Thank you again.

    in reply to: How to include google Jquery and JqueryUI #914869
    This reply has been marked as private.
    in reply to: How to include google Jquery and JqueryUI #914194

    Hi Ismael and thanks for the advice.
    You mean “it should work” just pasting inside a code block that script?
    Without do anything with the jquery call i posted in the #post-911267?

    Or i have in any case load the google jquery?

    Thank you.
    Marco

    in reply to: How to include google Jquery and JqueryUI #911591

    this is the embed code that i need to let it work:

    <div class=”quickSearch”></div>

    <script src=’https://scripts.resasecure.net/serv_jScript/webLibraries/js/ext/HNEwidget.js’></script&gt;

    <script type=”text/javascript”>

    jQuery(document).ready(function () {

    jQuery(‘.quickSearch’).HNetBOL({
    hotel: (hotelcodehere),
    hasPromo: false,
    maxNights: 30,
    maxAdults: 4,
    maxRooms: 4,
    maxChildren: 3,
    maxChildAge: 12,
    language: ‘it’,
    forceVertical: false,
    hasBestPrice: true,
    availableDate: ”,
    themeActionColor: ”,
    themeActionTextColor: ”,
    hideBestPriceAfter: 30
    });

    });

    </script>

    in reply to: How to include google Jquery and JqueryUI #911586

    ok let’s see the question from above.
    I need to let work that script for showing a booking form, they asked me to include that code i pasted before, this is a must have requirement?
    or i can show any js code making it work with the local libraries already loaded in the website?

    in reply to: Wordfence found a suspected malware in an Enfold .php file #740620

    done, thank you.

    in reply to: how and where to change this icon? #710290

    I should copy this:

    add_filter(‘avf_default_icons’,’avia_replace_standard_icon’, 10, 1);

    function avia_replace_standard_icon($icons)
    {
    $icons[‘standard’] = array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue915’);
    return $icons;
    }

    into function.php in the child folder? (i’m using a child theme)

Viewing 22 posts - 61 through 82 (of 82 total)