Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter arthurmello1

    (@arthurmello1)

    Hello guys!

    I’ll try this one later and reply here for you. Thanks for the help!

    Gratefully,
    Arthur

    PS: Ron, your both themes are the best!

    Thread Starter arthurmello1

    (@arthurmello1)

    It worked!

    Thank you so much!

    Thread Starter arthurmello1

    (@arthurmello1)

    Problem solved!

    The cause was a plugin that I was not even using!

    Thank you!

    Thread Starter arthurmello1

    (@arthurmello1)

    Problem solved!

    The cause was a plugin that I was not even using!

    Thank you!

    Thread Starter arthurmello1

    (@arthurmello1)

    Ok, thanks for the suggestions!

    I’ll try this steps and then I’ll post here the results!

    Thank you again!

    Thread Starter arthurmello1

    (@arthurmello1)

    Ah! Here’s the code’s part of the plugin responsible for the upload/removing files from the server:

    /* File uploading functions */

    function wpcf7_init_uploads() {
    $dir = wpcf7_upload_tmp_dir();
    wp_mkdir_p( trailingslashit( $dir ) );
    @chmod( $dir, 0733 );

    $htaccess_file = trailingslashit( $dir ) . ‘.htaccess’;
    if ( file_exists( $htaccess_file ) )
    return;

    if ( $handle = @fopen( $htaccess_file, ‘w’ ) ) {
    fwrite( $handle, “Deny from all\n” );
    fclose( $handle );
    }
    }

    function wpcf7_upload_tmp_dir() {
    if ( defined( ‘WPCF7_UPLOADS_TMP_DIR’ ) )
    return WPCF7_UPLOADS_TMP_DIR;
    else
    return wpcf7_upload_dir( ‘dir’ ) . ‘/wpcf7_uploads’;
    }

    function wpcf7_cleanup_upload_files() {
    $dir = trailingslashit( wpcf7_upload_tmp_dir() );

    if ( ! is_dir( $dir ) )
    return false;
    if ( ! is_readable( $dir ) )
    return false;
    if ( ! wp_is_writable( $dir ) )
    return false;

    if ( $handle = @opendir( $dir ) ) {
    while ( false !== ( $file = readdir( $handle ) ) ) {
    if ( $file == “.” || $file == “..” || $file == “.htaccess” )
    continue;

    $stat = stat( $dir . $file );
    if ( $stat[‘mtime’] + 60 < time() ) // 60 secs
    @chmod( $dir . $file, 0755 );
    @unlink( $dir . $file );
    }
    closedir( $handle );
    }
    }

    if ( ! is_admin() && ‘GET’ == $_SERVER[‘REQUEST_METHOD’] )
    wpcf7_cleanup_upload_files();

    Thread Starter arthurmello1

    (@arthurmello1)

    Hi!

    I’ve returned to the default theme and it worked like a charm, without necessity of deactivating other plugins!

    My issue now is that i’m using the Frontier theme (https://www.ads-software.com/themes/frontier), because it’s the better that i’ve found to my website’s intention, and I can’t use the default or any other theme…

    If you know some compatibility issue from themes with this function, I hope you can keep helping me and the solution applies for my case.

    Thanks!

    Thread Starter arthurmello1

    (@arthurmello1)

    Ok, it worked fine!

    Thank you again! ??

    Thread Starter arthurmello1

    (@arthurmello1)

    Well, I just changed the font in style.css, nothing more.

    After that, I continued updating posts and pages without any problem, I wasted no content, but it’s always good to know what you advised!

    Anyway, in my case I think it was just the browser cache.

    I am grateful for your attention!

    Thread Starter arthurmello1

    (@arthurmello1)

    Hello Ron,

    All I posted earlier ended up working.

    I do not know exactly why, but there was some delay, and without even clearing the cache, after a while my website started to show the new font.

    Thanks anyway!

    Thread Starter arthurmello1

    (@arthurmello1)

    First, thanks for reply!

    Well, I made a test with page-sitemap.php, just removed the side columns, inserted my html code between the “get_header” and “get_footer” and ran, the same thing happened: still doesn’t show the menu in the preview.

    Without the html code it works:

    <?php // Template Name: Suporte2 ?>
    
    <?php get_header(); ?>
    
    "Without code here"
    
    <?php get_footer(); ?>
    
    With the html code it doesn't works:
    
    <?php // Template Name: Suporte2 ?>
    
    <?php get_header(); ?>
    
    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta http-equiv="content-type" charset="<?php bloginfo( 'charset' ); ?>" />
    <script type='text/javascript' src='https://code.jquery.com/jquery-1.4.2.js'></script>
    <link rel="stylesheet" type="text/css" href="/css/normalize.css"/>
    <link rel="stylesheet" type="text/css" href="/css/result-light.css"/>
    <style type='text/css'>
    </style>
    <!--Fun??o para alternancia dinamica dos itens da "árvore de Decis?es"-->
    <script type="text/javascript" src="jquery-1.3.2.min.js"></script>
    <script>
    $(document).ready(function() {
    $('ul').hide();
    
    $('h3').css('cursor','pointer');
    
    $('h3').click(function(){
     $('.show').slideToggle('fast');
    });
    
    $('ul li a').click(function(){
     $(this).next('ul').slideToggle('fast');
    });
    
    });
    </script>
    <title><?php wp_title( '|', true, 'right' ); ?></title>
    <?php wp_head(); ?>
    </head>
    <body <?php body_class(); ?>>
    
      <!--"árvore de Decis?es: cada tag
    <li> contém um item e cada alternancia de um item para outro é "chamada" por uma tag
    <ul>. OBS: tags
    <li> com tags <a href> dentro s?o links para trazer uma
    <ul>. Tags
    <li> sem links apenas escrevem algo para aparecer na tela-->
    	<div id="post-<?php the_ID(); ?>">
    		<h3 class="parent">Qual é a sua dúvida ou item observado? - Clique aqui!</h3>
    <ul class="show">
      </li>
    <li><a href="#"><strong>Chave do Windows 8 indisponível no sistema Assist</strong></a>
    <ul>
    <li><strong>Qual mensagem aparece ao tentar gerar a chave?</strong></li>
    <li><a href="#"><strong>"Placa m?e n?o recebida para este chamado"</strong></a>
    <ul>
    <li>Posicionar o recebimento da Placa M?e nova no Assist, conforme página 4 do documento "Manual de Ativa??o do Windows 8 – ATP". <a><strong>Veja!</strong></a></li>
    <li><strong>A sugest?o ajudou a resolver o problema?</strong></li>
    <li><a href="#"><strong>Sim</strong></a>
    <ul>
    <li>Ok, permanecemos à disposi??o!</li>
    </ul>
    </li>
    <li><a href="#"><strong>N?o</strong></a>
    <ul>
    <li>Neste caso, por gentileza entre em contato através do nosso <a><strong>Formulário</strong></a></li>
    </ul>
    </li>
    </ul>
    </li>
    <li><a href="#"><strong>"Licen?a para este número de série n?o encontrada"</strong></a>
    <ul>
    <li>Através do código do equipamento, verificar na página Manuais de Produtos, qual é o sistema operacional original de fábrica do modelo em quest?o. <a><strong>Veja!</strong></a></li>
    <li><strong>A sugest?o ajudou a resolver o problema?</strong></li>
    <li><a href="#"><strong>Sim</strong></a>
    <ul>
    <li>Ok, permanecemos à disposi??o!</li>
    </ul>
    </li>
    <li><a href="#"><strong>N?o</strong></a>
    <ul>
    <li>Neste caso, por gentileza entre em contato através do nosso <a><strong>Formulário</strong></a></li>
    </ul>
    </li>
    </ul>
    </li>
    <li><a href="#"><strong>"Chamado sem troca de placa m?e"</strong></a>
    <ul>
    <li>Verificar se houve troca de Placa M?e em chamado(s) anterior(es), onde possivelmente n?o houve a aplica??o da chave baixada na época. Se houve apenas a troca de HDD, consulte o documento "Recovery Eletr?nico e problemas de ativa??o do Windows 8", pois n?o há necessidade de outra chave neste caso. <a><strong>Veja!</strong></a></li>
    </ul>
    </li>
    </ul>
    </li>
    </ul>
    </a></li>
    <li><strong>A sugest?o ajudou a resolver o problema?</strong></li>
    <li><a href="#"><strong>Sim</strong></a>
    <ul>
    <li>Ok, permanecemos à disposi??o!</li>
    </ul>
    </li>
    <li><a href="#"><strong>N?o</strong></a>
    <ul>
    <li>Neste caso, por gentileza entre em contato através do nosso <a><strong>Formulário</strong></a></li>
    </ul>
    </li>
    </ul>
    </li>
    <li><a href="#"><strong>Sem mensagem - apenas o quadro vermelho sem nada escrito</strong></a>
    <ul>
    <li>Neste caso, por gentileza entre em contato através do nosso <a><strong>Formulário</strong></a></li>
    </ul>
    </li>
    <li><a href="#"><strong>Pe?a n?o cadastrada no Assist</strong></a>
    <ul>
    <li>Are you using Linux?</li>
    <li><a href="#"><strong>YES</strong></a>
    <ul>
    <li>Do You Like it?</li>
    <li><a href="#"><strong>YES</strong></a>
    <ul>
    <li>Great!</li>
    </ul>
    </li>
    <li><a href="#"><strong>NO</strong></a>
    <ul>
    <li>Too Bad...</li>
    </ul>
    </li>
    </ul>
    </li>
    <li><a href="#"><strong>NO</strong></a>
    <ul>
    <li>Have You Heard of Linux?</li>
    <li><a href="#"><strong>YES</strong></a>
    <ul>
    <li>Great!</li>
    </ul>
    </li>
    <li><a href="#"><strong>NO</strong></a>
    <ul>
    <li>Check it out online!</li>
    </ul>
    </li>
    </ul>
    </li>
    </ul>
    </li>
    	</div>
    
    	<h3><a href="https://localhost/wordpress/">Voltar</a></h3>
    
    </body>
    </html>
    
    <?php get_footer(); ?>

    I still hope that you can help me ??

    Thanks again!

Viewing 11 replies - 1 through 11 (of 11 total)