[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 »

* Clan Messages, dont show submit button if there are no messages -- DONE
* Will add information text when editing clan and joining ladder -- DONE
* Will fix submit_pm error when making a challenge -- DONE
* Will add subSilver2 support. -- DONE THANKS TO gawaindc
* Will convert clan tournament reporter over to new system. -- DONE
* Clan Members page — will find out whats wrong and will fix
* Will fix invite things. -- DONE
* If the user is not signed into clan, dont show tournament signup button -- DONE
* If the user is signed into a clan, dont show tournament signup button if their already signed up -- DONE

Also, subsilver2 files seem to be working out just fine and i'v updated the prosilver files to look a bit more phpBB3'ish.

http://img112.imageshack.us/img112/7784 ... 68ssj2.png -- new prosilver rivals ACP
http://img530.imageshack.us/img530/2395 ... 68sor5.png -- new subsilver2 rivals ACP
http://img339.imageshack.us/img339/7539 ... 68srg8.png -- another subsilver2 shot

A release should be made soon when I get more time, very busy this week :(

Thanks!
REVELAT10N
Registered User
Posts: 45
Joined: Fri Jun 01, 2007 7:53 pm
Contact:

Re: general error on rivals

Post by REVELAT10N »

orangpelupa wrote:can someone help me?
Judging by the messages you got it appears you installed the mod incorrectly. You are getting some strange calls to the files required to get this mod to function properly:

Code: Select all

include(./rivals/.php)
I dont understand why or how your install is trying to call a file with an added slash in there.
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 »

Your trying to go to http://www.yourfourm.com/rivals.php instead of http://www.yourfourm.com/rivals.php?action=acp or http://www.yourfourm.com/rivals.php?action=ladders etc... use the links in your header, rivals.php needs an action variable to know what page to render.

Thanks.
orangpelupa
Registered User
Posts: 4
Joined: Mon Feb 04, 2008 11:51 am

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

Post by orangpelupa »

thanks :mrgreen:
the menu is showing
* Rivals ACP * Ladders * Clan CP * Create a Clan * Tournaments

but now i still cant use rivals, if that i Click, i got this error

Code: Select all

General Error
SQL ERROR [ mysqli ]

Table 'moreuse_phpbb3.phpbb_rivals_clans' doesn't exist [1146]

SQL

SELECT * FROM phpbb_rivals_clans

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 143
CALL: dbal->sql_error()

FILE: rivals/acp.php
LINE: 16
CALL: dbal_mysqli->sql_query()

FILE: rivals.php
LINE: 40
CALL: include('rivals/acp.php')
thanks
User avatar
Noxwizard
Support Team Leader
Support Team Leader
Posts: 10406
Joined: Mon Jun 27, 2005 8:41 pm
Location: Texas, USA
Name: Patrick Webster
Contact:

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

Post by Noxwizard »

Did you run the SQL queries that were listed in the MOD installation instructions? Namely this one:

Code: Select all

CREATE TABLE `phpbb_rivals_clans` (
  `clan_id` int(1) NOT NULL auto_increment,
  `clan_name` varchar(25) collate latin1_general_ci NOT NULL default '',
  `clan_tag` varchar(5) collate latin1_general_ci NOT NULL default '',
  `clan_contact` text collate latin1_general_ci,
  `clan_logo` varchar(255) collate latin1_general_ci NOT NULL default '',
  `clan_win` int(1) NOT NULL default '0',
  `clan_loss` int(1) NOT NULL default '0',
  `clan_ties` int(1) NOT NULL default '0',
  `clan_score` int(1) NOT NULL default '0',
  `clan_streak` int(1) NOT NULL default '0',
  `clan_owner` int(1) NOT NULL,
  `clan_ownerb` int(1) NOT NULL default '0',
  `clan_tournaments` text collate latin1_general_ci,
  PRIMARY KEY  (`clan_id`)
);
[Support Template] - [Read Before Posting] - [phpBB Knowledge Base]
Do not contact me for private support, please share the question in our forums.
User avatar
gawaindc
Registered User
Posts: 100
Joined: Thu Jun 14, 2007 1:54 pm

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

Post by gawaindc »

A.I. BOT wrote:
Also, subsilver2 files seem to be working out just fine and i'v updated the prosilver files to look a bit more phpBB3'ish.
Wow, seems you've got most of those fixes done since I've been away. Were the subsilver files okay, did you have to change much for them to be phpbb 3 compliant?
NYChaoS
Registered User
Posts: 21
Joined: Sat Oct 18, 2003 3:06 am

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

Post by NYChaoS »

does anyone have a demo of this or just one up so i can look at it?
orangpelupa
Registered User
Posts: 4
Joined: Mon Feb 04, 2008 11:51 am

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

Post by orangpelupa »

ok

got it working now but when im trying to make a match

Code: Select all

Fatal error: Call to undefined function submit_pm() in /home/moreuse/public_html/forum/rivals/ccp_matches.php on line 141
oh and when i add tournament , afteri click submit it say

Code: Select all

General Error
SQL ERROR [ mysqli ]

Incorrect integer value: '' for column 'tournament_direction' at row 1 [1366]

SQL

INSERT INTO phpbb_rivals_tournaments(`tournament_id`,`tournament_status`,`tournament_name`,`tournament_brackets`,`tournament_state`,`tournament_password`,`tournament_info`,`tournament_type`,`tournament_direction`,`tournament_time`) VALUES (NULL,"1","test","2","1","","","1","",NOW())

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 143
CALL: dbal->sql_error()

FILE: rivals/acp_addtournament.php
LINE: 13
CALL: dbal_mysqli->sql_query()

FILE: rivals.php
LINE: 40
CALL: include('rivals/acp_addtournament.php')
thanks, and sorry im always asking many things. . ..
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 »

- Demo, none atm unless someone has one up they would share for you...
- These errors are already fixed for the next release but thanks for reporting them anyways :)

@gawaindc: Bit of editing was required but the majority of it was good :) Thanks.
User avatar
topdown
Registered User
Posts: 635
Joined: Wed Sep 19, 2007 5:16 pm
Location: NE Wisconsin
Name: Jeff Behnke
Contact:

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

