PDA

View Full Version : ESPN Live scores module (CMPS 2.0 RC2)


Pages : [1] 2

glorify
09-20-2005, 09:36 PM
*Edit*

ESPN No longer supports

brady
09-23-2005, 10:58 AM
I like the mod and would like to have something like that on my site. Can it be modified so that it shows college football scores?

Our Sponsors
 

glorify
09-24-2005, 01:57 AM
I don't know what other ESPN feeds they have for this. :confused:

Smirnoff1824
09-24-2005, 02:41 AM
very nice! Would love to have NASCAR one for my site!

Our Sponsors
 

brady
09-26-2005, 03:14 PM
Can you point me to where you found the feeds for your module. I can't find any for college sports.

glorify
09-27-2005, 12:51 AM
I acutally did a search for 'ESPN Scorepost' to see if there were more feeds. Only saw 2 of them and no college sports at all. Sorry guys :(

rrokdoka
09-28-2005, 07:25 PM
How do you put this on lol <--- newbie

Richard
09-28-2005, 08:44 PM
I acutally did a search for 'ESPN Scorepost' to see if there were more feeds. Only saw 2 of them and no college sports at all. Sorry guys :(
You can also add NHL, but that's all I've seen so far.

I take that back. by adding NCF it adds a new line to the flash that says:

College: FB

but it doesn't actually display any college schedules/scores. I wonder if that data is in a different datafile? All that is in the current datafile is NFL and NHL so I'm not sure where it gets the baseball schedules/scores from.

glorify
09-28-2005, 08:59 PM
How do you put this on lol <--- newbie

AdminCP>vBa CMPS>Download/Upload Module

Yeah--the default has NHL as well. It'd be nice to crack ESPN's code for this :)

Richard
09-28-2005, 09:02 PM
here is all I've found so far, they show up, but don't really work.

http://espn.go.com/scorepost/flash/scorepost_flash-vert.swf?sport=ALL&amp;item2=MLB&amp;item3=NFL&amp;item4=NBA&amp;item5=NHL&amp;item6=NCF&amp;item7=NCB&amp;i tem8=NCW&amp;totalItems=8&amp;delay=5&amp;datafile=http://sports.espn.go.com/espn/scorepost.data

rrokdoka
09-28-2005, 10:17 PM
how do i change the background color of the live scores module, because it did not default. the website is www.rrokdoka.org... because the background color is not the same as the rest of the web page... you cannot see the options all, nfl, mlb, underneath. if anyone can help please respond.

glorify
09-29-2005, 12:06 AM
You must be using Firefox. It does the same on my site, but looks fine with IE.

Best way to fix it is to give it an all black background.

In template adv_portal_scoresespn find:
<tr>

<td bgcolor="#FFFFFF">

Replace with:
<tr>

<td bgcolor="#000000">

rrokdoka
09-29-2005, 02:38 AM
its the same thing lol and im using firefox lol

glorify
09-29-2005, 11:42 AM
My bad--this will work prefect. I will also fix the original first post with this:

In adv_portal_scoresespn, replace ALL with this:
<tr>

<td bgcolor="#FFFFFF"><font class="boxcontent"><center><script language=javascript>
<!--
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if (plugin) {
plugin = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 4;
} else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows 2000")>=0 || navigator.userAgent.indexOf("Windows NT")>=0)) {
document.write('<SCRIPT LANGUAGE=VBScript\> \n');
document.write('on error resume next \n');
document.write('plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4")))\n');
document.write('</SCRIPT\> \n');
}




if (plugin) {









document.write('<table width=140 border=0 cellspacing=0 cellpadding=0><tr><td>');

document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0" width="140" height="215">');
document.write('<param name=movie value="http://espn.go.com/scorepost/flash/scorepost_flash-vert.swf?sport=NFL&item2=NFL&item3=NHL&totalItems=3&delay=5&datafile=http://sports.espn.go.com/espn/scorepost.data">');
document.write('<param name=quality value=high>');
document.write('<embed src="http://espn.go.com/scorepost/flash/scorepost_flash-vert.swf?sport=NFL&item2=NFL&item3=NHL&totalItems=3&delay=5&datafile=http://sports.espn.go.com/espn/scorepost.data" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="140" height="215"></embed></object></td></tr>');

document.write('<tr><td bgcolor=#000000 align=center></td></tr>');
document.write('<tr><td bgcolor=#000000 width=1 height=10><spacer type=block width=1 height=10></td></tr>');
document.write('</table>');




} else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0)){
document.write('<center><font size=2 face=arial color=#FFFFFF>');
document.write('<br>You need Flash 4 to view our Enhanced ScorePost.<br>You can download Flash <a href="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" target=new><font color=#FFFFFF>here</font></a>.<br>');
document.write('<br><a href="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" target=new><img src="http://www.macromedia.com/images/get_flashplayer.gif" border=0></a><br><br>');
document.write('If you have a Java enabled browser, you can view our <a href="#" onClick="window.open(\'http://espn.go.com/scorepost/ncf.html\',\'popup_scorepost\',\'width=136,height=298,scrollbars=no,noresize\');"><font color="#FFFFFF">old ScorePost</font></a><br>');
document.write('</font></center>');
}



