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)

lebanon 02-27-2007 10:20 AM

February 27 2007 , some complaints about h2h.php not working, while it was working on my site, i checked the zip file, and the uploaded h2h contained a <html> tag that caused the script to halt , i removed it and it should be fine, reupload h2h or just remove the first line manually.
I hope this should resolve the error, as for the function include disabled that is because the requirement of this script is fopen on, i will however release a CURL version if requested by users.

United32 02-27-2007 03:12 PM

Quote:

Originally Posted by lebanon (Post 1191803)
February 27 2007 , some complaints about h2h.php not working, while it was working on my site, i checked the zip file, and the uploaded h2h contained a <html> tag that caused the script to halt , i removed it and it should be fine, reupload h2h or just remove the first line manually.
I hope this should resolve the error, as for the function include disabled that is because the requirement of this script is fopen on, i will however release a CURL version if requested by users.

But I have this function enabled:

allow_url_fopen Local Value: On Master Value: On

:confused:

Zia 02-27-2007 04:45 PM

Yes Lebanon..ur the man

h2h is now working..
http://img254.imageshack.us/img254/4953/h2hla1.jpg


But a very littel bug...

http://img265.imageshack.us/img265/5743/erorqi5.jpg

* 1 uncached template.
* page generation time & server load etc showing twice.

One request:
Hence most of us are not able to use Free Bet ..Can u put the Standings instead of Free Bet.

Regarding Curl version? which one is better..no idea.Some of user facing probs with Fopen.

Thanx.

United32 03-01-2007 07:12 AM

I had the same problems with Cyb - Advanced Forum Statistics, and this helped:
Quote:

Another way is to open product XML, find:
require_once($vbulletin->options['bburl'].'/global.php');
and change it to:
require_once('./global.php');
After this re-import product to your forums and it will work.
My host means that is a security risk to have allow_url_include=on.

Is there any way to change the code like I did in Advanced Forum Statistics?

allow_url_fopen is ON.

lebanon 03-01-2007 02:06 PM

Quote:

Originally Posted by basilrath (Post 1191014)
im still getting this error after uploading exactly any ideas at all

still getting this any ideas

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /livescores.php on line 174

Warning: include(http://www.ns2.us/soccerfeed/slab/livescores.php) [function.include]: failed to open stream: no suitable wrapper could be found in /livescores.php on line 174

Warning: include() [function.include]: Failed opening 'http://www.ns2.us/soccerfeed/slab/livescores.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /livescores.php on line 174

fopen is on , but still the error is clear ur hosting disabled URL file access, and left fopen for LOCAL FILES only so you can only use fopen to local ../.. etc ..
anyway, as i said i Will release curl version which should work at 99% or more of hosting
Zia, the curl version doesnt actually change anything just few lines of code and it will be able to do that, they will give same result, its just that some hosting companies disable fopen for it can be used for more than opening urls :!
Curl version on the way , for all feeds i believe :) see u in few days !

Zia 03-01-2007 02:20 PM

Quote:

Originally Posted by lebanon (Post 1193347)
for all feeds i believe :) see u in few days !

Yes Sir...So kind of u :D
Please try to show as much as info possible..(Soccer portion-its just showing allmost everything)
in the 1st portion HERE and HERE
i put some link..incase if it helps u a bit :)



Thanx.

Zia 03-05-2007 05:35 AM

Helo Lebanon,

can we get an ETA plz ? :)

Zia 03-08-2007 02:22 PM

Icc world cup started kicking :S

ams3521 03-10-2007 09:12 PM

Hi and thanks for a great Hack.
It would be appreciated if there could be a feed in GMT as has been mentioned.

xMisunderstoodx 03-11-2007 01:50 PM

Database error in vBulletin 3.6.5:

Invalid SQL:

UPDATE session
SET lastactivity = 1173624289, inforum = 0, inthread = 0, incalendar = 0,
badlocation = 0
WHERE sessionhash = 'eb84a638923a2ad5b1ba69c7318984af';

basilrath 03-11-2007 06:05 PM

great hack but suddenly mine has ceased

strange

Stifmeister2 03-11-2007 10:53 PM

So how do I remove the freebet link? I can't find this "$lives = trim($result);" anywhere...

Stifmeister2 03-11-2007 10:55 PM

Ooh, and I am getting an error now.



Quote:

Warning: include() [function.include.php]: URL file-access is disabled in the server configuration in /livescores.php on line 96

Warning: include(http://www.ns2.us/soccerfeed/slab/livescores.php) [function.include.php]: failed to open stream: no suitable wrapper could be found in /livescores.php on line 96

Warning: include() [function.include.php]: Failed opening 'http://www.ns2.us/soccerfeed/slab/livescores.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /livescores.php on line 96

Zia 03-12-2007 08:30 AM

our bad luck...didnt get the cricket portions update for the icc worldcup 2007
tomorrow is opening seremony :S

any way..nothing to do....

basilrath 03-12-2007 10:38 AM

Quote:

So how do I remove the freebet link? I can't find this "$lives = trim($result);" anywhere...

its in the livescores.php

Stifmeister2 03-12-2007 04:26 PM

Quote:

Originally Posted by basilrath (Post 1201483)
its in the livescores.php

Oh yeah... I used the older one, it's not there. Now that I took a look at the culr version, it's there. ;)

