vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Live Sports Scores (wouldnt really call this a hack?) (https://vborg.vbsupport.ru/showthread.php?t=64967)

Zach 05-10-2004 07:02 PM

Live Sports Scores (wouldnt really call this a hack?)
 
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 -

Code:

<!---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

Code:

<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

Code:

<br />
at the very end after that

then where that was added the code for the scorebaord

Code:

<!---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

Code:

<br />
<br />

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

Code:

<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...48#post1088348


All times are GMT. The time now is 01:41 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00991 seconds
  • Memory Usage 1,732KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete