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)

ForceHSS 08-19-2014 05:45 PM

Quote:

Originally Posted by LuisUrquilla (Post 2512009)
I'm not clear, is this a REAL betting mod? If it is, do I monetize from it? thanks.

You cant make cash from it if that is what you are asking

wEbAddEr 10-30-2014 05:43 PM

i got this error with vb4.2.2pl2 when adding a league

Warning: Only variables should be passed by reference in ..../includes/vbsoccer_services.php on line 307

ForceHSS 10-30-2014 08:01 PM

its only a warning not a error. If you have not put in the fixes for 4.2.2 you will get the warnings. Also as it is not made for that version best not to use it for 4.2.2

wEbAddEr 10-30-2014 08:08 PM

ok thx for the response :)
Will do the fixes now

MrD 11-08-2014 10:58 AM

Hi,
for all that use the actually Vb Patch Level.
The Addon are not Connecting to the Dataserver.

Fix: use an Old includes/class_vurl.php from vb 4.2.2 PL1 or earlier.
The Class_vurl.php from Patch Level 2 are not Compatible with the Addon.

nektar 11-09-2014 06:23 AM

Quote:

Originally Posted by MrD (Post 2521911)
Hi,
for all that use the actually Vb Patch Level.
The Addon are not Connecting to the Dataserver.

Fix: use an Old includes/class_vurl.php from vb 4.2.2 PL1 or earlier.
The Class_vurl.php from Patch Level 2 are not Compatible with the Addon.

Thanks. Is it safe to use the old class? Are you going to fix the addon to be compatible with the new patch level?

Regards.

MrD 11-09-2014 05:06 PM

Hi Nektar
I am not the Coder.

Marv 12-20-2014 05:09 PM

Is there anything broken with the data provider? In our installation the last time the data was updated is December, 14th. When I hit the update now button, it seems that nothing happens and the "last update" date stay december, 14. Any ideas?

MrD 01-17-2015 03:52 PM

1 Attachment(s)
Hi everyone,
Boothby has provided a patch, where the original class_vurl.php no longer must be replaced.
Please also copy the attached file in the includes folder and change as follows in the vbsoccer_services.php following lines

Open vbsoccer_services.php and find:
PHP Code:

require_once DIR '/includes/class_vurl.php'

Change to
PHP Code:

require_once DIR '/includes/class_vurl_legacy.php'

and
PHP Code:

$vurl = new vB_vURL($this->registry); 

change to

PHP Code:

$vurl = new vB_vURL_Legacy($this->registry); 

Thank Boothby for the Permission to Share this ;)

tekram 02-14-2015 09:53 AM

vbsoccer_services.php

Not vbsocker_services.php or not?

Marv 02-14-2015 10:01 AM

Quote:

Originally Posted by tekram (Post 2537385)
vbsoccer_services.php

Not vbsocker_services.php or not?

Ermm....what?:confused:

ForceHSS 02-14-2015 10:04 AM

Quote:

Originally Posted by Marv (Post 2537386)
Ermm....what?:confused:

Read post 1569 to understand

Marv 02-14-2015 10:21 AM

Of course vbsoccer_services.php as the other one doesn?t exist.

--

Marcus, ?nder mal die Socke besser in soccer ;)

tekram 02-14-2015 01:40 PM

The Sidebar on Forumhome have the same Problem with no name.

blue6995 03-02-2015 07:03 AM

Strange! I have done the changes suggested by MrD but it is still not updating

madddenaddicto 05-23-2015 12:24 AM

Copa america available???

nick-harper 07-07-2015 06:37 AM

Hi

Will leagues be added again for this season?

eisb?renforum 07-10-2015 04:45 AM

15 leaguages has already been added :)

nick-harper 07-10-2015 05:03 AM

Thankyou.

Do you know when the English leagues will be added? (League One)

motd2 07-11-2015 10:46 AM

Look here https://twitter.com/vbsoccer_

biftek 07-14-2015 08:47 AM

how hard would it be to modify it to cover australian rules football

Jari37 07-20-2015 04:46 PM

No Premier League yet?

motd2 07-21-2015 03:40 AM

Quote:

Originally Posted by Jari37 (Post 2550870)
No Premier League yet?

Added

Jari37 07-21-2015 09:50 AM

Quote:

Originally Posted by motd2 (Post 2550905)
Added

Many thanks!

nick-harper 07-25-2015 07:20 AM

Any idea on League One? Is it possible for people to manually add them if it comes to it?

Happy to pay a subscription also for the service.

motd2 07-27-2015 06:57 AM

Quote:

Originally Posted by nick-harper (Post 2551297)
Any idea on League One?

Added :)

nick-harper 07-27-2015 07:00 AM

Thankyou very much :)

tekram 07-27-2015 12:58 PM

Runs the Soccer Game here with the new vBulletin 4.2.3?

