Archive

Posts Tagged ‘bug’

Bug in WP-twitter 1.4

April 22nd, 2009

UPDATE 2.5.2009: The author has updated the plugin to version 1.4.1 which fixes this problem.

If you use wp-twitter 1.4 then your rss feed does not work anymore because it is printing 2 returns which the rss feed of Firefox does not like. To fix this open wp-twitter.php and look for

?>

<?php

(line 155-157) just above wp_twitter_add()

Put them together to ?><?php or remove them.  save and your rss feed should work fine in firefox too.

Here is a link to the fixed version:
http://blog.tinywebgallery.com/download/wp-twitter14_fixed.zip

It seems this problem does happen on different version as well. Look for extra returns that should not be there.

- Michael

Author: TinyWebGallery Categories: PHP Tags: , ,

iframe bug in IE 8

April 15th, 2009

Hi,

During testing of TWG with IE 8 I have found out that there is a bug in IE 8 if you want to show a hidden iframe with the Javascript function setTimeOut.  The iframe is shown but without any text.

In TWG I showed the iframes 200 ms after clicking to load the page in background. I had to change the implementation to make this work with IE 8 in all modes as well.

For example:

window.setTimeout(’document.getElementById(”details”).style.visibility = “visible”‘,600);

does not work properly in IE8 while

document.getElementById(”details”).style.visibility = “visible”;

does.

I have integrated this change already in TWG 1.7.7 and hope this helps anyone who runs into this problem.

- Michael

Author: TinyWebGallery Categories: TinyWebGallery Tags: , ,