[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
TexasBartender
Registered User
Posts: 46
Joined: Fri Feb 08, 2008 6:58 am

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

Post by TexasBartender »

A.I. BOT wrote:docs/INSTALL
lol thanks i didn't even think to look there
TexasBartender
Registered User
Posts: 46
Joined: Fri Feb 08, 2008 6:58 am

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

Post by TexasBartender »

When i triy and edit includes/functions.php i get this error on my site

Code: Select all

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/pogotend/public_html/includes/functions.php on line 3309
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 »

Note: the error below is my issue, just looking for help (I don't want anyone to freak with out reading
the whole post).
:lol:

Hey AI Bot I have a couple questions,
I'm working on some portal blocs to add stuff like a mini Tournaments block and a Platforms block.

I can get it to display but I get debug errors

something like this

Code: Select all

[phpBB Debug] PHP Notice: in file /rivals/classes/class_tournament.php on line 70: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3454: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2940)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3460: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2940)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3461: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2940)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3462: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2940)
It does the same when I use the Platform one, it just uses the other class in the error

I know its not your problem, but if you could point me in the right direction on solving this
PHP is still a bugger for me and I figure you know this code best.

Thanks ;)
TexasBartender
Registered User
Posts: 46
Joined: Fri Feb 08, 2008 6:58 am

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

Post by TexasBartender »

How do i create a ladder theres no option on any of those 4 pages i tried joining a ladder but it was blank now i get this error message

Code: Select all

SQL ERROR [ mysql4 ]

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 '' at line 1 [1064]

SQL

SELECT * FROM phpbb_rivals_ladders WHERE ladder_id =

BACKTRACE

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

FILE: rivals/ccp_ladders.php
LINE: 82
CALL: dbal_mysql->sql_query()

FILE: rivals.php
LINE: 40
CALL: include('rivals/ccp_ladders.php')
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 »

Rivals ACP -> Add Ladder
TexasBartender
Registered User
Posts: 46
Joined: Fri Feb 08, 2008 6:58 am

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

Post by TexasBartender »

A.I. BOT wrote:Rivals ACP -> Add Ladder
Ok i dont know if i have this install right because i don't see anything in my admin panel to add a ladder plus when i click on manage ladders in the rivals.php?action=ccp page i get this error message

Code: Select all

General Error
SQL ERROR [ mysql4 ]

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 '' at line 1 [1064]

SQL

SELECT * FROM phpbb_rivals_ladders WHERE ladder_id =

BACKTRACE

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

FILE: rivals/ccp_ladders.php
LINE: 82
CALL: dbal_mysql->sql_query()

FILE: rivals.php
LINE: 40
CALL: include('rivals/ccp_ladders.php')
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 »

If you installed it on your site, that is in your profile, then you didn't follow the install instructions.

rivals/docs/INSTALL

You need to do code edits and add the SQL to the database.
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 »

And dont forget to refresh your template cache in phpBB ACP -> Load Settings so the links will show up in the header of your site :)
TexasBartender
Registered User
Posts: 46
Joined: Fri Feb 08, 2008 6:58 am

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

Post by TexasBartender »

A.I. BOT wrote:And dont forget to refresh your template cache in phpBB ACP -> Load Settings so the links will show up in the header of your site :)
Yea i installed it right even had my someone double check to see if i did it right and he said we did everything on our part and i dont see anywhere in my profile about adding ladders.

As far as the links showing up on header thats not a problem i am using a drop down menu and can get to all 4 pages fine

rivals.php?action=add_clan
http://pogotender.com/rivals.php?action=ccp
rivals.php?action=platforms
rivals.php?action=tournaments

and yea i add the sql via myphpadmin and they were no errors
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 »

There should be 5 clan menus at the top not 4, and there is nothing in the ACP or your profile to change for this mod. Please double check your installation again, you should have all 5 of these options at the top of your overall_header page:

* Rivals ACP
* Ladders
* Clan CP
* Create a Clan
* Tournaments

Seems you are missing the Rivals ACP option which is where you add ladders, sub ladders etc.
TexasBartender
Registered User
Posts: 46
Joined: Fri Feb 08, 2008 6:58 am

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

Post by TexasBartender »

gawaindc wrote:There should be 5 clan menus at the top not 4, and there is nothing in the ACP or your profile to change for this mod. Please double check your installation again, you should have all 5 of these options at the top of your overall_header page:

* Rivals ACP
* Ladders
* Clan CP
* Create a Clan
* Tournaments

Seems you are missing the Rivals ACP option which is where you add ladders, sub ladders etc.
what is the link i am missing and i will check to see if i have it
TexasBartender
Registered User
Posts: 46
Joined: Fri Feb 08, 2008 6:58 am

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

Post by TexasBartender »

OK i got it fixed i had to manually go to the ulr rivals.php?action=acp
yasinahmetsevim
Registered User
Posts: 26
Joined: Mon Mar 17, 2008 6:28 pm
Location: Istanbul
Contact:

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

Post by yasinahmetsevim »

Hi,

i think it is an very useful add-on for game forums but i have an problem. I have installed it on my mod test forum and tryed to figure out how it works and if it have any problems.

I get mostly an SQL error. As example when i try to submit an result from an tournament it give me error and much more.

Can someone help me please with this? I can give you the link of the mod test forum and you can figure it yourself out.
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 »

Here is my Report
Adding a subladder without a rating
[phpBB Debug] PHP Notice: in file /rivals/acp_addsubladder.php on line 20: Undefined index: ladder_rating
Information

The ladder has been added.
It only happens if you don't check the box.
If you give it a rating it's fine
If you check the box with no rating it's fine


Tickets
[phpBB Debug] PHP Notice: in file /rivals/ccp_ticket.php on line 25: Undefined variable: string
[phpBB Debug] PHP Notice: in file /rivals/ccp_ticket.php on line 25: Undefined variable: explode

NO_RECIPIENT
Tried RECIPIENT 0,1,2


I did receive a ticket in my PM box set on 2
Submitting Ticket Reciever set to 2
[phpBB Debug] PHP Notice: in file /rivals/ccp_ticket.php on line 25: Undefined variable: string
[phpBB Debug] PHP Notice: in file /rivals/ccp_ticket.php on line 25: Undefined variable: explode

The ticket has been sent.

After I sign up for the tournaments
if I go back to the tournaments link it has
[phpBB Debug] PHP Notice: in file /rivals/tournaments.php on line 63: Undefined variable: code
[phpBB Debug] PHP Notice: in file /rivals/tournaments.php on line 63: Undefined variable: code

If I log out and switch clans and go back it's fine
then if I sign up for a tournament and go back, same thing
[phpBB Debug] PHP Notice: in file /rivals/tournaments.php on line 63: Undefined variable: code

The following is LOGGED OUT on the Forum {as a Guest}

Lets me join a clan logged out on the forum {Guest}

Braket HTML alignment messed up tournaments_brackets&tournament_id=2

Logged out viewing the ladders
The ladder with no ratting gives
[phpBB Debug] PHP Notice: in file /rivals/subladders.php on line 91: Undefined variable: i
[phpBB Debug] PHP Notice: in file /rivals/subladders.php on line 100: Undefined variable: i
[phpBB Debug] PHP Notice: in file /rivals/subladders.php on line 101: Undefined variable: i
[phpBB Debug] PHP Notice: in file /rivals/subladders.php on line 109: Undefined variable: i


When viewing the clan on that ladder


This was a fresh test install both rivals and BB
I will add a user tomorrow and make some opponents to further test the matches and stuff.
No big deal, just letting you know what I found.
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 »

@topdown: Thanks for the report. Fixed what I could for this release.

Zip updated.
Locked

Return to “[3.0.x] Abandoned MODs”