Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • I have the same issue.

    daanz

    (@daanz)

    Hi qtwrk, thanks for the reply, any updates on this?

    daanz

    (@daanz)

    +1

    I just installed and tweaked LiteSpeed Cache and Quic on two websites last week, then two days ago they broke: header fonts not loaded, images gone, entire text blocks disappeared.

    I’m using Salient theme. I tried to disable minify and/or bundling of css and/or javascript, but no results. Had to disable LSC. Will make sure not to enable auto updates in the future.

    I’m seeing a lot of comments here about broken sites – do you have a roll back or update coming?

    – Daan

    Hi siriusly, I checked your website and it now shows 8 faces – how did you make that happen?

    @mineralman: what did the trick? I’m experiencing similar problems..

    Hey all, one of my 3.5.1 sites got hacked with this zend framework thing. I removed the malicious code and updated to 3.5.2, updated all plugins, changed passwords – the works.

    Things are almost back to normal, but some little things are missing – links, data. So how do I know if I caught all the malicious code? And how dit it get there in the first place?

    Could WP be a bit more informative about this hack? Was WP hacked, was is a certain plugin, where a lot of people attacked by brute force..? Had the 3.5.2 update anything to do with this hack?

    Welcome guys/girls. I think your last question would be a feature request to the plugin builders, Nikki.

    Cheers,

    Daan

    Yes. If you want to show the Facebook comment box on your posts, go to appearance > editor and select ‘content-single.php’. Add the following code at the bottom:

    <!-- Facebook -->
    <?php 
    
    if(is_single() && get_option('simple_fb_comments_posts') == 'on' && get_option('simple_fb_comments_views') == 'on' || (is_page() && get_option('simple_fb_comments_pages') == 'on' && get_option('simple_fb_comments_views') == 'on') || ((is_home() || is_front_page()) && get_option('simple_fb_comments_homepage') == 'on' && get_option('simple_fb_comments_views') == 'on'))
    
    {
    echo '<fb:comments-count href='.get_permalink( $post->ID ).'></fb:comments-count> comments';
    }
    
    if ((is_single() && get_option('simple_fb_comments_posts') == 'on') ||
    (is_page() && get_option('simple_fb_comments_pages') == 'on') ||
    ((is_home() || is_front_page()) && get_option('simple_fb_comments_homepage') == 'on'))
    {
    echo'<div>'.get_option('simple_fb_comments_countmsg'). "</div><div class=\"fb-comments\" data-href=\"".get_permalink()."\" data-num-posts=\"".get_option('simple_fb_comments_num')."\" data-width=\"".get_option('simple_fb_comments_width')."\"></div>";
    }
    
    ?>
    <!-- end Facebook -->

    Now go to Plugins > Editor, select “Simple Facebook Comments’ and delete or uncheck the following section:

    //COMMENT BOX
    function fbcommentbox($content) {
    
    if(is_single() && get_option('simple_fb_comments_posts') == 'on' && get_option('simple_fb_comments_views') == 'on' || (is_page() && get_option('simple_fb_comments_pages') == 'on' && get_option('simple_fb_comments_views') == 'on') || ((is_home() || is_front_page()) && get_option('simple_fb_comments_homepage') == 'on' && get_option('simple_fb_comments_views') == 'on'))
    
    {
    $content .= '<fb:comments-count href='.get_permalink( $post->ID ).'></fb:comments-count> comments';
    }
    
      if ((is_single() && get_option('simple_fb_comments_posts') == 'on') ||
         (is_page() && get_option('simple_fb_comments_pages') == 'on') ||
          ((is_home() || is_front_page()) && get_option('simple_fb_comments_homepage') == 'on')) {
    
    $content .=  '<div>'.get_option('simple_fb_comments_countmsg'). "</div><div class=\"fb-comments\" data-href=\"".get_permalink()."\" data-num-posts=\"".get_option('simple_fb_comments_num')."\" data-width=\"".get_option('simple_fb_comments_width')."\"></div>";
    
      }
      return $content;
    }
    add_filter ('the_content', 'fbcommentbox', 100);

    You can look at the result here: https://www.triggr.it/web-fonts/

    Thread Starter daanz

    (@daanz)

    Hi Glenn,

    Thanks for the reply. I tried to solve it with the ‘WP Hide Post’ plugin. That solves everything but the recent posts list. Creating pages is not really a solution. Maybe I’ll find a better plugin.

    I did encounter another issue: the category pages show full posts or (in my case) excerpts of posts. When a post with Google Experiment code loads, the script will redirect the visitor away from the category overview to the experiment page.. That should be solvable with some PHP like if($_SERVER[‘SERVER_NAME’] . $_SERVER[‘REQUEST_URI’]) == post_slug. What are your thoughts on this?

    Cheers,

    Daan

    Thread Starter daanz

    (@daanz)

    Yes; the widget looks ok now, after the 2.02 update. Thanks.

    There is one thing that happens sometimes though: the succes message is not shown, or is shown in the wrong form. I have the subscription widget, but also use the subscription fields in some of my posts. So two forms on one page seems to cause trouble, but not always.. Could WP Supercache have something to do with it..?

    Daan

    Thread Starter daanz

    (@daanz)

    Hi again,

    I think I’m solving this issue by removing the HTML I put in the description text..

    Daan

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