Post by topdown »

Just a couple bugs, I am unsure if you have seen them, my local test board is loaded heavy with mods so, it could be conflict, I don't know, but I'll run them past you

I can click o the rival ACP with no errors

Ladders link I get [phpBB Debug] PHP Notice: in file /rivals/classes/class_ladder.php on line 41: Undefined index: ladder_id

Then from there if I click on platform 1 I get the same error
then if I click on the sub latter it goes away and looks good


From the ACP

Add Platform good
Add Ladder good
Add Sub-Ladder [phpBB Debug] PHP Notice: in file /rivals/classes/class_ladder.php on line 41: Undefined index: ladder_id
Add Tournament good

Edit Platforms good
Edit Ladders good
Edit Sub-Ladders good
Edit Tournaments [phpBB Debug] PHP Notice: in file /rivals/classes/class_tournament.php on line 63: Undefined index: tournament_id
Edit Clans [phpBB Debug] PHP Notice: in file /rivals/classes/class_ladder.php on line 41: Undefined index: ladder_id

Congifure Rivals good
Report Match [phpBB Debug] PHP Notice: in file /rivals/classes/class_tournament.php on line 63: Undefined index: tournament_id
[phpBB Debug] PHP Notice: in file /rivals/classes/class_ladder.php on line 41: Undefined index: ladder_id



Clan CP link
[phpBB Debug] PHP Notice: in file /rivals/classes/class_ladder.php on line 41: Undefined index: ladder_id
[phpBB Debug] PHP Notice: in file /rivals/ccp.php on line 115: Undefined index: pms


