Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Alpha: VBSoccer Tennis Cricket Formula1 - (others sports are being modified) Details »»
Alpha: VBSoccer Tennis Cricket Formula1 - (others sports are being modified)
Version: 1.00, by lebanon lebanon is offline
Developer Last Online: Jan 2014 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 05-04-2006 Last Update: 01-19-2007 Installs: 76
Template Edits
Additional Files Is in Beta Stage  
No support by the author.

Hi,
These r some additions i am adding to my own forums containing livescores pages, and other pages for tables of major leagues, fixtures, standings and fixtures.
Some of the content is routed through my site including the first 4 attachments, while sports.zip which enables
Soccer, tennis, hockey, baseball, basketball, and american football
Will act as follows : Cron job to download the feeds from my website, parse into database, and the sports.php will accordinaly show which tables selected to users.

Demos are on :
http://www.tchatting.com/forum/livescores.php
http://www.tchatting.com/forum/latest.php
http://www.tchatting.com/forum/cricket.php
http://www.tchatting.com/forum/formula1.php
http://www.tchatting.com/forum/tennis.php


Attention: None of these files will work if you do not have allowurl_fopen_on




All you need to do is upload two files, few images and create two templates using the xml product file included.
Your server must allow you to include remote files ( allow_url_fopen = on )
There is no installer as they are only two templates to add manually.

I am still developing this for further additions so it might follow some updates especially if i was given more ideas.

The livescores page contains a Link to a freebet.php file that i did not include but rather is up to you to create and add your own content page since you cannot modify the body.
Though you cannot modify the table itself but its percentage table thus you can edit the template as you may and just make sure to keep the variable.
The goals.php and standings.php are non vb pages but rather popups, their style is included within the en.css style sheet thus you can edit to match your forum look and feel.

To install just upload the files, add the two templates, and dont forget to link to it from your navbar or header.

May 22nd , added Tennis under further development too.
demo at
http://www.tchatting.com/forum/tennis.php
zip attached
May 25th, added cricket parsed rss feeds as requested by Zia, he also suggested the free feeds to be displayed.
nb: crickinfo.com provides the feeds for free as long as you keep their copyright, parsing technique Copyright 2005 Drew Phillips
cricket.zip attached
demo at
http://www.tchatting.com/forum/cricket.php
nb: in cricket.php FIND
/home/username/public_html/forum
and replace with your actual forum path this setting will actually put a cached copy of the rss feed on your desired directory so you dont overload your server connections


June 02 2006
Uploaded formula1.zip ,
One file to upload and one xml to export 1 template.
Includes, Formula 1 results, Drivers Standings and Constructors Standings

June 02 2006
Added Sports.zip
To Install :
1:Export scorestables.xml
This will create your required database tables.
2: Export ONE of the templates xml files the first one sportstemplates.xml has also links to the previous attached files if installed, the second does not if you are using sports.php alone.
3: upload sports.php to forum root, and owsoccer.php to includes/cron/
4: Add the cron job as described in the note ( See the picture included in the zip file ) and DO NOT change the minute value, it is set to update once per hour, keep it so , as the feeds are updated once per hour too and it will not be any more usefull if you hammer my server with requests !
Finally,
For using any of those add your own navbar or header links wherever you find suitable on your forum.

Attention : I removed sports.php , untill i resolve some communication setting and few other issues, the rest are working fine.

Suggestions and feedback for further improvements are appreciated.
If you use the feeds please click install !

Sports.php is no longer served.

20 Jan 2007 : Updated soccer.zip
changed files :
livescores.php
goal.php ( you can safely delete old goals.php )
standing.php ( you can safely delete standings.php)
en.css ( because of changed goal and standing class names)
images to be uploaded to your forum images directory.
If you are updating, its enough to replace those files with no further editing or installing.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #82  
Old 05-22-2006, 03:42 AM
MThornback MThornback is offline
 
