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

 
 
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
  #72  
Old 05-20-2006, 06:01 PM
dan35's Avatar
dan35 dan35 is offline
 
Join Date: Jul 2004
Location: California
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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
Reply With Quote
  #74  
Old 05-21-2006, 12:07 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i just tried that and it shows a blank page for the livescores

I changed it back and it works again!
Reply With Quote
  #75  
Old 05-21-2006, 12:28 PM
lebanon lebanon is offline
 
Join Date: Jan 2005
Location: Lebanon
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bashy, am not sure what u did, its only changing the folder from slab to nlab.
I just changed it on my website http://www.tchatting.com/forum/livescores.php
and its working fine as well !
Reply With Quote
  #76  
Old 05-21-2006, 12:30 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah thats all i did i changed the link to show nlab and the scores didnt show
Reply With Quote
  #77  
Old 05-21-2006, 12:33 PM
gwhooooey gwhooooey is offline
 
Join Date: Feb 2003
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you update the instructions?

You say to add two templates, yet it's an xml file.. what do I do with that?

Also it says "Upload the contents of website images to your website url/images ie : domain.com/images/ NOT your forum images folder."... why not the forum image folder? What if I don't have a specific image folder anywhere else on my server.. even if I did, where would a file need editing to show where these images are?

Thanks

PS - This site any use to you? http://www.activescores.com/
Reply With Quote
  #78  
Old 05-21-2006, 12:46 PM
lebanon lebanon is offline
 
Join Date: Jan 2005
Location: Lebanon
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

gwhoooooey, well ill update the instructions, use the xml as a product to automatically create your templates.
Because you cannot edit the feed itself which is the case, thats why i used url/images folder which u can create if it doesnt exist, i couldnt use forum path because it will differ from forum to forums to vb, and in anycase i just was easining the job thats all.
Finally, no those are not from activescores.com , am dealing directly with few providors already, few already sell rss feeds which you can use if you wanted to create your own editable parser, such as
Globalsportsmedia.com, soccerstand.com , soccerstats.com, soccerway.com ,goalslive.com those provide the feeds for most websites you see online . But ofcourse you will then need to parse your own rss etc etc, they also offer free iframe versions or banner supported feeds. regards
Reply With Quote
  #79  
Old 05-21-2006, 08:48 PM
49er 49er is offline
 
Join Date: Nov 2005
Location: UK
Posts: 153
Благодарил(а): 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
Hi, When i try this i get these errors??


Warning: main(http://www.tchatting.com/soccerfeed/...vescores.php): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /livescores.php on line 96

Warning: main(http://www.tchatting.com/soccerfeed/...vescores.php): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /livescores.php on line 96

Warning: main(): Failed opening 'http://www.tchatting.com/soccerfeed/nlab/livescores.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /livescores.php on line 96
Reply With Quote
  #80  
Old 05-21-2006, 09:01 PM
gwhooooey gwhooooey is offline
 
Join Date: Feb 2003
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Worked fine for me.
Reply With Quote
  #81  
Old 05-22-2006, 02:15 AM
cucarot cucarot is offline
 
Join Date: Feb 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh very very nice hack
Reply With Quote
 


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 02:07 PM.


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.04762 seconds
  • Memory Usage 2,310KB
  • 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_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