2011-06-17, 04:44
DejaVu Wrote:Just checking both SB and MFP's ComingEpisodes Widget source, both have this -
Code:<title>Sick Beard - alpha master - Coming Episodes</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="/images/favicon.ico" />
<link rel="apple-touch-icon" href="/images/sickbeard_touch_icon.png" />
<link rel="stylesheet" type="text/css" href="/css/default.css" />
<link rel="stylesheet" type="text/css" href="/css/browser.css" />
<link rel="stylesheet" type="text/css" href="/css/comingEpisodes.css" />
<link rel="stylesheet" type="text/css" href="/css/config.css" />
<link rel="stylesheet" type="text/css" href="/css/jquery.pnotify.default.css" />
<link rel="stylesheet" type="text/css" href="/css/jquery.autocomplete.css" />
<link rel="stylesheet" type="text/css" href="/css/smooth-grinder/jquery-ui-1.8.13.custom.css" />
<link rel="stylesheet" type="text/css" href="/css/superfish.css" />
<link rel="stylesheet" type="text/css" href="/css/tablesorter.css"/>
<link rel="stylesheet" type="text/css" media="only screen and (max-device-width: 480px)" href="/css/iphone.css" />
Hence why MFP is erroring out a lot on mine and I think the cause of the long delays. I know it's just a skinned page, but is there a way these can be stripped out using str_replace, much the same way that this does (from the wComingEpisodes.php file near the bottom).
Code:$body = str_replace("src=\"/showPoster/", "src=\"".$reldir."sickbeardposter.php", $body);
Even if it replaces the stylesheets with blank lines or a 'null.css' file we can point it too?
Pretty sure that's possible, will look at it later on today
SleepyP Wrote:I would LOVE to get MFP loading faster! Most widgets begin to appear but the browser shows the "loading" animation for a really long time.
Are you using Firefox?! That loading floating thing is a bug from the coming episodes widget and the highslide plugin. It only shows up on firefox.