vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - VBSoccer V2 +NFL Livescores (https://vborg.vbsupport.ru/showthread.php?t=138146)

lebanon 01-31-2007 10:00 PM

VBSoccer V2 +NFL Livescores
 
This is a version two of https://vborg.vbsupport.ru/showthread.php?t=114846

Which is the VBSoccer livescores in your vbulletin theme

Demo at :
http://www.tchatting.com/forum/livescores.php
Requirements are still PHP FOPEN ON
The original version was released at Worldcup 2006, and after that i wasn't updating it and left it as it is, however since the feed changed and i had to fix it, i made some adjustments too.

Also added Head to head comparison between teams playing.
For those who used v1, it was themed using a secondary style, now its templated and themed within your own vbulletin style.

Changed files (almost all except latest.php)
Old version has ceased to work to make sure everyone does upgrade, the files names has been changed from goals, standings to goal.php and standing.php so you must upload the new files.

Also added a POPUP for NFL Live scores too.

Installation :
Upload the files into your forum root, and images to your forum/images folder.
Import the templates file.
Adjust the templates if you wish to add banners or whatever equivelant
Link it
You're done.


Tennis, formula1 and cricket are already 3.6.x compatible , Ill review them however if they needed any changes.

February 27 2007 , some complaints about h2h.php not working, while it was working on my site, i checked the zip file, and the uploaded h2h contained a <html> tag that caused the script to halt , i removed it and it should be fine, reupload h2h or just remove the first line manually.

March 10th 2007 : Added folder Curl version, to use simply upload INSTEAD of the other folder, if you have Fopen Remote URL ON , you can use the regular version, or you can use the Curl version which is also available on Most webhosts nowadays.

Freebet.php note : As mentioned before its a non-existent file to link to your fav. betting link or free offering, however if you wish to remove it :
Code:

// Find

$lives = trim($result);

// Directly below that line add :

$l1= "<a href='freebet.php' target=_blank class=bet>Free Bet</a>";
$lives=  str_replace($l1,'',$lives);

// Freebet is now removed.


the coldfusion 02-01-2007 03:15 PM

Thanks! This might be handy.

Stifmeister2 02-01-2007 03:30 PM

Thanks dude I loved the previous version too. :) *clicks install*

Dluzion 02-01-2007 03:41 PM

Oooh Yay!

powerbook 02-01-2007 03:48 PM

Installed Clicked:

Cool hack :)

Where can I edit/remove "Free Bet"?

lebanon 02-01-2007 03:57 PM

Ah,
For those who were not familiar withe the previous Score feed, i left a free bet, because many require to link that to their "Affiliate program" Which most sites who post livescores do.
So its integrated within the rss feed now, if you do not require that, just create a freebet.php file and link it to whatever u want then or redirect it to your forum page.

powerbook 02-01-2007 04:02 PM

Thanks, I'll let it link to my bookie section if any wants to create a bookie event :)

abramelin 02-01-2007 07:26 PM

how can we add custom leagues to this? For example i want to add Turkey league and i think the page (livescores.php) doesnt refresh it self?

lebanon 02-01-2007 07:51 PM

neither in free version, nor in paid version u can add leagues,
However the paid version does already have detailed country leagues ( page for every league available ) but you cannot control the feed, even though u can create ur own data entry urself but thats manual work for you.

abramelin 02-01-2007 07:53 PM

where can i purchase the paid version?


All times are GMT. The time now is 02:01 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.01081 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete