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)

Stifmeister2 05-07-2006 03:35 PM

If you added NHL it would rock.

Zia 05-08-2006 05:03 AM

Quote:

Originally Posted by lebanon
As for other requests, i did this for football (soccer) because its what me and my community watch and followup, i will try to set up other feeds as per your suggestions as such cricket, nfl, basketball and live lines for sports etc.!

Helo lebanon, we will verymuch appricitae if u add cricket..all of the cricket we will be gratefull to u.

Thnx

napukjon 05-08-2006 07:51 AM

Cricket Rules! :D

Seems a good mod! Cant wait to get the download back, not unless someone can put it up for me to download for now while the main links offline?

chapindad 05-09-2006 07:15 PM

Could you put up a guide for us to create our own RSS feeds for it. I run a soccer site targeted at youth soccer, HS and Club. So no public RSS feeds exist for me, but I would love to use this hack....

MThornback 05-10-2006 01:37 AM

When you get this back up and running....I can't wait to try it out....especially with the World Cup in a month :) my traffic will go through the roof :D

Stifmeister2 05-10-2006 11:13 PM

The site is up.. Now where can I download this hack?

Rat1972 05-11-2006 08:56 AM

Quote:

Originally Posted by Stifmeister2
The site is up.. Now where can I download this hack?

idd where can i find it?

Stifmeister2 05-11-2006 03:23 PM

Quote:

Originally Posted by Rat1972
idd where can i find it?

http://www.tchatting.com/forum/livescores.php
http://www.tchatting.com/forum/latest.php

Stifmeister2 05-11-2006 03:24 PM

Hey lebanon, when can we downlaod this hack? :(

MoothMan 05-13-2006 10:11 PM

When will this be back Lebanon? Was working today :)

Aeolian 05-14-2006 12:55 AM

world cup!! ??

Bluik 05-14-2006 05:18 PM

I'm looking to download and test it on my site too. :)

lebanon 05-15-2006 11:01 AM

the feed is back up and our server is on its new home and serving the feeds.
Regards

Stifmeister2 05-15-2006 09:29 PM

Thanks dude.

*clicks install*

adrenaline786 05-15-2006 09:34 PM

thanks a lot for this. YOU DA MAN lol

lebanon 05-16-2006 10:47 AM

Formula1 addon is almost done, actually is done, but cannot be sure before next sunday to monitor its connection to db and rss feed, etc.
Hopefully ill release it after next sunday round is over :D

MThornback 05-16-2006 03:10 PM

I have minors on my site, and my TOS doesn't allow for betting....will you be adding a way to remove the betting link in a future release :(

firstrebel 05-16-2006 06:38 PM

I am testing this on my dev site and like it. Before I install on my live site I want to put the links on the navbar so only logged in users can see the link. At the moment I have this
Code:

<if condition="$bbuserinfo['userid']">
<td class="vbmenu_control">
<a href="latest.php">Football Latest</a></td>
</if>

What is missing, as the link can still be accessed when not logged in.

Bob

EDIT: Ignore this, it works OK, the cookies hadn't cleared.

lebanon 05-17-2006 11:25 AM

firstrebel but this way if someone knows the link it would be still accessible, if you want it to open only for registered only then before
// #################### HARD CODE JAVASCRIPT PATHS
ADD

if (!$vbulletin->userinfo['userid'])
{
print_no_permission();
}
//////////
MTHornback, well i dont mind changing that as i dont intend betting on my site either , but since i add this into the parser , i can either remove it or change it for all, so il let you guys decide that ! After all this should fit the majority or maybe ill just add a second extension without the links.
Regards

firstrebel 05-17-2006 02:04 PM

Quote:

Originally Posted by lebanon
firstrebel but this way if someone knows the link it would be still accessible, if you want it to open only for registered only then before
// #################### HARD CODE JAVASCRIPT PATHS
ADD

if (!$vbulletin->userinfo['userid'])
{
print_no_permission();
}
//////////

Where does this go? Template or php file.

Bob

bashy 05-17-2006 02:33 PM

Hi Bob

it goes in the livescores.php on ya server /forum/ folder

firstrebel 05-17-2006 04:24 PM

Quote:

Originally Posted by bashy
Hi Bob

it goes in the livescores.php on ya server /forum/ folder

Thanks bashy. I presume I can do the same with latest.php?

Bob

bashy 05-17-2006 04:26 PM

oo...i didnt think about that, well if it has the same code then i would have thought so, gonna try....brb

bashy 05-17-2006 04:29 PM

Yep it works with latest.php as well Bob :)

firstrebel 05-17-2006 06:00 PM

Tx. I don't know why I asked, all I had to do was try it myself. Been one of those days. Roll on tomorrow.

Bob

bashy 05-17-2006 06:04 PM

No worries Bob, its alway best to hear it from someone opposed to breaking something :)

firstrebel 05-17-2006 07:41 PM

Wrong thread..

Bob

MThornback 05-20-2006 02:20 AM

Quote:

Originally Posted by lebanon
MTHornback, well i dont mind changing that as i dont intend betting on my site either , but since i add this into the parser , i can either remove it or change it for all, so il let you guys decide that ! After all this should fit the majority or maybe ill just add a second extension without the links.
Regards

Would you consider having 2 versions? I know its alot of work for you for upgrades etc...but I can't use it till it doesn't have betting abilities :cross-eyed: i'd really like too...so I have my fingers crossed....if not I'll keep it just for myself to check scores :p but I would like my users to use it aswell :)

dan35 05-20-2006 02:38 AM

maybe use this with vbplaza and vbbookie :)

lebanon 05-20-2006 12:02 PM

mthornback, yes its not much work to do so ill be uploading a v2 without bet link,
as for usage with vbookie, actually i will have to download the vbookie and look it up, last time i used it was with 3.0.7 and a thread needs to be created to add a vbookie event, in such case,its not in my coding capabilities to insert which vbookie id into which raw from the parsed rss feed. nevertheless i will be sure if ican do it or not when i look up vbookie.

dan35 05-20-2006 06:01 PM

Thank you, lebanon ;)

lebanon 05-21-2006 12:02 PM

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

bashy 05-21-2006 12:07 PM

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

I changed it back and it works again!

lebanon 05-21-2006 12:28 PM

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 !

bashy 05-21-2006 12:30 PM

yeah thats all i did i changed the link to show nlab and the scores didnt show

gwhooooey 05-21-2006 12:33 PM

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/

lebanon 05-21-2006 12:46 PM

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

49er 05-21-2006 08:48 PM

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

gwhooooey 05-21-2006 09:01 PM

Worked fine for me.

cucarot 05-22-2006 02:15 AM

Oh very very nice hack


All times are GMT. The time now is 02:35 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.01466 seconds
  • Memory Usage 1,814KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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