//-->
</script></center></font></td>

</tr>

rrokdoka
09-29-2005, 09:45 PM
If i could find adv_portal_scoresespn i would. lol You know where it is??

glorify
09-30-2005, 12:25 AM
OK

Got to AdminCP>Styles and Templates>Search in templates...Type in adv_portal_scoresespn in the top box. Then hit 'Find'

Double click on it when it brings it up and pate the new code over the old code and hit 'save'

:)

rrokdoka
09-30-2005, 12:53 AM
i freakin love you lol

rrokdoka
09-30-2005, 01:02 AM
hmmm... it gives me a blank box, with nothing in it... weird

glorify
09-30-2005, 02:12 AM
did you paste the whole code?

rrokdoka
09-30-2005, 02:29 AM
yeah i did.... its weird... i replaced the whole thing with this one. I dunno : /

glorify
09-30-2005, 02:47 AM
I went to your site--it looks ok--oops, maybe not. Have you been to mine in firefox?

rrokdoka
09-30-2005, 02:54 AM
yeah i have and yours loooks fine and the only reason my sites looks good sorta lol is because i replaced it with the old module :/

glorify
10-02-2005, 01:27 AM
grrrr--Then the only way is to uninstall the first and reinstall the new from the first post. Know how?

Caveman2k2
10-11-2005, 03:14 AM
Very nice. Installed perfectly. Thanks for sharing this!

Morrow
10-11-2005, 10:39 AM
Same here, no problems found! Thanks!

steelersfan
10-12-2005, 01:28 PM
I'm not getting the scores to update and I'm only getting one score, anybody know why? I used the new code a few posts up.

scr2000ge
10-12-2005, 02:24 PM
where can i get baseball scores for this? or all scores for all sports for that matter?

TheNFLForums
10-16-2005, 01:28 PM
Very nice...except I'm having issues with it...It could be just that it is set up for v3.5 or something, (which is being installed next week - right now I was just playing with the set up...)

However, for whatever reason this and the sports news modules do not show up on the index page. They do, however, show up if I make a page for the modules. It could just be a firefox thing, I suppose, as I haven't even tried it on IE yet (ugh, do I have to?) but here are the links:

http://www.afcwestforums.com
http://www.afcwestforums.com/index.php?page=lscore

Any clues as to why that is? Thanks.

TheNFLForums
10-26-2005, 03:34 PM
Okay I fixed that, then we uninstalled the module (and everything else) to upgrade to VB3.5. Now, when I install this module, it comes up on FF, with a bunch of code before and after the scoreboard. It does not show up on IE at all.

Any clues? If you want to email me with assistance, try me at bluedamsel@gmail.com :) thanks

CrossBones
10-27-2005, 04:09 PM
Okay I fixed that, then we uninstalled the module (and everything else) to upgrade to VB3.5. Now, when I install this module, it comes up on FF, with a bunch of code before and after the scoreboard. It does not show up on IE at all.

Any clues? If you want to email me with assistance, try me at bluedamsel@gmail.com :) thanksI wish somebody could answer this question. I hope it's not a vB 3.5 issue although I don't see how that would make any difference! :(

Thanks for the help in advance! :)

CrossBones
10-28-2005, 02:01 PM
Does anybody have any suggestion on what I may be doing wrong trying to get this module to display on the front page of vBadvanced?

Judge Ruckus
10-28-2005, 02:04 PM
Does anybody have any suggestion on what I may be doing wrong trying to get this module to display on the front page of vBadvanced?
Check in your admin CP make sure the module is active

Make sure it is on the style your using

Check your Admin CP > CMPS > Pages and make sure that the mod is turned on for the page there.

glorify
10-30-2005, 12:25 AM
Looks like I started a mess instead of a hack. I have found that IE has problems with this ESPN's script as some of you have seen. Check this:

Scorepost on ESPN's site (http://sports.espn.go.com/espn/scorepost?sport=all)

Works fine in Firefox, trouble with IE. Don't know if it's just a missing IE plugin on client PC's or not.

If you are having other problems, try to uninstall it and reinstall it with the current one I use on my site. Slight changes to the new exported one. You may want to take a peek at my site (http://glorifythepast.com) FIRST to see if the live scores look fine for you.

To uninstall old one:

AdminCP=>Search in Templates=>(for) adv_portal_scoresespn
When it finds it, highlight it and click 'Revert'

Then,
AdminCP=>vBa CMPS=>Edit Modules=>Live Scores
Edit and delete it.

Then reinstall with this new module.

scr2000ge
11-04-2005, 08:09 PM
where can i get baseball scores for this? or all scores for all sports for that matter?
nevermind, i found out how to do it..

inside of the <tr> and <td> tags replace the other crap with this...

<script language=javascript>
<!--
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if (plugin) {
plugin = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 4;
} else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows 2000")>=0 || navigator.userAgent.indexOf("Windows NT")>=0)) {
document.write('<SCRIPT LANGUAGE=VBScript\> \n');
document.write('on error resume next \n');
document.write('plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4")))\n');
document.write('</SCRIPT\> \n');
}