Join Date: Apr 2005
Location: Canada
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lebanon
MTHornback, as per your request, ns2.us has hosted the second feed without the free bet link.
All you need to change from your Livescores.php file is two lines
At the url section you will find two urls containing
/soccerfeed/slab
Just change that to
/soccerfeed/nlab

in the two urls , and it should be fine as you wanted it ! Regards
Worked fantastically thank you very much
Reply With Quote
  #83  
Old 05-22-2006, 11:08 AM
lebanon lebanon is offline
 
Join Date: Jan 2005
Location: Lebanon
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

teepeg, thats because you didnt download the new zip files , when i updated this thread , i uploaded a new zip file , including a change of the host of the feeds from tchatting to ns2.us which is hosting the feeds now.
After you replace the php files then u can do the change to remove the free bet link or keep it.
bashy , i suppose u had the older files too thats why u didnt get the file without the bet link to work ?
Reply With Quote
  #84  
Old 05-22-2006, 12:13 PM
gwhooooey gwhooooey is offline
 
Join Date: Feb 2003
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Little strange that the Basque vs Wales match wasn't listed as one of the friendly matches yesterday ¬_¬ Any idea why they didn't have it?
Reply With Quote
  #85  
Old 05-22-2006, 04:44 PM
49er 49er is offline
 
Join Date: Nov 2005
Location: UK
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Lebanon, i got it all running fine, and very nice it is too. :banana:
Reply With Quote
  #86  
Old 05-23-2006, 03:03 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Helo Lebanon,

tennis added..

any way...can u tell me..

does this hack will show : Upcomming FIFA Worldcup footbal-2006 live stats and what about Cricket ?

Thnx in advance
Reply With Quote
  #87  
Old 05-23-2006, 07:22 AM
firstrebel's Avatar
firstrebel firstrebel is offline
 
Join Date: Dec 2005
Location: West London
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good work, a nice addition to the fourm. Thanks. I agree that cricket would be nice also, it is that time of year now.

Bob
Reply With Quote
  #88  
Old 05-23-2006, 12:11 PM
lebanon lebanon is offline
 
Join Date: Jan 2005
Location: Lebanon
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Zia , adding tennis doesnt show soccer, its a seperate zip file you have to add it too, they are seperate because basically you dont have to be interested in both.
Also you will need to add your own navbar links and/or customize your templates to show common links for both sports or keep seperate.

As for cricket, i havent found a providor yet, and thats because i lack the knowledge about that sport, maybe if you could tell me what leagues i should be looking for when requesting the feeds it would help
Reply With Quote
  #89  
Old 05-23-2006, 11:37 PM
Raptor Raptor is offline
 
Join Date: Nov 2001
Posts: 499
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great - not sure what the fre bet link is for tho -doesnt work here
Reply With Quote
  #90  
Old 05-24-2006, 04:59 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lebanon
Zia , adding tennis doesnt show soccer, its a seperate zip file you have to add it too, they are seperate because basically you dont have to be interested in both.
Also you will need to add your own navbar links and/or customize your templates to show common links for both sports or keep seperate.

As for cricket, i havent found a providor yet, and thats because i lack the knowledge about that sport, maybe if you could tell me what leagues i should be looking for when requesting the feeds it would help
thnx man....that means this add-ons will show the Upcomming fifa-worldcup football 2006?

and this hack support custom feed? or i have to provide u the rss provider ?
as cricket has lots of league

http://www.cricmania.com/mobile/rss.php
http://www.cricinfo.com/db/RSS/
u can try this two..they are free......

plz have a serious thought
Reply With Quote
  #91  
Old 05-24-2006, 07:30 AM
firstrebel's Avatar
firstrebel firstrebel is offline
 
Join Date: Dec 2005
Location: West London
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Raptor
works great - not sure what the fre bet link is for tho -doesnt work here
Create a file named freebet.php and put this in it:
Code:
<?php
      print "This facility is not available. Close this window";
?>
Then upload that file to the forum root.

Bob
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 01:21 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05010 seconds
  • Memory Usage 2,322KB
  • Queries Executed 25 (?)
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)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete