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)

dragonlove 04-27-2007 11:49 AM

Quote:

Originally Posted by lebanon (Post 1236365)
URL file-access is disabled in the server configuration < that means still ur host has remote access disabled.
Dont you have curl ? he latest zip uploaded uses CURL functions.

Ok thank you very much for your fast-supporting , I 'll try it when uploaded it to the server, maybe my local server have peoblem with some services.
Again, this hack is very useful for my forum ^_^

thedvs 04-27-2007 05:01 PM

cant find
Code:

$lives = trim($result);
to remove freebet in any livescores.php

4number8 04-28-2007 03:45 AM

Would be great if you could add Nascar also, Thanks :)

bazzup 04-28-2007 06:22 AM

does this update daily or do i have to do something with it

*edit updated ok

can we change the time to gmt??

ss20 04-29-2007 12:41 PM

Quote:

Originally Posted by thedvs (Post 1236548)
cant find
Code:

$lives = trim($result);
to remove freebet in any livescores.php

look livescores.php

///////////////////////start live scores /////////////

$d = $_GET['d'];

if(is_null($d))

{

$url = "http://www.ns2.us/soccerfeed/slab/livescores.php";

}

else

{

$url = "http://www.ns2.us/soccerfeed/slab/livescores.php?d=$d&score=previous";

}

ob_start();

include("$url");

$lives = ob_get_contents();

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


ob_end_clean();

////////////end live scores/////////////////

Panagioths 05-02-2007 08:29 PM

Is there a problem with the feed? Because nothing is shown at livescores.php

lebanon 05-03-2007 10:39 AM

yes sorry, found the problem and will be fixed in few hours :)

lebanon 05-03-2007 12:18 PM

DNS for the feeds site is being propagated into new server, some will receive errors during the migration but this shouldnt take more than 4 hours atmost.
Sorry for the inconvenience caused , regards

Panagioths 05-03-2007 12:25 PM

thnx for the immediate actions :D

dragonlove 05-03-2007 12:41 PM

Quote:

Originally Posted by lebanon (Post 1240577)
DNS for the feeds site is being propagated into new server, some will receive errors during the migration but this shouldnt take more than 4 hours atmost.
Sorry for the inconvenience caused , regards

Not all your responsibility, you 're working at your best!
Thank you very much!

Stifmeister2 05-03-2007 03:12 PM

Thank you. :)

JamieLee2k 05-09-2007 01:14 AM

Is anyone else having an issue with there styles when using latest.php livescores.php is fine but when I look at latest.php then the footer goes badly wrong.

See for yourself My Football Site

LadyHoney 05-23-2007 09:17 PM

// Find

$lives = trim($result);

where exactly should i find this ive searched and cant find it to remove the free bets reference

Fungsten 05-23-2007 10:40 PM

On test server.

Panagioths 06-08-2007 10:49 PM

Ι would like to link the "Free Bet" function with one of my site's page. Is that possible?

lebanon 06-11-2007 09:53 AM

ladyhoney, u find that in livescore.php

Panagioths , same code can be used but instead replace with :

$l1= "<a href='freebet.php' target=_blank class=bet>Free Bet</a>";
$l2 ="<a href='YOURLINK.PHP' target=_blank class=bet>CLICK HERE OR WHATEVER</a>";
$lives= str_replace($l1,$l2,$lives);

Panagioths 06-11-2007 03:04 PM

Quote:

Originally Posted by LadyHoney (Post 1253477)
// Find

$lives = trim($result);

where exactly should i find this ive searched and cant find it to remove the free bets reference

Apparently you are not using curl livescore.
You just put this

Code:

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

just before

Code:

////////////end live scores/////////////////
in livescores.php :D

I didn't found $lives = trim($result); either so I just added it at the end of the livescores.

Thnx again lebanon:)

kiril_cvetkov 07-31-2007 06:26 PM

Fatal error: Call to undefined function curl_init() in C:\AppServ\www\Forum\livescores.php on line 173

vbulletin 3.6.7

-Maybe the problem is in the local connection,i will try to install this in my web site tomorrow :)

birayfil 08-16-2007 06:04 AM

Warning: main(): URL file-access is disabled in the server configuration in \livescores.php on line 191

Warning: main(http://www.ns2.us/soccerfeed/slab/livescores.php): failed to open stream: no suitable wrapper could be found in \livescores.php on line 191

Warning: main(): URL file-access is disabled in the server configuration in \livescores.php on line 191

Warning: main(http://www.ns2.us/soccerfeed/slab/livescores.php): failed to open stream: no suitable wrapper could be found in \livescores.php on line 191

Warning: main(): Failed opening 'http://www.ns2.us/soccerfeed/slab/livescores.php' for inclusion (include_path='.;./includes;./pear') in \livescores.php on line 191

kiril_cvetkov 08-16-2007 09:50 AM

how to translate this mod

aslan 08-18-2007 10:47 AM

Installed and working fine.

Only I've one question. I think someone ask that before, how we can make that time to normal EU time? Is this possible?

Quote:

Originally Posted by kiril_cvetkov (Post 1318812)
how to translate this mod

kiril, I've done this with changing words from xml data. I's working.

Carlos2 08-18-2007 02:30 PM

Can you change the language of the titles league??

kiril_cvetkov 08-19-2007 09:31 AM

Quote:

Originally Posted by aslan (Post 1320179)
Installed and working fine.




kiril, I've done this with changing words from xml data. I's working.

Yes - I've translate words from xml data. But we can't translate all :) - Livescores works on RSS

Davidhin 11-18-2007 11:18 PM

This would be great if you was able to edit the templates more, with the league it looks horrible using tcat & thead classes. if I could alter this then Id probably use it.

magamaga1 11-22-2007 03:08 PM

man, do I have to add livescores.php to my navbar to be able to show this mod to users?

Stifmeister2 11-22-2007 08:32 PM

Quote:

Originally Posted by magamaga1 (Post 1387551)
man, do I have to add livescores.php to my navbar to be able to show this mod to users?

Yes.


Or well, it's not mandatory, but how else will your users find the link...

Fungsten 11-22-2007 09:23 PM

I installed it but it doesn't show up anywhere.

Gersfan 04-22-2008 01:43 PM

Hi Folks,

Is anyone still using this? Does it work with 3.7.0 ?

Thanks,

Stifmeister2 04-22-2008 02:52 PM

Quote:

Originally Posted by Gersfan (Post 1496561)
Hi Folks,

Is anyone still using this? Does it work with 3.7.0 ?

Thanks,

I believe it does.

GuaRRand 05-28-2008 07:35 AM

can you select/deselect teams/sports?

I am only interested in the soccer part and maybe F1 ... not NBA and cricket etc..

Stifmeister2 05-28-2008 02:57 PM

Quote:

Originally Posted by GuaRRand (Post 1533829)
can you select/deselect teams/sports?

I am only interested in the soccer part and maybe F1 ... not NBA and cricket etc..

Yes you can. I don't have cricket for example.

Jibba Jabbas 05-31-2008 10:23 PM

Your forum/site seems to be down, along with the h2h.php file.. which is giving an error =[

Any idea if this will be back up at all? If no is there a replacement site i can change the URL to in the h2h.php file?


EDIT: Yes you can, i just had a quick look at the files and found the same file but under a different domain name.

So to fix the error message when clicking "h2h" open the h2h.php file in a text editor, find:

Quote:

$url = "http://www.tchatting.com/soccerfeed/slab/h2h.php?id=$id";
Replace with:

Quote:

$url = "http://www.ns2.us/soccerfeed/slab/h2h.php?id=$id";
It's simply changing the domain from tchatting.com (which seems to be down) to ns2.us (which is up).

Defkalion 07-27-2008 06:37 AM

Mine has stopped working all of a sudden. I also tried this change mentioned above and same results. I get nothing on that page.

glennybee 10-07-2008 09:58 AM

If you want to have the freebet.php link redirect to your affiliate link, this is what you need to do.

Create a freebet.php file with the following content:

Code:

<?php
header("Location: http://www.redirecturl.com/");
?>

Obviously change the url to your affiliate link.

Njoy! :)

nick-harper 10-13-2008 02:45 PM

Is there a way to change the freebet text?

walter_ps2 10-26-2008 08:06 AM

I have Vbulletin 3.7.3, when i try to upload the template i have: This is not a valid file :(
and nothing work.
It's possible that the script is not compatible with 3.7.x ?

glennybee 01-28-2009 03:12 AM

Looks like the source website (where this mod gets it data from) is offline now so it's currently not working! :(


All times are GMT. The time now is 02:49 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.01286 seconds
  • Memory Usage 1,808KB
  • 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
  • (5)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (37)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