Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)
  • Thread Starter pirro70

    (@pirro70)

    Hi
    I tried version 1.3.5 but it doesn’t work.
    It seem there are some problems in writing in the temporany folder.
    hope I was helpful with this info.
    However, the previous version (1.2.4) works great
    ciao

    Thread Starter pirro70

    (@pirro70)

    ok thank you
    apart the problem above I’d like to inform you that I have just installed the last version but the new ajax feature do not work: pages’ site are not created and it gives me a blank folder.
    For now I will return to the previous version
    regards

    Thread Starter pirro70

    (@pirro70)

    Ciao Diego
    per risolvere il problema sitemap ho dovuto modificare la function isIgnoredURL nel file eucookielaw-header.php nella parte finale sostituendo il return false con:

    $filename = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
    			$ext = pathinfo($filename, PATHINFO_EXTENSION);
    			if($ext == 'xml' || $ext == 'txt') {return true;}
    			else
    			{return false;}

    ho aggiunto anche l’estensione txt perche su alcuni siti (non tutti) mi appariva il banner invalidandomi il file robots.txt.
    La cosa che non capisco è che sui siti senza cache quella funzione invece funziona 🙂 spero di esserti stato in qualche modo utile

    Thread Starter pirro70

    (@pirro70)

    Ciao Diego grazie per la rapida risposta
    allora, per i siti dove non ho w3totalcache il tuo suggerimento funziona mentre su gli altri non funziona ho provato questo yoast ma niente, ho provato a mettere googlebot nel “Rejected user agents” di w3total per non fare cachare la pagina ma niente.
    Ovviamente se disattivo W3 la sitemap torna funzionante.
    Continuerò a vedere se trovo una soluzione, se hai un idea di quale possa essere il problema…

    Grazie mille davvero

    Thread Starter pirro70

    (@pirro70)

    ciao Diego, purtroppo non funziona, comunque per ora utilizzerò il metodo che avevo trovato, poi indagherò più a fondo o oventualmente implementerò i social senza l’utilizzo di plugins.
    Grazie mille per il tempo dedicato
    ciao

    Thread Starter pirro70

    (@pirro70)

    Prova questa pagina o una qualsisi pagina con i social, cancellado tutti i cookie se ricarico la pagina vengono installati i cookie di google, infatti si vede apparire il pulsante google+.
    Usando l’hook di cui sopra invece non mi installa niente e non mi carica il pulsante google+
    ciao e scusa il disturbo

    Thread Starter pirro70

    (@pirro70)

    eccolo, ho tolto lo hook del quale ti avevo parlato:
    link

    Thread Starter pirro70

    (@pirro70)

    Si Diego, quando faccio le prove cancello sempre tutti i cookie prima

    Thread Starter pirro70

    (@pirro70)

    Ciao Diego
    é già impostato nel modo da te indicato ma non funziona.
    In realtà eucookielaw sembra intercettare lo script:

    <script type="text/javascript" data-cookielaw-index="4">
    			var EUCookieLawHTMLFragments = EUCookieLawHTMLFragments || [];
    			EUCookieLawHTMLFragments[4] = "<script type=\"text\/javascript\">\r\n  window.___gcfg = {lang: 'it'};\r\n\r\n  (function() {\r\n    var po = document.createElement('script'); po.type = 'text\/javascript'; po.async = true;\r\n    po.src = 'https:\/\/apis.google.com\/js\/plusone.js';\r\n    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);\r\n  })();\r\n<\/script>"</script>

    Non riesco a capire da dove riesce a passare!!!
    grazie

    Thread Starter pirro70

    (@pirro70)

    Ciao Diego grazie per la pronta risposta
    il problema dello slider è stato risolto con la solzione da te riportata.
    per quanto riguarda socalize è che questo carica le api di google tramite questo file javascript

    (function() {
    	var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
        po.src = 'https://apis.google.com/js/platform.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
    })();

    e forse è per questo che eucookielaw non riesce a “inteccettarlo “.
    Comunque per ora sono riuscito a risorverlo con un hook

    add_action('wp_footer','no_plusone');
    function no_plusone() {
    include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    if ( is_plugin_active('socialize/socialize.php')  && (!isset( $_COOKIE['__eucookielaw'] ) || $_COOKIE['__eucookielaw'] == 'rejected'))
    wp_deregister_script('plus-one-button');
    }

    .
    Qui ho potuto farlo perchè in questo sito non uso plugin di cache, ma in un altro sito dove uso cache, mi da dei problemi, quindi se se hai una soluzione migliore sarebbe gradita :).
    Grazie ancora per questo plugin e per la disponibilità

    hi
    I believe the issue is at line 485 (die(bawpvc_format( $count ));.
    I know that the wordpress ajax callback must terminate with die()for return a proper response as written in https://codex.wordpress.org/AJAX_in_Plugins.
    Indeed if I do so I have no counting twice.

    pirro70

    (@pirro70)

    Hi @codegrau
    you can use bulk Action for update all post
    You can go to post page and in “screen option” select the quantity of posts you want to view (max=999), then select all by the first checkbox near the title -> “edit” -> apply -> update.
    Hope I was clear

    Thread Starter pirro70

    (@pirro70)

    hi Louy Alakkad
    it doesn’t work but I found the problem.
    wordpress multisite use the “unfiltered_html” only for superadmin.
    For solving the issue I installed “Remove Kses” plugin and it work fine.
    You could implement this stuff in your plugin in order to avoid the installation of Remove Kses plugin.
    Another thing, you should enqueue jquery in

    if( is_singular() ) {
    		wp_enqueue_script(
    			'photoswipe-lib',
    			plugin_dir_url( __FILE__ ) . 'lib/photoswipe.min.js',
    			array('jquery'),
    			PHOTOSWIPE_VERSION
    		);

    because in some installation jquery load after photoswipe and it doesn’t work, so I have to load jquery from functions.php for ensure it load before photoswipe.

    Thanks for the plugin and excuse me for my english

    Thread Starter pirro70

    (@pirro70)

    thanks d4z great!!! I also thought it was a problem of execution time.
    you have only made a small mistake in block A, you have included the priority argument in the array.
    The right is:

    remove_action('__header', array(TC_header_main::$instance, 'tc_navbar_display'), 30 );
    add_action('__header', array(TC_header_main::$instance, 'tc_navbar_display'), 1 );

    thanks a lot
    sei un mito

    Thread Starter pirro70

    (@pirro70)

    Thanks for the answer, I realized that there is an error in the script above, remove / * * for the menu on android / from the script and try again

Viewing 15 replies - 1 through 15 (of 21 total)