Page 46 of 52

Re: [BETA] phpBB Rivals (Clans, Ladders & Tournaments)

Posted: Sat Nov 01, 2008 8:40 pm
by A.I. BOT
New release is out, 1.6.0. This adds a lot of bug fixes reported by testers. Tournaments can now be seeded manually. Matches for clans can now be editted by admins. Few other enhancements were made along with an addition to the installer to now allow upgrades from 1.6.0 to 1.6.x.\

Thanks.

See first post for downloads.

Re: [BETA] phpBB Rivals (Clans, Ladders & Tournaments)

Posted: Sun Nov 09, 2008 10:56 pm
by M0PIES
I'm getting these errors when I try to access install.php:
EDIT: Ok, I've fixed this one right here, but the General Error is still there.

Code: Select all

[phpBB Debug] PHP Notice: in file /install_rivals/functions_install.php on line 114: include(../includes/ucp/info/ucp_rivals.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /install_rivals/functions_install.php on line 114: include(../includes/ucp/info/ucp_rivals.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /install_rivals/functions_install.php on line 114: include() [function.include]: Failed opening '../includes/ucp/info/ucp_rivals.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')
[phpBB Debug] PHP Notice: in file /install_rivals/functions_install.php on line 117: call_user_func(ucp_rivals_info::module) [function.call-user-func]: First argument is expected to be a valid callback
[phpBB Debug] PHP Notice: in file /install_rivals/functions_install.php on line 140: Invalid argument supplied for foreach()

Code: Select all

General Error
SQL ERROR [ mysql4 ]

Table 'phpbb_rivals_challenges' already exists [1050]

SQL

CREATE TABLE phpbb_rivals_challenges ( challenge_id mediumint(8) UNSIGNED NOT NULL auto_increment, challenge_ladder mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, challenger mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, challengee mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, challenge_posttime int(11) UNSIGNED DEFAULT '0' NOT NULL, challenge_details text NOT NULL, PRIMARY KEY (challenge_id) ) CHARACTER SET `utf8` COLLATE `utf8_bin`

BACKTRACE

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

FILE: install_rivals/functions_install.php
LINE: 274
CALL: dbal_mysql->sql_query()

FILE: install_rivals/install.php
LINE: 37
CALL: load_schema()
Any help?

Edit: Also, I can use the clans without doing anything with install.php, but when I invite someone to my clan and someone clicks 'Yes', it sends them to the homepage of my site.

Re: [BETA] phpBB Rivals (Clans, Ladders & Tournaments)

Posted: Mon Nov 10, 2008 1:58 am
by M0PIES
I cannot Start Tournaments either. Also, is there a way you can look at the list of Clans?

Re: [BETA] phpBB Rivals (Clans, Ladders & Tournaments)

Posted: Wed Nov 26, 2008 5:21 am
by A.I. BOT
1.6.3 is released. Fixes tournament and ladder/challenge issues reported by testers.

Thanks :)

Re: [BETA] phpBB Rivals (Clans, Ladders & Tournaments)

Posted: Wed Nov 26, 2008 9:18 pm
by merlyn_cgoty
Hello,
I installed this mod and everything seems to be working great.
I have a question tho.. I'm sorry if this issue has been discussed before...
- Is it possible to make a user create just one single clan?
- It seems like i could create clans with the same name... Am i doing something wrong here?
- Is it possible to limit users to join to one single clan at a time?

Thanks..

Re: [BETA] phpBB Rivals (Clans, Ladders & Tournaments)

Posted: Sat Nov 29, 2008 1:41 am
by M0PIES
I tried to install the new version but got this error:

Code: Select all

General Error
SQL ERROR [ mysql4 ]

Table 'phpbb_rivals_challenges' already exists [1050]

SQL

CREATE TABLE phpbb_rivals_challenges ( challenge_id mediumint(8) UNSIGNED NOT NULL auto_increment, challenge_ladder mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, challenger mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, challengee mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, challenge_posttime int(11) UNSIGNED DEFAULT '0' NOT NULL, challenge_details blob NOT NULL, PRIMARY KEY (challenge_id) )

BACKTRACE

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

FILE: install_rivals/functions_install.php
LINE: 274
CALL: dbal_mysql->sql_query()

FILE: install_rivals/install.php
LINE: 43
CALL: load_schema()

Re: [BETA] phpBB Rivals (Clans, Ladders & Tournaments)

Posted: Sat Nov 29, 2008 2:10 am
by M0PIES
I tried to remove phpbb_rivals_challenges but then it said phpbb_rivals_clanmembers still existed. I deleted that and then phpbb_rivals_challenges appeared agian. Any help?

Re: [BETA] phpBB Rivals (Clans, Ladders & Tournaments)

Posted: Sat Nov 29, 2008 7:29 am
by A.I. BOT
@MOPIES: Remove ALL rivals tables and try.

@merlyn_cgoty: Not possiable to just limit to one clan per user. Havent added that feature. Same clan name is fine, no issue there, not a bug. Feature to limit user to join one clan is not there yet either.

Thanks.

Re: [BETA] phpBB Rivals (Clans, Ladders & Tournaments)

Posted: Sat Nov 29, 2008 7:51 am
by merlyn_cgoty
Thanks for your reply...

Another possible bug i noticed is that, i cannot see "Request to join" link on a clan profile page.
I create a clan and join a ladder. Then i log off and log in with another user who is not member of that clan and i dont see the link on clan profile page.

Could there be a problem with this conditional here?

Code: Select all

// Check if we need to show the "Request to Join".
$sql	= "SELECT * FROM " . CLANMEMBERS_TABLE . " WHERE member_clan = $clan_id AND member_userid = " . $user->data[ 'user_id' ];
$result	= $db->sql_query ( $sql );
$row	= $db->sql_fetchrow ( $result );

if ( sizeof ( $result ) == 0 && $user->data[ 'user_id' ] != $clan_data[ 'clan_owner' ] && $user->data[ 'user_id' ] != $clan_data[ 'clan_ownerb' ] )
{
	// The user is not in the clan so show the message.
	$template->assign_block_vars ( 'block_request', array ( 'U_REQUEST' => append_sid ( "{$phpbb_root_path}rivals.$phpEx", 'action=join_clan&type=1&clan_id=' . $clan_id ) ) );
}

Re: [BETA] phpBB Rivals (Clans, Ladders & Tournaments)

Posted: Sat Nov 29, 2008 8:00 am
by merlyn_cgoty
In fact,
i changed above code to this and it now works...

Code: Select all

// Check if we need to show the "Request to Join".
$sql	= "SELECT * FROM " . CLANMEMBERS_TABLE . " WHERE member_clan = $clan_id AND member_userid = " . $user->data[ 'user_id' ];
$result	= $db->sql_query ( $sql );
$num_rows = mysql_numrows($result);
$row	= $db->sql_fetchrow ( $result );

//if ( sizeof ( $result ) == 0 && $user->data[ 'user_id' ] != $clan_data[ 'clan_owner' ] && $user->data[ 'user_id' ] != $clan_data[ 'clan_ownerb' ] )
if ( $num_rows == 0 && $user->data[ 'user_id' ] != $clan_data[ 'clan_owner' ] && $user->data[ 'user_id' ] != $clan_data[ 'clan_ownerb' ] )
{
	// The user is not in the clan so show the message.
	$template->assign_block_vars ( 'block_request', array ( 'U_REQUEST' => append_sid ( "{$phpbb_root_path}rivals.$phpEx", 'action=join_clan&type=1&clan_id=' . $clan_id ) ) );
}

Re: [BETA] phpBB Rivals (Clans, Ladders & Tournaments)

Posted: Mon Dec 01, 2008 8:32 am
by M.ickael
Good morning

Exists t-il a French file of language?

Thank you.

Warmly

Re: [BETA] phpBB Rivals (Clans, Ladders & Tournaments)

Posted: Wed Dec 03, 2008 9:36 am
by FoFa
M.ickael wrote:Exists t-il a French file of language?
Hello,

I am working on a French Translation. Before going on, I would like to know if the French Version does ret exists or not.

Thanks for answering.

Re: [BETA] phpBB Rivals (Clans, Ladders & Tournaments)

Posted: Fri Dec 05, 2008 5:15 am
by A.I. BOT
No french version is in rivals, sorry.

1.6.6...

- Fixes MatchComm, finally.
- Fixes to multiple Match Reporting.
- Adds a new ability to a edit tournament (including it's num. of brackets)
- Adds a new ability to remove clan from a ladder.
Upgrading from 1.6.x to 1.6.6:
Upload & replace all files. Then run install_rivals/install.php and select Upgrade. Then go to phpBB ACP -> System -> Module Management -> ACP

Click on phpBB Rivals then phpBB Rivals again. At the bottom you should see a text input, put "ACP_RIVALS_EDIT_TOURNAMENT" into the box and click on "Create Module".

Select type as Module, NOT Category.
Parent: Leave as default.
Module Enabled: Yes
Module Display: No
Choose Module: phpBB Rivals [acp_rivals]
Choose Module Mode: Edit Tournament

Click "Submit".

After all this, purge the phpBB cache.
Thanks.

Re: [BETA] phpBB Rivals (Clans, Ladders & Tournaments)

Posted: Sun Dec 07, 2008 6:42 pm
by gmvasek
Can anybody please explain me how does platforms and (sub)ladders work?

Re: [BETA] phpBB Rivals (Clans, Ladders & Tournaments)

Posted: Sun Dec 07, 2008 11:24 pm
by M0PIES
I just installed version 1.6.6 and when I went to install_rivals and clicked yes I got this error message:

Code: Select all

General Error
SQL ERROR [ mysql4 ]

Duplicate column name 'clan_session' [1060]

SQL

ALTER TABLE `phpbb_users` ADD COLUMN `clan_session` mediumint(8) UNSIGNED DEFAULT '0' NOT NULL

BACKTRACE

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

FILE: includes/db/db_tools.php
LINE: 618
CALL: dbal_mysql->sql_query()

FILE: includes/db/db_tools.php
LINE: 910
CALL: phpbb_db_tools->_sql_run_sql()

FILE: install_rivals/install.php
LINE: 45
CALL: phpbb_db_tools->sql_column_add()