[ABD] Sportsbook - Ultimate Soccer

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
bin2003
Registered User
Posts: 27
Joined: Thu Nov 11, 2010 6:56 am

Re: [BETA] phpBB Sportsbook Lite (sports prediction system)

Post by bin2003 » Fri Aug 05, 2011 3:47 am

$tring wrote:Hi,

Which browser are you using? Also, could you pm a link to your site?

Thanks
I used Chrome browser. I also tried on some browsers (Firefox, Explorer). All cases, the form bar were same picture even if I clear browser's cache

User avatar
$tring
Registered User
Posts: 233
Joined: Thu Mar 31, 2011 11:30 pm

Re: [BETA] phpBB Sportsbook Lite (sports prediction system)

Post by $tring » Fri Aug 05, 2011 5:56 am

bin2003 wrote:
$tring wrote:Hi,

Which browser are you using? Also, could you pm a link to your site?

Thanks
I used Chrome browser. I also tried on some browsers (Firefox, Explorer). All cases, the form bar were same picture even if I clear browser's cache
I'm not seeing this error, and no-one else has reported it. Unfortunately your site still appears to be down, so I can't check it out for you.

What style are you using?

User avatar
$tring
Registered User
Posts: 233
Joined: Thu Mar 31, 2011 11:30 pm

Re: [BETA] phpBB Sportsbook Lite (sports prediction system)

Post by $tring » Fri Aug 05, 2011 9:54 am

Upgraded to Version 0.2.3-beta

Download

Changelog

Code: Select all

2011-08-05 - Version0.2.3-beta

[NEW] Added support for independent styles for Sportsbook
Please see contrib directory for information on how to set an independent style for your Sportsbook.

8-)

Hessie
Registered User
Posts: 25
Joined: Fri Nov 02, 2007 6:42 pm

Re: [BETA] phpBB Sportsbook Lite (sports prediction system)

Post by Hessie » Fri Aug 05, 2011 10:03 am

Hi $tring,

I've installed the 0.2.2 version on my new site I'm working on.

This site is phpbb 3.0.9 but with a portal mod (incl 3th party mods)
The portal mod is the Portal XL 5.0 ~ Premod 0.4

Did a clean install of phpbb 3.0.9 and Portal XL.
After that I changed the files for the Sportsbook mod and uploaded the files.
When I run the install_sportsbook022.php I get a blanc screen.
Also when I try to access the ACP I get a blanc screen.

I also made the changes for the language files in the dutch files, also uploaded the files into the dutch language folder.

Do you have an idea what goes wrong ?

I've pm-ed the url of the site.

User avatar
$tring
Registered User
Posts: 233
Joined: Thu Mar 31, 2011 11:30 pm

Re: [BETA] phpBB Sportsbook Lite (sports prediction system)

Post by $tring » Fri Aug 05, 2011 10:16 am

Hessie,

I'm catching a flight soon, so I am unable to view your site until later.

Download version 0.2.3 as it supports independent styles and this may be beneficial to you seeing as you are not using prosilver style.

The installer is handled by umil. Do you have umil installed?

Hessie
Registered User
Posts: 25
Joined: Fri Nov 02, 2007 6:42 pm

Re: [BETA] phpBB Sportsbook Lite (sports prediction system)

Post by Hessie » Fri Aug 05, 2011 10:25 am

$tring wrote: Download version 0.2.3 as it supports independent styles and this may be beneficial to you seeing as you are not using prosilver style.
I'll give it a try
$tring wrote:The installer is handled by umil. Do you have umil installed?
Don't think so, I'll find out.

Thanks for the help, you'll if it's fixed ;)

User avatar
$tring
Registered User
Posts: 233
Joined: Thu Mar 31, 2011 11:30 pm

Re: [BETA] phpBB Sportsbook Lite (sports prediction system)

Post by $tring » Fri Aug 05, 2011 1:17 pm

There's been a small bug in the latest release. Only a couple of you have installed it, and it's now been resolved. The latest mod download has the up to date patch file, so you only need to apply this fix if you are receiving the following error:

Code: Select all

[phpBB Debug] PHP Notice: in file /sportsbook.php on line 26: Undefined index: sportsbook_style
To solve this:

Open phpmyadmin

Run the following query:

Code: Select all

INSERT INTO  `phpbb_config` (
`config_name` ,
`config_value` ,
`is_dynamic`
)
VALUES (
'sportsbook_style',  '0',  '0'
);
Then, run this query:

Code: Select all

DELETE FROM `phpbb_sportsbook_config` WHERE `phpbb_sportsbook_config`.`config_name` = CAST(0x73706f727473626f6f6b5f7374796c65 AS BINARY);
Finally, go to the ACP and purge your cache.

To recap:

The latest download does not require this fix. You only need to apply this fix if you receive the error:

Code: Select all

[phpBB Debug] PHP Notice: in file /sportsbook.php on line 26: Undefined index: sportsbook_style
Thanks
$

bin2003
Registered User
Posts: 27
Joined: Thu Nov 11, 2010 6:56 am

Re: [BETA] phpBB Sportsbook Lite (sports prediction system)

Post by bin2003 » Sat Aug 06, 2011 1:57 am

$tring wrote:I'm not seeing this error, and no-one else has reported it. Unfortunately your site still appears to be down, so I can't check it out for you.

What style are you using?
I'm using Prosilver Special Edition style.
Haven't you still load my site yet?

User avatar
$tring
Registered User
Posts: 233
Joined: Thu Mar 31, 2011 11:30 pm

Re: [BETA] phpBB Sportsbook Lite (sports prediction system)

Post by $tring » Sat Aug 06, 2011 6:35 am

bin2003 wrote:
$tring wrote:I'm not seeing this error, and no-one else has reported it. Unfortunately your site still appears to be down, so I can't check it out for you.

What style are you using?
I'm using Prosilver Special Edition style.
Haven't you still load my site yet?
Hi,

I have accessed your site now. The version of prosilver you are using is very narrow. This is unsuitable for The Sportsbook, because there is too much data to display on such a short width.

Please make this file edit in order to let us view your Sportsbook on a more suitable width:

[OPEN]
styles/prosilver/theme/common.css

[FIND]

Code: Select all

#wrap {
	padding: 0 20px;
	min-width: 650px;
	width: 900px;
	margin: 0 auto;
}
[REPLACE WITH]

Code: Select all

#wrap {
	padding: 0 20px;
	min-width: 650px;
	/*width: 900px;*/
	margin: 0 auto;
}
This will maximise the viewing width.

You will also need to update to Sportsbook ver. 0.2.3-beta so that you can choose an independent style for your Sportsbook.

$

kickball365
Registered User
Posts: 101
Joined: Thu Jul 13, 2006 2:48 am
Contact:

Re: [BETA] phpBB Sportsbook Lite (sports prediction system)

Post by kickball365 » Sat Aug 06, 2011 3:47 pm

Seems if you install with other styles installed but not activated you get this:
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3235: file(./styles/iphone/imageset/imageset.cfg) [function.file]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3238: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3235: file(./styles/phpbb_iphone/imageset/imageset.cfg) [function.file]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3238: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3235: file(./styles/absolution/imageset/imageset.cfg) [function.file]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3238: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3235: file(./styles/iphone/imageset/imageset.cfg) [function.file]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3238: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3235: file(./styles/phpbb_iphone/imageset/imageset.cfg) [function.file]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3238: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3235: file(./styles/absolution/imageset/imageset.cfg) [function.file]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3238: Invalid argument supplied for foreach()
I see this warning and nothing below...

User avatar
$tring
Registered User
Posts: 233
Joined: Thu Mar 31, 2011 11:30 pm

Re: [BETA] phpBB Sportsbook Lite (sports prediction system)