motd2 07-27-2015 07:29 PM

Quote:

Originally Posted by tekram (Post 2551476)
Runs the Soccer Game here with the new vBulletin 4.2.3?

need to make changes
https://vborg.vbsupport.ru/showpost....postcount=1569

nick-harper 07-27-2015 07:46 PM

Does anybody know why I can't see past page 1 of the rankings?

The link it tries to go to is:

/vbsoccer.php?page=2do=ranking&l=9

But it redirects to "Matches within the next 3 days"

nick-harper 07-27-2015 07:57 PM

Looks like the page needs to be /vbsoccer.php?do=ranking&l=9&pagenumber=2 to work.

Or /vbsoccer.php?page=2&do=ranking&l=9

So it is just missing the & between 2 and do

5starpool 08-09-2015 09:04 AM

I'm getting an sql error on the rankings page for the English Premier League. It is ok for the other league I have set up on my forum.

Here is what my error is:

Quote:

Database error in vBulletin 3.8.8:

Invalid SQL:

SELECT
b.`userid`, `match_day`,
COUNT(*) AS `bets`,
SUM(`score_key`>0) AS 'evaluated',
SUM(`score_key`>0 AND `score_key` != `bet_score_key`) AS 'wr',
SUM(`score_key`>0 AND `bet_home`=`points_home` AND `bet_away`=`points_away`) AS 'rr',
SUM(`score_key`>0 AND CAST(`bet_home`-`bet_away` AS SIGNED)=(`points_home`-`points_away`) AND NOT (`bet_home`=`points_home` AND `bet_away`=`points_away`)) AS 'rd'
FROM `soccer_user_bet` b
INNER JOIN `soccer_match` m ON (m.`id`=b.`match_id`)
WHERE m.`league_id`=32 GROUP BY `match_day`, b.`userid`;

MySQL Error : BIGINT UNSIGNED value is out of range in '(`dbname_dbforum`.`b`.`bet_home` - `dbname_dbforum`.`b`.`bet_away`)'
Error Number : 1690
Request Date : Sunday, August 9th 2015 @ 10:51:44 AM
Error Date : Sunday, August 9th 2015 @ 10:51:44 AM
Script : http://www.myurl.com/forum/vbsoccer....enumber=1&l=32
Referrer : http://www.myurl.com/forum/vbsoccer....=35&do=ranking
IP Address : 109.79.231.253
Username : xxxx
Classname : vB_Database
MySQL Version : 5.6.23
Has anyone got any suggestions on how to fix this?

motd2 08-09-2015 05:27 PM

MySQL problem )

vbsoccer.php
find twice this code
Code:

CAST(`bet_home`-`bet_away` AS SIGNED)
replace twice this code
Code:

CAST(`bet_home` AS SIGNED) - CAST(`bet_away` AS SIGNED)
next
includes/functions_vbsoccer.php
find
Code:

CAST(bet_home - bet_away AS SIGNED)
replace
Code:

CAST(bet_home AS SIGNED) - CAST(bet_away AS SIGNED)

Braddock 08-10-2015 09:23 AM

I made the changes from #1569 but i am not able to update! :(
Any suggestions?

motd2 08-10-2015 09:41 AM

Quote:

Originally Posted by Braddock (Post 2552552)
Any suggestions?

try to return
Code:

$vurl = new vB_vURL($this->registry);

5starpool 08-10-2015 10:06 PM

Quote:

Originally Posted by motd2 (Post 2552524)
MySQL problem )

vbsoccer.php
find twice this code
Code:

CAST(`bet_home`-`bet_away` AS SIGNED)
replace twice this code
Code:

CAST(`bet_home` AS SIGNED) - CAST(`bet_away` AS SIGNED)
next
includes/functions_vbsoccer.php
find
Code:

CAST(bet_home - bet_away AS SIGNED)
replace
Code:

CAST(bet_home AS SIGNED) - CAST(bet_away AS SIGNED)

Works a treat, thank you so much.

TiKu 08-23-2015 02:36 PM

Is there any way to make this add-on work with mobile style? All I get in mobile style is a blank page.

johon 09-14-2015 10:17 AM

Does anybody know if Euro League will be available?

tekram 09-17-2015 04:40 AM

No. I?ve send AA_ some Message but no Reply.

The European League will start today :(

5starpool 09-19-2015 12:42 PM

My results aren't updating any more in this. There are a couple of games recently that didn't get the result through, and now it hasn't updated data since Sep 14th, and pressing the 'get updated data' button doesn't update it.

Is there anyway to fix this that doesn't involve deleting and readding the league? I'm not sure if that would fix it either, but I don't want to lose entered results as there are competitions ongoing, but it's useless at the minute.


All times are GMT. The time now is 04:23 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.02946 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
  • (9)bbcode_code_printable
  • (4)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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