vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Alpha: VBSoccer Tennis Cricket Formula1 - (others sports are being modified) (https://vborg.vbsupport.ru/showthread.php?t=114846)

lebanon 05-04-2006 10:00 PM

Alpha: VBSoccer Tennis Cricket Formula1 - (others sports are being modified)
 
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 ! https://vborg.vbsupport.ru/

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.

Jay... 05-05-2006 04:54 PM

very nice hack, any screenshots? also will this be covering the english premier league and championship next season?

lebanon 05-05-2006 04:57 PM

Jay, there is two demo links , and yes its covering ALL LIVE SCORES + stats and tables for all Major leagues
check http://www.tchatting.com/forum/latest.php for the list of leagues covered.

Jay... 05-05-2006 04:58 PM

right im gonna install this now!

puertoblack2003 05-05-2006 05:35 PM

Can this be an add-on for vbadvance in a small block it will be cool to go along with the football and nascar block....:banana:

VaaKo 05-05-2006 05:36 PM

is this RSS or something?

blue6995 05-05-2006 06:13 PM

I'm a complete novice at this, so please bear with me! I installed this added the templates etc. How do I view the templates or see the livescores page?

jluerken 05-05-2006 06:20 PM

This hack is only interesting if we can install it fully locally without routing anything trough your site.

I want to translate and modify it and can't do so now.

Also I hate the idea installing files on my system where I don't know what they're doing and transfering.

Rich 05-05-2006 08:44 PM

I was thinking the exact same thing as jluerken. You are obviously pulling the info from somewhere, so why not just add how the info is pulled and let the users install it on their site the same way you did it on your site?

Code Monkey 05-05-2006 08:55 PM

Is it just soccer or can it do any sports?


All times are GMT. The time now is 10:38 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.01075 seconds
  • Memory Usage 1,741KB
  • 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)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