Then from the CP

Matches Manager [phpBB Debug] PHP Notice: in file /rivals/classes/class_ladder.php on line 41: Undefined index: ladder_id

Clan Messages good
Clan Members good

Clan Edit Clan [phpBB Debug] PHP Notice: in file /rivals/classes/class_ladder.php on line 41: Undefined index: ladder_id

Clan Tournaments [phpBB Debug] PHP Notice: in file /rivals/classes/class_tournament.php on line 63: Undefined index: tournament_id
[phpBB Debug] PHP Notice: in file /rivals/ccp_tournaments.php on line 98: Undefined variable: luser
[phpBB Debug] PHP Notice: in file /rivals/ccp_tournaments.php on line 98: Trying to get property of non-object


New Ticket [phpBB Debug] PHP Notice: in file /rivals/ccp_ticket.php on line 62: Undefined variable: clan
[phpBB Debug] PHP Notice: in file /rivals/ccp_ticket.php on line 62: Trying to get property of non-object



Well this is a start, it looks like its all related to the same basic bug
User avatar
justin808
Registered User
Posts: 3
Joined: Thu Dec 27, 2007 9:14 pm

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

Post by justin808 »

topdown wrote:Just a couple bugs, I am unsure if you have seen them, my local test board is loaded heavy with mods so, it could be conflict, I don't know, but I'll run them past you

I can click o the rival ACP with no errors

Ladders link I get [phpBB Debug] PHP Notice: in file /rivals/classes/class_ladder.php on line 41: Undefined index: ladder_id

Then from there if I click on platform 1 I get the same error
then if I click on the sub latter it goes away and looks good


From the ACP

Add Platform good
Add Ladder good
Add Sub-Ladder [phpBB Debug] PHP Notice: in file /rivals/classes/class_ladder.php on line 41: Undefined index: ladder_id
Add Tournament good

Edit Platforms good
Edit Ladders good
Edit Sub-Ladders good
Edit Tournaments [phpBB Debug] PHP Notice: in file /rivals/classes/class_tournament.php on line 63: Undefined index: tournament_id
Edit Clans [phpBB Debug] PHP Notice: in file /rivals/classes/class_ladder.php on line 41: Undefined index: ladder_id

Congifure Rivals good
Report Match [phpBB Debug] PHP Notice: in file /rivals/classes/class_tournament.php on line 63: Undefined index: tournament_id
[phpBB Debug] PHP Notice: in file /rivals/classes/class_ladder.php on line 41: Undefined index: ladder_id



Clan CP link
[phpBB Debug] PHP Notice: in file /rivals/classes/class_ladder.php on line 41: Undefined index: ladder_id
[phpBB Debug] PHP Notice: in file /rivals/ccp.php on line 115: Undefined index: pms


Then from the CP

Matches Manager [phpBB Debug] PHP Notice: in file /rivals/classes/class_ladder.php on line 41: Undefined index: ladder_id

Clan Messages good
Clan Members good

Clan Edit Clan [phpBB Debug] PHP Notice: in file /rivals/classes/class_ladder.php on line 41: Undefined index: ladder_id

Clan Tournaments [phpBB Debug] PHP Notice: in file /rivals/classes/class_tournament.php on line 63: Undefined index: tournament_id
[phpBB Debug] PHP Notice: in file /rivals/ccp_tournaments.php on line 98: Undefined variable: luser
[phpBB Debug] PHP Notice: in file /rivals/ccp_tournaments.php on line 98: Trying to get property of non-object


New Ticket [phpBB Debug] PHP Notice: in file /rivals/ccp_ticket.php on line 62: Undefined variable: clan
[phpBB Debug] PHP Notice: in file /rivals/ccp_ticket.php on line 62: Trying to get property of non-object



