vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Integration with vBulletin - Soccer Betting Game ("Fussball-Tippspiele") (https://vborg.vbsupport.ru/showthread.php?t=238043)

Antonio Pereira 04-18-2010 06:36 PM

In Usergroup Maganer have 2 Options.
Quote:

Is allowed to submit bets?
Is allowed to submit match results?
What this means?

The first one i understand but the other i dont understand....


Best Regards

Bacon Butty 04-18-2010 07:05 PM

Quote:

Originally Posted by AA_ (Post 2023284)
Incorrect results are automatically corrected later. do not worry, that's all well thought out and secured.

I dont think you understood me.

I meant I hope the dedication behind it continues. In other words, you good folks keep kindly updating it as often as you do! :)

AA_ 04-19-2010 05:35 AM

We started in 2004. We have not found any reliable free services for an automation.
so we have our own service programmed and started.
the alpha / beta phase has started in november 2008. the first public version there since January 2009. without problems, and reliable.
will continue to do so, because this is not a one-man-show.

I understand you correctly? :)

share4vn.com 04-19-2010 10:41 AM

Thanks for great mod :)

I have a idea, can u combine the cumulative points for the ucash points system?

im sorry if it annoys u. thanks :)

AliMadkour 04-20-2010 09:49 AM

excellent mod !

can I add Egyptian league! :D:D:D

IR15H 04-20-2010 03:25 PM

I think there's a problem if you add the same league for different seasons.

To reproduce;
  1. ADMIN CP > Fussball-Tippspiele > Navgroups/Categories > Title: Test
  2. ADMIN CP > Fussball-Tippspiele > League Manager> Add League > Select "1. Bundesliga 2009/2010" > Import
  3. ADMIN CP > Fussball-Tippspiele > League Manager> Add League > Select "1. Bundesliga 2008/2009" > Import
  4. ADMIN CP > Fussball-Tippspiele > League Manager> Edit (either league) > Change Navgroup/Category to Test > Save

Both leagues will be in the Test category, despite only moving one. This appears to happen with all the 2009/10 leagues that have 2008/09 seasons.

Apart from that, looks good so far on my test site! :)

AA_ 04-20-2010 05:13 PM

Quote:

Originally Posted by IR15H (Post 2024381)
I think there's a problem if you add the same league for different seasons.

To reproduce;
  1. ADMIN CP > Fussball-Tippspiele > Navgroups/Categories > Title: Test
  2. ADMIN CP > Fussball-Tippspiele > League Manager> Add League > Select "1. Bundesliga 2009/2010" > Import
  3. ADMIN CP > Fussball-Tippspiele > League Manager> Add League > Select "1. Bundesliga 2008/2009" > Import
  4. ADMIN CP > Fussball-Tippspiele > League Manager> Edit (either league) > Change Navgroup/Category to Test > Save

Both leagues will be in the Test category, despite only moving one. This appears to happen with all the 2009/10 leagues that have 2008/09 seasons.

Apart from that, looks good so far on my test site! :)

yes this is an intelligent system - no error.
the same happens even with the change of display order.

IR15H 04-20-2010 05:46 PM

Quote:

Originally Posted by AA_ (Post 2024428)
yes this is an intelligent system - no error.
the same happens even with the change of display order.

Hmm okay then, is there a way I can separate them so I can display it by seasons to the end user (on forum/vbsoccer.php) rather than by leagues?

I want to have a layout something like;
  • Current Season (2009/10)
    • League 1
    • League 2
    • League 3
  • Last Season (2008/09)
    • League 1
    • League 2
    • League 3
  • Older Seasons (<2008)
    • League 1
    • League 2
    • League 3
  • etc.

If I try to move a 2008/09 league to my new 08/09 category then it moves the 09/10 league to it as well which I'm trying to avoid.

AA_ 04-20-2010 06:07 PM

Quote:

Originally Posted by IR15H (Post 2024446)
Hmm okay then, is there a way I can separate them so I can display it by seasons to the end user (on forum/vbsoccer.php) rather than by leagues?

I want to have a layout something like;
  • Current Season (2009/10)
    • League 1
    • League 2
    • League 3
  • Last Season (2008/09)
    • League 1
    • League 2
    • League 3
  • Older Seasons (<2008)
    • League 1
    • League 2
    • League 3
  • etc.

If I try to move a 2008/09 league to my new 08/09 category then it moves the 09/10 league to it as well which I'm trying to avoid.

find in 'admincp/vbsoccer_admin.php' (line ~1039):

PHP Code:

    $db->query_write("
        UPDATE `" 
TABLE_PREFIX "soccer_league`
        SET `visible`=" 
$vbulletin->GPC['visible'] . ",
            `description`='" 
$db->escape_string(trim($vbulletin->GPC['description'])) . "',
            `showteamicons`=" 
$vbulletin->GPC['showteamicons'] . $unset_logo_sql ",
            `readonly`=" 
$vbulletin->GPC['readonly'] . "
        WHERE `id`=" 
$vbulletin->GPC['leagueid'] . "
        "
);

    
// navigationsgruppe aller wettbewerbe gleichen types updaten
    
$db->query_write("
        UPDATE `" 
TABLE_PREFIX "soccer_league`
        SET `groupid`=" 
$vbulletin->GPC['groupid'] . "
        WHERE `sd_shortname`='" 
$db->escape_string($leagueinfo['sd_shortname']) . "'
        "
); 

... and replace with:

PHP Code:

    $db->query_write("
        UPDATE `" 
TABLE_PREFIX "soccer_league`
        SET `visible`=" 
$vbulletin->GPC['visible'] . ",
            `description`='" 
$db->escape_string(trim($vbulletin->GPC['description'])) . "',
            `showteamicons`=" 
$vbulletin->GPC['showteamicons'] . $unset_logo_sql ",
            `readonly`=" 
$vbulletin->GPC['readonly'] . ",
            `groupid`=" 
$vbulletin->GPC['groupid'] . "
        WHERE `id`=" 
$vbulletin->GPC['leagueid'] . "
        "
); 

in the next update this is optional as a feature (no automatic assignment).

IR15H 04-20-2010 07:23 PM

Quote:

Originally Posted by AA_ (Post 2024456)
find in 'admincp/vbsoccer_admin.php' (line ~1039):

PHP Code:

    $db->query_write("
        UPDATE `" 
TABLE_PREFIX "soccer_league`
        SET `visible`=" 
$vbulletin->GPC['visible'] . ",
            `description`='" 
$db->escape_string(trim($vbulletin->GPC['description'])) . "',
            `showteamicons`=" 
$vbulletin->GPC['showteamicons'] . $unset_logo_sql ",
            `readonly`=" 
$vbulletin->GPC['readonly'] . "
        WHERE `id`=" 
$vbulletin->GPC['leagueid'] . "
        "
);

    
// navigationsgruppe aller wettbewerbe gleichen types updaten
    
$db->query_write("
        UPDATE `" 
TABLE_PREFIX "soccer_league`
        SET `groupid`=" 
$vbulletin->GPC['groupid'] . "
        WHERE `sd_shortname`='" 
$db->escape_string($leagueinfo['sd_shortname']) . "'
        "
); 

... and replace with:

PHP Code:

    $db->query_write("
        UPDATE `" 
TABLE_PREFIX "soccer_league`
        SET `visible`=" 
$vbulletin->GPC['visible'] . ",
            `description`='" 
$db->escape_string(trim($vbulletin->GPC['description'])) . "',
            `showteamicons`=" 
$vbulletin->GPC['showteamicons'] . $unset_logo_sql ",
            `readonly`=" 
$vbulletin->GPC['readonly'] . ",
            `groupid`=" 
$vbulletin->GPC['groupid'] . "
        WHERE `id`=" 
$vbulletin->GPC['leagueid'] . "
        "
); 

in the next update this is optional as a feature (no automatic assignment).

Excellent, thanks :).


All times are GMT. The time now is 11: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.02275 seconds
  • Memory Usage 1,801KB
  • 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
  • (4)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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