Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-10-2004, 07:02 PM
Zach's Avatar
Zach Zach is offline
 
Join Date: Nov 2001
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 05-10-2004, 07:05 PM
Zach's Avatar
Zach Zach is offline
 
Join Date: Nov 2001
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 10-11-2004, 09:49 PM
rex_b rex_b is offline
 
Join Date: Jul 2004
Location: LA
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I must say I like this. Looks good.
Reply With Quote
  #4  
Old 10-27-2004, 06:03 PM
Zach's Avatar
Zach Zach is offline
 
Join Date: Nov 2001
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 10-27-2004, 08:07 PM
Zach's Avatar
Zach Zach is offline
 
Join Date: Nov 2001
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:26 PM.


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.03402 seconds
  • Memory Usage 2,205KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (6)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete