[ABD] phpBB Rivals (Clans, Ladders & Tournaments)

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
A.I. BOT
Registered User
Posts: 1848
Joined: Thu Apr 17, 2003 11:43 pm
Location: Newfoundland, Canada
Contact:

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

Post 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.
User avatar
M0PIES
Registered User
Posts: 103
Joined: Sun Sep 14, 2008 6:37 pm

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

Post 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.
User avatar
M0PIES
Registered User
Posts: 103
Joined: Sun Sep 14, 2008 6:37 pm

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

Post by M0PIES »

I cannot Start Tournaments either. Also, is there a way you can look at the list of Clans?
A.I. BOT
Registered User
Posts: 1848
Joined: Thu Apr 17, 2003 11:43 pm
Location: Newfoundland, Canada
Contact:

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

Post by A.I. BOT »

1.6.3 is released. Fixes tournament and ladder/challenge issues reported by testers.

Thanks :)
merlyn_cgoty
Registered User
Posts: 3
Joined: Wed Nov 26, 2008 8:27 pm

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

Post 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..
User avatar
M0PIES
Registered User
Posts: 103
Joined: Sun Sep 14, 2008 6:37 pm

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

Post 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()
User avatar
M0PIES
Registered User
Posts: 103
Joined: Sun Sep 14, 2008 6:37 pm

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

Post 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?
A.I. BOT
Registered User
Posts: 1848
Joined: Thu Apr 17, 2003 11:43 pm
Location: Newfoundland, Canada
Contact:

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

Post 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.
merlyn_cgoty
Registered User
Posts: 3
Joined: Wed Nov 26, 2008 8:27 pm

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

Post 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 ) ) );
}
merlyn_cgoty
Registered User
Posts: 3
Joined: Wed Nov 26, 2008 8:27 pm

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

Post 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 ) ) );
}
M.ickael
Registered User
Posts: 1
Joined: Mon Dec 01, 2008 8:26 am

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

Post by M.ickael »

Good morning

Exists t-il a French file of language?

Thank you.

Warmly
User avatar
FoFa
Registered User
Posts: 200
Joined: Wed Dec 03, 2008 9:21 am
Name: Daniel L.
Contact:

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

Post 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.
Last edited by FoFa on Mon May 18, 2009 9:29 pm, edited 1 time in total.
Formly ForumsFaciles :wink:
A.I. BOT
Registered User
Posts: 1848
Joined: Thu Apr 17, 2003 11:43 pm
Location: Newfoundland, Canada
Contact:

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

Post 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.
gmvasek
Registered User
Posts: 7
Joined: Sun Nov 20, 2005 10:57 am
Location: Czech Republic
Contact:

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

Post by gmvasek »

Can anybody please explain me how does platforms and (sub)ladders work?
User avatar
M0PIES
Registered User
Posts: 103
Joined: Sun Sep 14, 2008 6:37 pm

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

Post 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()
Locked

Return to “[3.0.x] Abandoned MODs”