<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Discussion on Yahoo FFB Game Log League Points Column | Userscripts.org</title>
    <link>http://userscripts.org/scripts/show/60342</link>
    <description>Recent comments on userscript: Yahoo FFB Game Log League Points Column</description>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>Need this tweak for script to work in 2011, replied by bszen27</title>
      <description>&lt;p&gt;My league takes away points for incompletions and I needed to edit the script in order to make it add the points correctly. I changed the current code to the following (around line 580) in order to fix it if anyone is interested.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;function calcQBPoints(table, settingValues) {
&lt;br /&gt;	var weekTotal;
&lt;br /&gt;	var grandTotal = 0;
&lt;br /&gt;	var cell;
&lt;br /&gt;	var stat;
&lt;br /&gt;	var completions;  //new code
&lt;br /&gt;		
&lt;br /&gt;	for(var j=2;j&amp;lt;19&gt;&lt;br /&gt;		weekTotal = 0;
&lt;br /&gt;		for(var i=5;i&amp;lt;25&gt;&lt;br /&gt;			cell = table.rows[j].cells[i];
&lt;br /&gt;			stat = parseFloat(cell.innerHTML);			
&lt;br /&gt;			completions = table.rows[j].cells[5].innerHTML;   //new code
&lt;br /&gt;			
&lt;br /&gt;			switch(i) {
&lt;br /&gt;				case 5: // Completions
&lt;br /&gt;					if(settingValues[2].length &gt; 0 &amp;amp;&amp;amp; stat &gt; 0)
&lt;br /&gt;						weekTotal = parseFloat(weekTotal) + (stat * parseFloat(settingValues[2]));
&lt;br /&gt;				break;
&lt;br /&gt;				case 6: // Passing Attempts
&lt;br /&gt;					if(settingValues[5].length &gt; 0 &amp;amp;&amp;amp; stat &gt; 0 &amp;amp;&amp;amp; completions &gt;0)	//new code									
&lt;br /&gt;						weekTotal = parseFloat(weekTotal) + ((stat-parseFloat(completions)) * (parseFloat(settingValues[5])));	//new code					
&lt;br /&gt;				break;&lt;/code&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 15 Sep 2011 13:29:34 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:88240:384657</guid>
      <author>bszen27</author>
      <link>http://userscripts.org/posts/384657</link>
    </item>
    <item>
      <title>Need this tweak for script to work in 2011, replied by bszen27</title>
      <description>&lt;p&gt;Yahoo added a couple of blank tables between the date choices and the actual gamelog tables. Therefore, somewhere around line 130-135 of the code, you will see this:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;table = tables[tableNumber+1];  &lt;/code&gt;&lt;/p&gt;

&lt;p&gt;You simply have to change the 1 to a 3. So:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;table = tables[tableNumber+3];  &lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Everything should work fine again after that. Enjoy!&lt;/p&gt;</description>
      <pubDate>Thu, 15 Sep 2011 12:21:14 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:88240:384645</guid>
      <author>bszen27</author>
      <link>http://userscripts.org/posts/384645</link>
    </item>
    <item>
      <title>Need to add to include?, replied by peteb</title>
      <description>&lt;p&gt;bbates, thanks for that pickup! chnge has been made, I added the include URL for the settings page as well&lt;/p&gt;</description>
      <pubDate>Mon, 18 Oct 2010 12:39:28 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:60964:291487</guid>
      <author>peteb</author>
      <link>http://userscripts.org/posts/291487</link>
    </item>
    <item>
      <title>Need to add to include?, replied by bbates</title>
      <description>&lt;p&gt;Hi, great script.  I found I had to add &lt;a href=&quot;http://football.fantasysports.yahoo.com/&quot;&gt;http://football.fantasysports.yahoo.com/&lt;/a&gt;* to the include in order to get this to work, because otherwise the script wasn't being called when I went to my league settings page.  I might have been doing something else wrong, but that seemed to work.&lt;/p&gt;

&lt;p&gt;Thanks again!&lt;/p&gt;</description>
      <pubDate>Thu, 30 Sep 2010 14:31:24 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:60964:287163</guid>
      <author>bbates</author>
      <link>http://userscripts.org/posts/287163</link>
    </item>
    <item>
      <title>Small edit for me, replied by peteb</title>
      <description>&lt;p&gt;thanks for the heads up HN, I'll make that change&lt;/p&gt;</description>
      <pubDate>Mon, 26 Oct 2009 12:29:54 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:38043:183803</guid>
      <author>peteb</author>
      <link>http://userscripts.org/posts/183803</link>
    </item>
    <item>
      <title>Small edit for me, replied by HN</title>
      <description>&lt;p&gt;Forgot to mention...Thanks.  Very cool Script.&lt;/p&gt;</description>
      <pubDate>Fri, 23 Oct 2009 13:46:25 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:38043:182682</guid>
      <author>HN</author>
      <link>http://userscripts.org/posts/182682</link>
    </item>
    <item>
      <title>Small edit for me, replied by HN</title>
      <description>&lt;p&gt;For it to work for me, I had to edit and add a * at the end of the gamelog included page website.&lt;/p&gt;</description>
      <pubDate>Fri, 23 Oct 2009 13:45:50 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:38043:182681</guid>
      <author>HN</author>
      <link>http://userscripts.org/posts/182681</link>
    </item>
  </channel>
</rss>
