PDA

View Full Version : Live Sports Scores (wouldnt really call this a hack?)


Zach
05-10-2004, 07:02 PM
This is more or less just a template mod, or whatever


An two examples of forums with it -
http://www.ecardbets.com/forums/index.php?
http://sportsforum.ws/

All that needs to be added, on any page, not just vBulletin is this -


<!---Start Fantasy Sports Wire Scoreboard http://www.fantasysportswire.com --->
<script src="http://fantasybaseball.ws/scripts/FantasySportsWire.com.scoreboard.js"></script>
<center style="display:none"><a href=\"http://sportsforum.ws/\">Fantasy Football</center>
<!---End Fantasy Sports Wire Scoreboard http://www.fantasysportswire.com --->




That will put the first example in the page - (the second example is slightly modified to fit into my page)

Two nicest things about this ticker is the transition (IE only) is very smooth - have not looked at it in Netscape, but assume it just changes. Also if you accept cookies, third party cookies in this instance, or put fantasybaseball.ws in your list of accepted cookies, it will remember what the last score was that you saw - so as someone changes pages, it just keeps going forward showing you the next score, instead of looking at the same score over and over that just happens to be the first one.


The first example, all that was changed was the navbar, dropped the stuff out of the box down below, and put the scores in that box - seemed to fit well like that -

took


<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1)"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php?$session[sessionurl]">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a> <strong>$navbits[lastelement]</strong></td>
</tr>
</table>
<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
</if>


out from where it is, and put it on the very bottom after everything else, added


<br />


at the very end after that

then where that was added the code for the scorebaord


<!---Start Fantasy Sports Wire Scoreboard http://www.fantasysportswire.com --->
<script src="http://fantasybaseball.ws/scripts/FantasySportsWire.com.scoreboard.js"></script>
<center style="display:none"><a href=\"http://sportsforum.ws/\">Fantasy Football</center>
<!---End Fantasy Sports Wire Scoreboard http://www.fantasysportswire.com --->



and last there was two


<br />
<br />


In there, that was the last thing outputted before, I removed one of them so its just


<br />




(which in essense takes the navbar location and puts one break on either side of it so it looks ok)


As I said I wouldnt call this a hack but figured outers might like it. I will be honest, its a tool to promote myself - but I think its much better than any other scoreboard I have seen - there is not a logo to another site or anything on it non stop, or any other bs, the link in the scoreboard bit, I am not going to run around and see if its there or not, but since its not gonna be visible or take up space, no reason to remove it. It will just be centered off in nowhere land :)

Zach
05-10-2004, 07:05 PM
Oh today there must not be any soccer action, but it does have soccer scores also - MLS and UK in their own listings, rest of Europe in its own listing, and the rest of the world in a last listing

Also you can jump to the sport you want directly by clicking that sport.

rex_b
10-11-2004, 09:49 PM
I must say I like this. Looks good.

Zach
10-27-2004, 06:03 PM
Wow - I figured nobody ever even checked it out :) - but as you can see from the dates between posts - its isnt a flyby thing - its still up and running, though I dont have it on top of my forums at the moment as I am building another type of scoreboard for my site.

Zach
10-27-2004, 08:07 PM
For an example of what it looks like - I discovered it makes a cool sig :) -

(obviously look down at my sig)
http://sportsforum.ws/showthread.php?p=1088348#post1088348