if (plugin) {









document.write('<table width=140 border=0 cellspacing=0 cellpadding=0><tr><td>');

document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0" width="140" height="215">');
document.write('<param name=movie value="http://espn.go.com/scorepost/flash/scorepost_flash-vert.swf?sport=ALL&item2=NFL&item3=NBA&item4=NHL&totalItems=4&delay=5&datafile=http://sports.espn.go.com/espn/scorepost.data">');
document.write('<param name=quality value=high>');
document.write('<embed src="http://espn.go.com/scorepost/flash/scorepost_flash-vert.swf?sport=ALL&item2=NFL&item3=NBA&item4=NHL&totalItems=4&delay=5&datafile=http://sports.espn.go.com/espn/scorepost.data" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="140" height="215"></embed></object></td></tr>');

document.write('<tr><td bgcolor=#000000 align=center></td></tr>');
document.write('<tr><td bgcolor=#000000 width=1 height=10><spacer type=block width=1 height=10></td></tr>');
document.write('</table>');




} else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0)){
document.write('<center><font size=2 face=arial color=#FFFFFF>');
document.write('<br>You need Flash 4 to view our Enhanced ScorePost.<br>You can download Flash <a href="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" target=new><font color=#FFFFFF>here</font></a>.<br>');
document.write('<br><a href="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" target=new><img src="http://www.macromedia.com/images/get_flashplayer.gif" border=0></a><br><br>');
document.write('If you have a Java enabled browser, you can view our <a href="#" onClick="window.open(\'http://espn.go.com/scorepost/ncf.html\',\'popup_scorepost\',\'width=136,height=298,scrollbars=no,noresize\');"><font color="#FFFFFF">old ScorePost</font></a><br>');
document.write('</font></center>');
}



//-->
</script>

thanks to firefox and the "view source" feature :)

ronnydynamic
11-06-2005, 11:47 AM
I have the same problem and tried the fix, downloading the latest but I still get this...
n'); } if (plugin) { document.write(''); document.write(''); document.write(''); document.write('
'); document.write(''); document.write(''); document.write(''); document.write('
'); } else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0)){ document.write('
'); document.write('
You need Flash 4 to view our Enhanced ScorePost.
You can download Flash here.
'); document.write('


'); document.write('If you have a Java enabled browser, you can view our old ScorePost
'); document.write('
'); } //-->

On firefox and it doesn't show in IE. I'm running 3.5 and did the revert fix with no luck.

Any ideas?

GT1
11-29-2005, 02:55 PM
I need to find an NBA scorepost. Any ideas?!?!?

GT1
11-29-2005, 02:58 PM
oops/

ga2000gt
12-28-2005, 03:17 PM
Has anyone figured out how to get other sports scores yet? Like for College FB, Baseball, Basketball?

ChuckH
01-03-2006, 11:22 PM
When I click on the ESPN link it shows college FB, BB and WBB. Not sure how to change it to that in the module though.

Moosa
01-09-2006, 08:08 AM
I have the same problem and tried the fix, downloading the latest but I still get this...

On firefox and it doesn't show in IE. I'm running 3.5 and did the revert fix with no luck.

Any ideas?

same here

pointguardu
02-10-2006, 02:17 PM
I uploaded it but look at what it does on my site: nothing!

www.PointGuardU.com

just a box that says LIVE SCORES... anyone have an idea of what is wrong?

CrossBones
02-19-2006, 11:34 PM
No idea.

I couldn't make it work so I gave up! ;)

rinkrat
02-20-2006, 05:58 PM
Don't work for me.

vnn1269
02-22-2006, 11:54 PM
How about the soccer. Where Can I get it, plz.

PoNi
04-21-2006, 10:59 AM
Hmm well I loaded the module .. seemed to install fine .. i see it on my front page .. but no info ?

What did i do wrong?

rollinjunk
10-07-2007, 12:56 PM
i found that the ESPN module no longer worked with the latest version of CMPS so i did some work on it. Its working for me after a few minutes of tweeking it might not be so clean on the back end but its working for me on my site :) enjoy :)

CrossBones
10-07-2007, 07:22 PM
i found that the ESPN module no longer worked with the latest version of CMPS so i did some work on it. Its working for me after a few minutes of tweeking it might not be so clean on the back end but its working for me on my site :) enjoy :)Cool.

Can you tell me exactly how to upload the new module to over write the one in there already. It hasn't even work for me.

big219
11-25-2007, 11:36 AM
glorify - You are a genius!!

blueraider
01-21-2008, 08:24 PM
will this work with vb 3.6x and vba 3.0

big219
01-22-2008, 12:35 PM
blueraider i really dunno but it should I would try it, you can always take out the module if it doesn't. good luck