Post by $tring » Sat Aug 06, 2011 9:35 pm

kickball365 wrote:Seems if you install with other styles installed but not activated you get this:
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3235: file(./styles/iphone/imageset/imageset.cfg) [function.file]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3238: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3235: file(./styles/phpbb_iphone/imageset/imageset.cfg) [function.file]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3238: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3235: file(./styles/absolution/imageset/imageset.cfg) [function.file]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3238: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3235: file(./styles/iphone/imageset/imageset.cfg) [function.file]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3238: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3235: file(./styles/phpbb_iphone/imageset/imageset.cfg) [function.file]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3238: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3235: file(./styles/absolution/imageset/imageset.cfg) [function.file]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 3238: Invalid argument supplied for foreach()
I see this warning and nothing below...
Deactivated styles do not cause this error. It appears you have a missing config file.

Do you have a style called phpbb_iphone, and if so could you check that you have a file in the imageset directory named imageset.cfg

cm_
Registered User
Posts: 21
Joined: Mon Apr 18, 2011 2:30 pm

Re: [BETA] phpBB Sportsbook Lite (sports prediction system)

Post by cm_ » Sun Aug 07, 2011 5:08 pm

Hi,

is it possible to deactivate the deduction of points for incorrect results?

Thanks in advance

User avatar
$tring
Registered User
Posts: 233
Joined: Thu Mar 31, 2011 11:30 pm

Re: [BETA] phpBB Sportsbook Lite (sports prediction system)

Post by $tring » Sun Aug 07, 2011 5:51 pm

cm_ wrote:Hi,

is it possible to deactivate the deduction of points for incorrect results?

Thanks in advance
It is essential to the game that a points deduction system is in place. Consider that user A predicts 200 matches, and he gets 20 correct scores. At 5 points per correct score, he will have a total of 100 points. If user B predicts 50 matches, and he gets 15 correct scores he will have 75 points.

In the example above, User A will top the leaderboard. However User A's success rate is 10%. User B's success rate is 30%.

When we have even just 1 point deducted for incorrect score, then User A would have -80 points, whereas User B would have 40 points. This reflects more accurately the success rate of each player.

Having 0 points deducted makes the game imbalanced, less a game of skill & knowledge and more a game of chance and who places the most predictions.

Do you have a reason to have a zero points deduction that I have not taken into account?

Thanks
$

cm_
Registered User
Posts: 21
Joined: Mon Apr 18, 2011 2:30 pm

Re: [BETA] phpBB Sportsbook Lite (sports prediction system)

Post by cm_ » Sun Aug 07, 2011 6:09 pm

Hey,

thanks for your answer. There is no special reason to get rid of the deduction system
but I would like to have the possibility to turn it off. So you have an idea what to do
to turn it off? It would be enough to tell me in which file I have to look for the code,
I was trying to find the file today but didn't find anything that would help.

Thanks

Link05
Registered User
Posts: 56
Joined: Thu Feb 12, 2009 5:40 pm

Re: [BETA] phpBB Sportsbook Lite (sports prediction system)

Post by Link05 » Sun Aug 07, 2011 6:28 pm

When I am going to create a league the next mistake appears:

Code: Select all

SQL ERROR [ mysql4 ]

Field 'league_id' doesn't have a default value [1364]

SQL

INSERT INTO phpbb_sportsbook_leagues (league_name) VALUES ('123')

BACKTRACE

FILE: includes/db/mysql.php
LINE: 175
CALL: dbal->sql_error()

FILE: includes/sportsbook/acp/leagues.php
LINE: 40
CALL: dbal_mysql->sql_query()

FILE: includes/acp/acp_sportsbook.php
LINE: 67
CALL: include('includes/sportsbook/acp/leagues.php')

FILE: includes/functions_module.php
LINE: 507
CALL: acp_sportsbook->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()

Locked

Return to “[3.0.x] Abandoned MODs”