Well this is a start, it looks like its all related to the same basic bug
Looks good. :) I like this mod.
Looking for a CS 1.6 Clan? Visit http://clanblackwater.net
Want GOOD webhosting? Visit http://1extremehost.com/index.php
e_log
Registered User
Posts: 3
Joined: Sun Feb 10, 2008 4:30 pm

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

Post by e_log »

good work so far! i like to use the ladder system and have some questions (or a feature request?)
the ranking for the ladder is no derived from the amount of points a clan has, right?
i would rather like it this way:
e.g to clans have a battle.
clan1 is some ranks above clan2.
if clan1 wins or the match is a tie nothing happens, if clan2 wins they move to the rank of clan1 and clan1 moves one rank down so they are just below clan2.

this ensure that no clan can accumulate points by defeating noobclans.

thanks.
User avatar
gawaindc
Registered User
Posts: 100
Joined: Thu Jun 14, 2007 1:54 pm

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

Post by gawaindc »

e_log, I don't think that's how it's set at the moment. It's based on points per win etc. The problem with your theory (in my opinion) is that no one is going to want to play significantly lower ranked opposition and risk losing their place, so could find this becomes a little more unfair in that top placed clans will only play against top ranked clans and thus creating quite a division.
e_log
Registered User
Posts: 3
Joined: Sun Feb 10, 2008 4:30 pm

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

Post by e_log »

thanx for your reply, hehe i surely didnt want to start a discussion about how a ladder works, there are a lot of different possibilities, because this isn't probably the right place, just a small remark regarding your demur, attackers only attack a team that is some ranks above them, not every team on the ladder. this ladder system is used e.g here:
http://www.teamwarfare.com/
Now the ladder system has a major flaw: when you join the ladder a lot later, high ranking teams have accumulated so many points over time that you have virtually no chance to move up.
User avatar
Noxwizard
Support Team Leader
Support Team Leader
Posts: 10406
Joined: Mon Jun 27, 2005 8:41 pm
Location: Texas, USA
Name: Patrick Webster
Contact:

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

Post by Noxwizard »

Some of these you already know about, but I'm posting them incase they get lost in the IM logs.

Trying to submit a win/loss in a tournament yields this:

Code: Select all

SQL ERROR [ mysqli ]

Column 'clan_2id' cannot be null [1048]

SQL

INSERT INTO phpbb3_rivals_treports (report_id, report_tournament, clan_1, clan_2, clan_r1, clan_r2, report_time, clan_1id, clan_2id) VALUES (NULL, 1, "The Exiled", "", "win", "", NOW(), 1, NULL)

BACKTRACE


FILE: includes/db/mysqli.php
LINE: 143
CALL: dbal->sql_error()

FILE: rivals/ccp_tournaments.php
LINE: 52
CALL: dbal_mysqli->sql_query()

FILE: rivals.php
LINE: 40
CALL: include('rivals/ccp_tournaments.php')
Sent an invite to a user and they got this when they clicked it:
You cannot invite yourself
The user is then put in the Pending Member section, rather then being added straight in.

Trying to join a ladder:

Code: Select all

SQL ERROR [ mysqli ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Ladder (Tribes))' at line 1 [1064]

SQL

INSERT INTO phpbb3_rivals_clanladders (clan_id, ladder_id) VALUES (1, Tribes Ladder (Tribes))

BACKTRACE


FILE: includes/db/mysqli.php
LINE: 143
CALL: dbal->sql_error()

FILE: rivals/ccp_editclan.php
LINE: 41
CALL: dbal_mysqli->sql_query()

FILE: rivals.php
LINE: 40
CALL: include('rivals/ccp_editclan.php')
Clan tag database size should be larger to allow for HTML encodings.

'clan_looser' in the database should probably be 'clan_loser'. ;)
[Support Template] - [Read Before Posting] - [phpBB Knowledge Base]
Do not contact me for private support, please share the question in our forums.
Locked

Return to “[3.0.x] Abandoned MODs”