WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
[resolved] Google Voice Call Me Widget (9 posts)

  1. Bob Randklev
    Member
    Posted 3 years ago #

    I followed the great tutorials and setup the CDN hosting on three sites over the weekend but one problem beyond me is on each of the sites I have a Google Voice Widget placed in the sidebar. Text/HTML widget with this code

    '<object type="application/x-shockwave-flash" data="https://clients4.google.com/voice/embed/webCallButton" width="230" height="85"><param name="movie" value="https://clients4.google.com/voice/embed/webCallButton" /><param name="wmode" value="transparent" /><param name="FlashVars" value="id=7e69a3056d25be452447c41f9f57d7f3260b0bb7&style=0" /></object>'

    Should this be cached or part of Minify or ???

  2. The Google Voice Widget is a flash file which is called from Google's servers. It can't be minified and will work fine in your text widget.

  3. Bob Randklev
    Member
    Posted 3 years ago #

    Sorry that was the point of my post, it's not working after I setup the CDN. Works fine without CDN, happened on two sites with two different Google Voice accounts.

    There must be a setting or something I need to exclude?

  4. Bob Randklev
    Member
    Posted 3 years ago #

    Wait a moment, this may be ironic timing. I've checked a number of other sites not using CDN and they are also having Google Voice Widget problems?
    I'll post when I learn more

  5. Interesting issue. I just tested it and I am getting block response headers from Google:

    Cache-Control:private, max-age=0
    Content-Encoding:gzip
    Content-Length:7545
    Content-Type:text/html; charset=UTF-8
    Date:Tue, 21 Sep 2010 04:01:51 GMT
    Expires:-1
    Server:gws
    X-XSS-Protection:1; mode=block

    It's protecting from cross site scripting. I will dig a little deeper on this.

  6. Update:

    I added

    <?php define('DONOTCACHEPAGE', true); ?>

    to the top of sidebar.php and it works. You can see the example on my test bed

    Make sure you clear all your caches and log out after you update the sidebar.

  7. Bob Randklev
    Member
    Posted 3 years ago #

    Thanks for the help but this ended up being a cache issue with Chrome... which shocks me.

    This started right after I setup the CDN's so I thought that was the problem.
    After I posted here I started realizing it was happening on non-CDN sites.

    After c3mdigital posted and I still couldn't see the widget I cleared my cache and they widgets are back again.

    Thanks for round about help to solve my problem ;-)

  8. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    I'm glad you found the answer here.

  9. katehamlin
    Member
    Posted 3 years ago #

    Can someone dumb this down for me a bit? I've added the text widget & copy and pasted the text from my google voice call me widget into the text space & it shows up as a link, but not the call me widget I'm hoping for. Help?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic