Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Soccer Betting Game ("Fussball-Tippspiele") Details »»
Soccer Betting Game ("Fussball-Tippspiele")
Version: 1.4.25, by AA_ AA_ is offline
Developer Last Online: Aug 2013 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 4.0.3 Rating:
Released: 03-10-2010 Last Update: 08-29-2012 Installs: 446
DB Changes Uses Plugins
Additional Files Is in Beta Stage  
No support by the author.

More than 20 soccer leagues and competitions in a single Bet!

FEATURES
  • No results input by administrators or moderators!
    Results and fixtures come from our own data service
  • Configurable scoring
  • Season archives with all schedules, tips and points
  • League tables, crosstabs, group tables
  • Configurable Match Preview (Next x Days)
  • Rankings
  • Hall of Fame of the best 3 tipsters from all competitions and seasons
  • Result entry by user
    Users can also report results for current games themselves. These results will be reported to the data service, which these other forums is directly available. Distributed reporting game results!
  • E-mail reminder
  • Users can even select it to see what competitions
  • Users can determine the color of the points themselves
  • Modification or translation of any team name and the name of competition
  • Configurable menu grouping for Competitions
  • Details of fixtures
  • Interface to report false results or fixtures in our data service
  • Show the tips of other users
  • Optional integration of club logos and association logos
  • Available in multiple languages and character encodings
  • Forum sidebar manager
  • Ad management
  • Continuous improvement and development
  • and much more...

vbsoccer-mailing list

Download Now

File Type: zip vbsoccer_vb4_en_1.4.25RC8.zip (522.7 KB, 666 views)
File Type: zip vbsoccer_vb4_de_1.4.25RC8.zip (523.2 KB, 282 views)

Screenshots

File Type: jpg Bildschirmfoto 2010-03-12 um 00.33.24.jpg (89.6 KB, 0 views)
File Type: jpg Bildschirmfoto 2010-04-08 um 22.38.53.jpg (104.1 KB, 0 views)
File Type: jpg Bildschirmfoto 2010-04-08 um 22.38.09.jpg (92.6 KB, 0 views)
File Type: jpg Bildschirmfoto 2010-04-08 um 22.37.19.jpg (110.6 KB, 0 views)
File Type: jpg Bildschirmfoto 2010-04-08 um 22.36.11.jpg (95.6 KB, 0 views)
File Type: jpg Bildschirmfoto 2010-04-08 um 22.35.20.jpg (77.6 KB, 0 views)
File Type: jpg Bildschirmfoto 2010-04-08 um 22.34.28.jpg (116.1 KB, 0 views)
File Type: jpg Bildschirmfoto 2010-04-08 um 22.28.08.jpg (110.0 KB, 0 views)

Supporters / CoAuthors

    Show Your Support

    • This modification may not be copied, reproduced or published elsewhere without author's permission.
    5 благодарности(ей) от:
    baskan35, beertruck, gothi, tekram, zorcocuq

    Comments
      #1622  
    Old 09-23-2015, 03:02 PM
    nick-harper nick-harper is offline
     
    Join Date: Jun 2008
    Posts: 163
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by blue6995 View Post
    Nick, are you going to host this? I still can't update the results.
    If the person who hosts it at the minute (I am not sure if it is the author) is having issues then I'd be happy to.

    I'd need them to get in touch though as it would need things like the data source etc setting on the server as well as the dns so it is not something I could do myself without their input
    Reply With Quote
      #1623  
    Old 09-23-2015, 03:03 PM
    nick-harper nick-harper is offline
     
    Join Date: Jun 2008
    Posts: 163
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by TiKu View Post
    Do I misunderstand the script or is the automatic update working again? I started to try the script from nick-harper (many thanks btw). But before I clicked "Update", all results have been filled in in the forum?!

    I wish it did fix the automatic update, it sounds like it may have started to work again. I haven't got any games until Saturday so will see then if it updates or not.
    Reply With Quote
      #1624  
    Old 09-23-2015, 09:43 PM
    ArcadeSyndicate's Avatar
    ArcadeSyndicate ArcadeSyndicate is offline
     
    Join Date: Oct 2008
    Location: Germany
    Posts: 298
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    <a href="http://www.vbulletin-germany.org/showthread.php?5275-fussball-tippspiele&p=84751#post84751" target="_blank">http://www.vbulletin-germany.org/sho...4751#post84751</a>

    it says the bundesliga was updated and the european league added yesterday.
    Reply With Quote
      #1625  
    Old 09-25-2015, 06:09 AM
    blue6995 blue6995 is offline
     
    Join Date: Oct 2005
    Posts: 207
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I have the UK Saturday Games but it appears that the Premiership results were last updated: (Last Update: 21-08-2015, 18:17)
    Reply With Quote
      #1626  
    Old 11-29-2015, 04:50 PM
    Antonio Pereira Antonio Pereira is offline
     
    Join Date: Sep 2007
    Posts: 104
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by Martin64 View Post
    The mod is working fine and the leagues are updated regularly. If you're having issues, read on.

    Starting with vBulletin 4.2.3 (I think, I skipped a couple of 4.2.2 PL versions), fsockopen support was dropped by vBulletin. I think it was dropped for security reasons, I haven't looked into it though. What this means is that your forum is unable to connect to the league update database since it's using fsockopen to communicate.

    To find out if this is the reason your leagues aren't being updated automatically, go to Admin CP > Football Betting > Diagnostics. The response code of XML-RPC Client-Test ("ping?") should be "pong". If it says "error", do this to re-enable fsockopen support:

    Open includes/class_vurl.php

    Search for

    PHP Code:
    var $classnames = array('cURL'); 
    Replace with:

    PHP Code:
    var $classnames = array('cURL''fsockopen'); 
    Right at the bottom of the file, search for:

    PHP Code:
    return VURL_HANDLED;
            }
            return 
    VURL_NEXT;
        }

    Below it, add:

    PHP Code:
    class vB_vURL_fsockopen        
    {        
        
    /**        
        * String that holds the cURL callback data        
        *        
        * @var    string        
        */        
        
    var $response_text '';        
        
    /**        
        * String that holds the cURL callback data        
        *        
        * @var    string        
        */        
        
    var $response_header '';        
        
    /**        
        * vB_vURL object        
        *        
        * @var    object        
        */        
        
    var $vurl null;        
        
    /**        
        * Filepointer to the temporary file        
        *        
        * @var    resource        
        */        
        
    var $fp null;        
        
    /**        
        * Length of the current response        
        *        
        * @var    integer        
        */        
        
    var $response_length 0;        
        
    /**        
        * If the current result is when the max limit is reached        
        *        
        * @var    integer        
        */        
        
    var $max_limit_reached false;        
        
    /**        
        * Constructor        
        *        
        * @param    object    Instance of a vB_vURL Object        
        */        
        
    function vB_vURL_fsockopen(&$vurl_registry)        
        {        
            if (!(
    $vurl_registry instanceof vB_vURL))        
            {        
                
    trigger_error('Direct Instantiation of ' __CLASS__ ' prohibited.'E_USER_ERROR);        
            }        
            
    $this->vurl =& $vurl_registry;        
        }        
        
    /**        
         * Tests sockets for ssl support.        
         *        
         * @return    bool    Success        
         *        
         */        
        
    function test_ssl()        
        {        
            return 
    function_exists('openssl_open');        
        }        
        
    /**        
        * Clears all previous request info        
        */        
        
    function reset()        
        {        
            
    $this->response_text '';        
            
    $this->response_header '';        
            
    $this->response_length 0;        
            
    $this->max_limit_reached false;        
        }        
        
    /**        
        * Inflates the response if its gzip or deflate        
        */        
        
    function inflate_response($type)        
        {        
            if (!empty(
    $this->response_text))        
            {        
                switch(
    $type)        
                {        
                    case 
    'gzip':        
                        if (
    $this->response_text[0] == "\x1F" AND $this->response_text[1] == "\x8b")        
                        {        
                            if (
    $inflated = @gzinflate(substr($this->response_text10)))        
                            {        
                                
    $this->response_text $inflated;        
                            }        
                        }        
                    break;        
                    case 
    'deflate':        
                        if (
    $this->response_text[0] == "\x78" AND $this->response_text[1] == "\x9C" AND $inflated = @gzinflate(substr($this->response_text2)))        
                        {        
                            
    $this->response_text $inflated;        
                        }        
                        else if (
    $inflated = @gzinflate($this->response_text))        
                        {        
                            
    $this->response_text $inflated;        
                        }        
                    break;        
                }        
            }        
            else        
            {        
                
    $compressed_file $this->vurl->tmpfile;        
                if (
    $gzfp = @gzopen($compressed_file'r'))        
                {        
                    if (
    $newfp = @fopen($this->vurl->tmpfile 'u''w'))        
                    {        
                        
    $this->vurl->tmpfile $this->vurl->tmpfile 'u';        
                        if (
    function_exists('stream_copy_to_stream'))        
                        {        
                            
    stream_copy_to_stream($gzfp$newfp);        
                        }        
                        else        
                        {        
                            while(!
    gzeof($gzfp))        
                            {        
                                
    fwrite($fpgzread($gzfp20480));        
                            }        
                        }        
                        
    fclose($newfp);        
                    }        
                    
    fclose($gzfp);        
                    @
    unlink($compressed_file);        
                }        
            }        
        }        
        
    /**        
        * Callback for handling the request body        
        *        
        * @param    string        Request        
        *        
        * @return    integer        length of the request        
        */        
        
    function callback_response($response)        
        {        
            
    $chunk_length strlen($response);        
            
    // no filepointer and we're using or about to use more than 100k        
            
    if (!$this->fp AND $this->response_length $chunk_length >= 1024*100)        
            {        
                if (
    $this->fp = @fopen($this->vurl->tmpfile'wb'))        
                {        
                    
    fwrite($this->fp$this->response_text);        
                    unset(
    $this->response_text);        
                }        
            }        
            if (
    $response)        
            {        
                if (
    $this->fp)        
                {        
                    
    fwrite($this->fp$response);        
                }        
                else        
                {        
                    
    $this->response_text .= $response;        
                }        
            }        
            
    $this->response_length += $chunk_length;        
            if (
    $this->vurl->options[VURL_MAXSIZE] AND $this->response_length $this->vurl->options[VURL_MAXSIZE])        
            {        
                
    $this->max_limit_reached true;        
                
    $this->vurl->set_error(VURL_ERROR_MAXSIZE);        
                return 
    false;        
            }        
            return 
    $chunk_length;        
        }        
        
    /**        
        * Performs fetching of the file if possible        
        *        
        * @return    integer        Returns one of two constants, VURL_NEXT or VURL_HANDLED        
        */        
        
    function exec()        
        {        
            static 
    $location_following_count 0;        
            
    $urlinfo $this->vurl->registry->input->parse_url($this->vurl->options[VURL_URL]);        
            if (empty(
    $urlinfo['port']))        
            {        
                if (
    $urlinfo['scheme'] == 'https')        
                {        
                    
    $urlinfo['port'] = 443;        
                }        
                else        
                {        
                    
    $urlinfo['port'] = 80;        
                }        
            }        
            if (empty(
    $urlinfo['path']))        
            {        
                
    $urlinfo['path'] = '/';        
            }        
            if (
    $urlinfo['scheme'] == 'https')        
            {        
                if (!
    function_exists('openssl_open'))        
                {        
                    
    $this->vurl->set_error(VURL_ERROR_SSL);        
                    return 
    VURL_NEXT;        
                }        
                
    $scheme 'ssl://';        
            }        
            if (
    $request_resource = @fsockopen($scheme $urlinfo['host'], $urlinfo['port'], $errno$errstr$this->vurl->options[VURL_TIMEOUT]))        
            {        
                
    $headers = array();        
                if (
    $this->vurl->bitoptions VURL_NOBODY)        
                {        
                    
    $this->vurl->options[VURL_CUSTOMREQUEST] = 'HEAD';        
                }        
                if (
    $this->vurl->options[VURL_CUSTOMREQUEST])        
                {        
                    
    $headers[] = $this->vurl->options[VURL_CUSTOMREQUEST] . $urlinfo[path]. ($urlinfo['query'] ? "?$urlinfo[query]'') . " HTTP/1.0";        
                }        
                else if (
    $this->vurl->bitoptions VURL_POST)        
                {        
                    
    $headers[] = "POST $urlinfo[path]. ($urlinfo['query'] ? "?$urlinfo[query]'') . " HTTP/1.0";        
                    if (empty(
    $this->vurl->headerkey['content-type']))        
                    {        
                        
    $headers[] = 'Content-Type: application/x-www-form-urlencoded';        
                    }        
                    if (empty(
    $this->vurl->headerkey['content-length']))        
                    {        
                        
    $headers[] = 'Content-Length: ' strlen($this->vurl->options[VURL_POSTFIELDS]);        
                    }        
                }        
                else        
                {        
                    
    $headers[] = "GET $urlinfo[path]. ($urlinfo['query'] ? "?$urlinfo[query]'') . " HTTP/1.0";        
                }        
                
    $headers[] = "Host: $urlinfo[host]";        
                if (!empty(
    $this->vurl->options[VURL_HTTPHEADER]))        
                {        
                    
    $headers array_merge($headers$this->vurl->options[VURL_HTTPHEADER]);        
                }        
                if (
    $this->vurl->options[VURL_ENCODING])        
                {        
                    
    $encodemethods explode(','$this->vurl->options[VURL_ENCODING]);        
                    
    $finalmethods = array();        
                    foreach (
    $encodemethods AS $type)        
                    {        
                        
    $type strtolower(trim($type));        
                        if (
    $type == 'gzip' AND function_exists('gzinflate'))        
                        {        
                            
    $finalmethods[] = 'gzip';        
                        }        
                        else if (
    $type == 'deflate' AND function_exists('gzinflate'))        
                        {        
                            
    $finalmethods[] = 'deflate';        
                        }        
                        else        
                        {        
                            
    $finalmethods[] = $type;        
                        }        
                    }        
                    if (!empty(
    $finalmethods))        
                    {        
                        
    $headers[] = "Accept-Encoding: " implode(', '$finalmethods);        
                    }        
                }        
                
    $output implode("\r\n"$headers) . "\r\n\r\n";        
                if (
    $this->vurl->bitoptions VURL_POST)        
                {        
                    
    $output .= $this->vurl->options[VURL_POSTFIELDS];        
                }        
                
    $result false;        
                if (
    fputs($request_resource$outputstrlen($output)))        
                {        
                    
    stream_set_timeout($request_resource$this->vurl->options[VURL_TIMEOUT]);        
                    
    $in_header true;        
                    
    $result true;        
                    while (!
    feof($request_resource))        
                    {        
                        
    $response = @fread($request_resource2048);        
                        if (
    $in_header)        
                        {        
                            
    $header_end_position strpos($response"\r\n\r\n");        
                            if (
    $header_end_position === false)        
                            {        
                                
    $this->response_header .= $response;        
                            }        
                            else        
                            {        
                                
    $this->response_header .= substr($response0$header_end_position);        
                                
    $in_header false;        
                                
    $response substr($response$header_end_position 4);        
                            }        
                        }        
                        if (
    $this->callback_response($response) != strlen($response))        
                        {        
                            
    $result false;        
                            break;        
                        }        
                    }        
                    
    fclose($request_resource);        
                }        
                if (
    $this->fp)        
                {        
                    
    fclose($this->fp);        
                    
    $this->fp null;        
                }        
                if (
    $result !== false OR (!$this->vurl->options[VURL_DIEONMAXSIZE] AND $this->max_limit_reached))        
                {        
                    if (
    $this->vurl->bitoptions VURL_FOLLOWLOCATION AND preg_match("#\r\nLocation: (.*)(\r\n|$)#siU"$this->response_header$location) AND $location_following_count $this->vurl->options[VURL_MAXREDIRS])        
                    {        
                        
    $location_following_count++;        
                        
    $this->vurl->set_option(VURL_URLtrim($location[1]));        
                        
    $this->reset();        
                        return 
    $this->exec();        
                    }        
                    
    // need to handle gzip if it was used        
                    
    if (function_exists('gzinflate'))        
                    {        
                        if (
    stristr($this->response_header"Content-encoding: gzip\r\n") !== false)        
                        {        
                            
    $this->inflate_response('gzip');        
                        }        
                        else if (
    stristr($this->response_header"Content-encoding: deflate\r\n") !== false)        
                        {        
                            
    $this->inflate_response('deflate');        
                        }        
                    }        
                    return 
    VURL_HANDLED;        
                }        
            }        
            return 
    VURL_NEXT;        
        }        

    Save the file and upload. Run the diagnostics again to verify that it's working.

    This dont work for me.
    XML-RPC Client-Test ("ping?") "ERROR!"

    Anyone have this working?
    Reply With Quote
      #1627  
    Old 11-30-2015, 04:30 PM
    MrD's Avatar
    MrD MrD is offline
     
    Join Date: Aug 2003
    Location: Germany/NRW
    Posts: 419
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Hi,
    Take a Look here
    https://vborg.vbsupport.ru/showpost....postcount=1569
    Reply With Quote
      #1628  
    Old 12-07-2015, 08:56 AM
    Antonio Pereira Antonio Pereira is offline
     
    Join Date: Sep 2007
    Posts: 104
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by MrD View Post
    Same problem.

    What is the correct configuration with a new installation?

    Install the vbsoccer_vb4_en_1.4.25RC8.zip and then what?

    Best Regards
    Reply With Quote
      #1629  
    Old 12-17-2015, 06:45 AM
    Antonio Pereira Antonio Pereira is offline
     
    Join Date: Sep 2007
    Posts: 104
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    What is the best way to put this working please
    Reply With Quote
      #1630  
    Old 12-17-2015, 10:22 AM
    MrD's Avatar
    MrD MrD is offline
     
    Join Date: Aug 2003
    Location: Germany/NRW
    Posts: 419
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Hi,
    install the Addon and make the changes.
    Or if you don´t like the Changes use an older class_vurl.php from Vb 4.2.1
    But then you must ever change the File.
    Reply With Quote
      #1631  
    Old 12-19-2015, 07:22 AM
    Antonio Pereira Antonio Pereira is offline
     
    Join Date: Sep 2007
    Posts: 104
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by MrD View Post
    Hi,
    install the Addon and make the changes.
    Or if you don?t like the Changes use an older class_vurl.php from Vb 4.2.1
    But then you must ever change the File.
    OK i install this version vbsoccer_vb4_en_1.4.25RC8.zip and what changes i have to make?


    Best Regards
    Reply With Quote
    Reply


    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 10:36 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.08976 seconds
    • Memory Usage 2,542KB
    • Queries Executed 27 (?)
    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
    • (4)bbcode_php
    • (5)bbcode_quote
    • (1)footer
    • (1)forumjump
    • (1)forumrules
    • (1)gobutton
    • (1)header
    • (1)headinclude
    • (1)modsystem_post
    • (1)navbar
    • (4)navbar_link
    • (120)option
    • (1)pagenav
    • (1)pagenav_curpage
    • (4)pagenav_pagelink
    • (3)pagenav_pagelinkrel
    • (11)post_thanks_box
    • (5)post_thanks_box_bit
    • (11)post_thanks_button
    • (1)post_thanks_javascript
    • (1)post_thanks_navbar_search
    • (1)post_thanks_postbit
    • (11)post_thanks_postbit_info
    • (10)postbit
    • (10)postbit_attachment
    • (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
    • fetch_musername
    • post_thanks_function_fetch_thanks_end
    • post_thanks_function_thanked_already_start
    • post_thanks_function_thanked_already_end
    • post_thanks_function_fetch_thanks_bit_start
    • post_thanks_function_show_thanks_date_start
    • post_thanks_function_show_thanks_date_end
    • post_thanks_function_fetch_thanks_bit_end
    • post_thanks_function_fetch_post_thanks_template_start
    • post_thanks_function_fetch_post_thanks_template_end
    • postbit_imicons
    • bbcode_parse_start
    • bbcode_parse_complete_precache
    • bbcode_parse_complete
    • postbit_attachment
    • postbit_display_complete
    • post_thanks_function_can_thank_this_post_start
    • pagenav_page
    • pagenav_complete
    • tag_fetchbit_complete
    • forumrules
    • navbits
    • navbits_complete
    • showthread_complete