Friday, August 2, 2013

Keller lawsuit vs. gamer EA Sports, NCAA clears major hurdle

Keller lawsuit vs. gamer EA Sports, NCAA clears major hurdle - CBSSports.com

'); handlers.failure(); } else{ removeLfError(); handlers.success(); } }; function updateAuthorLinks(){ $('.fyre-comment-username').each(function() { $(this).click(function() { window.location.href = $(this).attr('href'); }); }); $('.fyre-comment-author').each(function() { $(this).click(function() { window.location.href = $(this).attr('href'); }); }); } function updateOneLineComments(){ //console.log("Checking Comments"); $(".fyre-comment-wrapper").each(function() { if ($(this).find(".fyre-comment").css('display') != 'none'){ var commentText = $(this).find(".fyre-comment").html(); if (commentText != null){ var loopCtr = 0; // for IE8 while ( (commentText.indexOf("

") !== -1) && (loopCtr ",' '); commentText = commentText.replace("

",' '); loopCtr++; } //for other browsers while ( (commentText.indexOf("

") !== -1) && (loopCtr ",' '); commentText = commentText.replace("

",' '); loopCtr++; } //console.log(commentText); $(this).find(".fyre-comment").css('display','none'); $(this).find(".fyre-comment-head").append(commentText); } // end check for blank text } //console.log("Checking Height"); cntHeight = $(this).find(".fyre-comment-head").height(); if (cntHeight > 0){ //console.log("Setting Height"); cntHeight = -1 * ((cntHeight / 2) + 12); $(this).find(".fyre-flag-link").css('top',cntHeight); } }); } function change_profile_link(){ $(".fyre .fyre-box-list .fyre-edit-profile-link a").attr("href",'#'); $(".fyre .fyre-box-list .fyre-edit-profile-link a").attr("alt",''); $('.fyre .fyre-box-list .fyre-edit-profile-link a').click(function() { return false; }); $('.fyre .fyre-box-list .fyre-edit-profile-link').remove(); $(".fyre .fyre-comment-head .fyre-comment-username").attr("href",'#'); $(".fyre .fyre-comment-head .fyre-comment-username").attr("target",''); $(".fyre .fyre-comment-head .fyre-comment-username").attr("alt",''); $('.fyre .fyre-comment-head .fyre-comment-username').click(function() { return false; }); $('.fyre .fyre-comment-head').each(function() { var alltxt = $(this).html(); var nickname = $(this).find('.fyre-comment-username').html(); if (!(nickname == null)){ alltxt = "

" + nickname + '

' + alltxt.replace(/

]*)>[\s\S]*?/gi,''); $(this).html(alltxt); } }); $('.fyre .fyre-comment p').each(function() { var alltxt = $(this).html(); var mention = $(this).find('.fyre-mention').html(); if (!(mention == null)){ alltxt = alltxt.replace(/]*)>[\s\S]*?/gi,''); $(this).html(alltxt); } }); } function open_profile(profile_link_url){ window.open(profile_link_url); } $(document).ready( function () { // Log in the user if we got a token for them // Change the DOM after login since things get re-rendered //console.log("== LF Calling Load =="); var conv = fyre.conv.load({"network": "cbssports.fyre.co", 'strings': customStrings, authDelegate: authDelegate}, lf_config, function(widget) { //console.log("== LF in Load =="); widget.on('initialRenderComplete', function () { //console.log("== LF Render Complete =="); $('#lf_comments_label').show(); loggedin = readCookie('pid'); //CBSi.log(loggedin); if ((typeof loggedin == "string") && (loggedin.match(/^L:/))) { isLoggedIn = 1; if (typeof userObj.token != 'undefined'){ if (userObj.token) { hasProfile = 1; document.cookie = "lf_social_info=; expires=0; path=/"; doLivefyreAuth(userObj); } } changeDOM(); } var loggedSocially = new String(readCookie('lf_social_info')); if ((loggedSocially == "|FB|") && (isLoggedIn == 0)){ isLoggedIn = 1; hasProfile = 1; callFBApi(); } if ((loggedSocially.indexOf("|GP|") >= 0) && (isLoggedIn == 0)){ isLoggedIn = 1; hasProfile = 1; callGPApi(); } updateCommentCounts('.commentsBubble',$('.fyre-stream-stats .fyre-comment-count span').html()); updateAuthorLinks(); setTimeout(function(){},2000); change_profile_link(); setTimeout(function(){change_profile_link()},2000); }); widget.on('userLoggedIn', function () { //CBSi.log("== LF Logging In User =="); changeDOM(); removeLfError(); //console.log("Logged in changing comment format"); setTimeout(function(){change_profile_link()},2000); }); widget.on('userLoggedOut', function () { //CBSi.log("== LF Logging Out User =="); if (document.cookie.indexOf("|GP|") > 0){ disconnectGPUser(globalGPaccessToken); } document.cookie = "lf_social_info=; expires=0; path=/" document.cookie = "lf_login_info=; expires=0; path=/" setTimeout(function(){FB.XFBML.parse();},500); }); widget.on('commentCountUpdated', function (countData) { //CBSi.log("== LF Comment Added =="); updateCommentCounts('.commentsBubble',countData); change_profile_link(); setTimeout(function(){change_profile_link()},2000); }); widget.on('commentPosted', function (countData) { updateAuthorLinks(); change_profile_link(); setTimeout(function(){change_profile_link()},2000); }); }); });

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.