TVNettet 03-13-2007 05:31 AM

I looked at the last version, but didn't use it as it had loads of working and not working links to your site, is this fixed? Cos this could be thee mod...

GrendelKhan{TSU 03-16-2007 01:29 PM

anything like this for NBA scores?

zompus 03-16-2007 01:34 PM

Is there anyway to remove the powered by link?

Zia 03-17-2007 02:46 AM

Quote:

Originally Posted by zompus (Post 1204850)
Is there anyway to remove the powered by link?

i gez not................

subzonline 03-17-2007 06:44 PM

can scores from football in the Uk, be added in future versions?

Stifmeister2 03-18-2007 03:12 PM

Uhh I think UK football is there already.

eczantrik 03-19-2007 10:24 AM

thank you for the mod .
it is great

but i m a question, can you help me

i m using vbadvanced portal(integrated)
so at the popups my blocks still there
is there a way to remove block from popups(and h2h)

thank you

lebanon 03-22-2007 08:54 AM

Uk scores are already there.
As for vbadvanced , i cant see why do u have blocks in ur popups, however all that needed in the popups from VB is the stylesheets , so you can modify the template remove vb codes and just add the css file to the top and the rest should remain flexible

TVNettet 03-26-2007 04:57 AM

Fatal error: Call to undefined function curl_init() in /var/www/tvnettet.com/forum/livescores.php on line 173

Will of course mark as installed, once I get it going :-)

Panagioths 04-22-2007 08:54 PM

I think that the forum folder version works just fine

orkyn 04-25-2007 05:14 PM

i have a blank white page............ can any body help me...?

orkyn 04-25-2007 06:31 PM

My host installed suhosin, n allow_url_fopen = on all ready put on php.ini, but i still get a blank page....?

can you help me plis, i really need this mod...

sorry for my English

orkyn 04-25-2007 06:43 PM

Problem Fix.......

just add

allow_url_fopen=1
suhosin.executor.include.whitelist=http://www.ns2.us

to php.ini

AzaDiyaR 04-25-2007 07:33 PM

this working fine for vbulletin 3.6.4

http://www.azadiyar.com/Forum/livescores.php

v12kid 04-26-2007 05:02 AM

by chance will this work with NBA scores?

lebanon 04-26-2007 11:21 AM

v12kid , this is not a nba scores, however its interesting, might add that seperately !

v12kid 04-26-2007 08:04 PM

Quote:

Originally Posted by lebanon (Post 1235739)
v12kid , this is not a nba scores, however its interesting, might add that seperately !


I would sincerely appreciate if you did, ill even offer to donate some paypal to you if you did :) I have a NBA forum and am looking for a mod that could display scores and matches :)

keep up the good work my friend

rinkrat 04-27-2007 02:43 AM

Any chance in getting NHL hockey too?

dragonlove 04-27-2007 07:57 AM

Quote:

Originally Posted by TVNettet (Post 1212440)
Fatal error: Call to undefined function curl_init() in /var/www/tvnettet.com/forum/livescores.php on line 173

Will of course mark as installed, once I get it going :-)

I have the same error.

I couldn't find any instruction on how to use curl, upload all files in that folder to the root forum???

I just upload it, and import the xml, but the err same asTVNette occured.

Thank you in advanced

lebanon 04-27-2007 08:12 AM

dragonlove, curl should be installed by your host its a requirement for this to work !

dragonlove 04-27-2007 08:24 AM

Quote:

Originally Posted by lebanon (Post 1236301)
dragonlove, curl should be installed by your host its a requirement for this to work !

Thank you on this help, however, if I use xampp or somethin' like that to run the forum on my localhost, does this work? both the 2 ways fopen and curl?

bazzup 04-27-2007 09:32 AM

Is it just the way i have installed it or is this very slow loading up?

also when i first had it up it showed the games for today now nothing seems to be there the template is but no games please help

*edit* i first used the images from forum folder that worked, over witten the images from curl folder thats when it started slowing up and not showing games/matches i put the images back from forum folder and it now works great thankyou great addition to my forums.

all the best

bazz

dragonlove 04-27-2007 11:23 AM

In my php info :

Code:

allow_url_fopen        :  On        On

Error when accessing livescore.php :

Code:

Warning: include() [function.include]: URL file-access is disabled in the server configuration in \livescores.php on line 174

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

Warning: include() [function.include]: Failed opening 'http://www.ns2.us/soccerfeed/slab/livescores.php' for inclusion (include_path='.;\xampp\php\pear\') in \livescores.php on line 174


lebanon 04-27-2007 11:34 AM

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.


All times are GMT. The time now is 07:58 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.01791 seconds
  • Memory Usage 1,820KB
  • 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
  • (2)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
  • (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