Forum Replies Created

Viewing 7 replies - 46 through 52 (of 52 total)
  • Thread Starter smerriman

    (@smerriman)

    If fact, no, there are even more bugs..
    is_page(get_option('page_for_posts')) will never return true because is_home() is true, so that needs to be removed from the line above too.

    Plus, in the latest version with default settings the static homepage will now show no title whatsoever since it chooses between the overridden SEO title, or the Page template title setup, both are which are blank by default – doesn’t consider the page title at all, or the blog name. And once the line above is fixed, the posts page won’t show the site name either with default settings, just the page title which is inconsistent with the rest of the site.

    Thread Starter smerriman

    (@smerriman)

    Yeah, there’s still a bug – on line 80 of frontend/class-frontend.php, change:

    return ( is_home() && 'page' != get_option('show_on_front') && is_page( get_option('page_for_posts') ) );

    to

    return ( is_home() && 'page' == get_option('show_on_front') && is_page( get_option('page_for_posts') ) );

    Thread Starter smerriman

    (@smerriman)

    Yes, I know – as mentioned above, that works, but it would be nice for the default installs to work together. At the least this needs to be mentioned somewhere prominently in the installation instructions.

    Thread Starter smerriman

    (@smerriman)

    OK, so after your posts I thought maybe there was an issue with the theme, but there isn’t.

    You can replicate the exact problem as follows:

    1) Install a brand new 2.8.5 version of WordPress (I know the plugin page says only supported 2.8.4, but I doubt that’s the problem).

    2) Add <?php do_action(‘fbc_display_login_button’) ?> to the comments template of the WordPress Default theme.

    3) Install WP-FacebookConnect plugin (using a new Facebook application with no settings changed from default), and w3-total-cache plugin (no settings changed).

    4) Visit a permalink, click Facebook Connect icon. Page reloads without being logged into Facebook.

    (Optionally:
    5) Empty the page cache and see you are now logged in via facebook
    6) Click the ‘logout from facebook’ link in the upper right, the page refreshes to still show the cached page where you are logged in.
    )

    http://www.cre8d-design.com/testfb/?p=1

    For now I guess we’ll have to go with disabling the cache when that cookie is set, but it would be nice to have this fixed for a default install at some point as WP-FacebookConnect is a very popular plugin.

    Thread Starter smerriman

    (@smerriman)

    I’ve investigated the problem further but I really can’t see how your plugin can deal with the Facebook Connect one. I turn on the page cache, and load a single post page. I click on the connect link, sign into Facebook, and it refreshes but shows me exactly the same page, without logging me into facebook. If I turn off the page cache and refresh, it now shows me logged in via Facebook.

    As mentioned the Facebook Connect plugin works by inserting different javascript via the wp_footer hook depending on whether you are logged in or not – when the cache is on and I try to log into Facebook, I compared the source and the code hasn’t changed one bit. After the cache is disabled the footer code is updated as expected. I’m worried that means if it does happen to cache my logged in status, anyone else will be able to access my Facebook account which is quite possible.

    I noticed in an earlier thread you said you couldn’t have certain bits uncached like in WP-Cache/WP-SuperCache – so I really can’t understand how you could have gotten this working when the footer MUST be dynamic for the plugin to work. Are you sure you had the page cache enabled on your blog?

    Same problem here. Very frustrating in plugin development. It’s been two weeks since this was posted, does anyone have any suggestions..

    Exactly the same here.. I upgraded a site from 2.5 to 2.6 including installing 0.7.1 of supercache, and a week later IE7 was still showing posts from the day it was upgraded. Require some urgent replies here..

Viewing 7 replies - 46 through 52 (of 52 total)