[ABD] phpBB Arcade 1.0.RC10

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.
User avatar
Stoker 4.0
Registered User
Posts: 1483
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] phpBB Arcade 1.0.RC10

Post by Stoker 4.0 » Wed Mar 02, 2011 4:02 pm

Thanks, but that results in this:

Code: Select all

Fatal error: Call to undefined function challenge_delete_user() in /home/www/xxx.org/includes/arcade/arcade_admin_class.php on line 395

User avatar
JRSweets
Registered User
Posts: 2047
Joined: Wed Apr 14, 2004 8:37 pm
Location: Massachusetts

Re: [RC] phpBB Arcade 1.0.RC10

Post by JRSweets » Wed Mar 02, 2011 4:10 pm

Stoker 4.0 wrote:Thanks, but that results in this:

Code: Select all

Fatal error: Call to undefined function challenge_delete_user() in /home/www/xxx.org/includes/arcade/arcade_admin_class.php on line 395
We might have to wait for KillBill to see this, I am not that familiar with the challenge mod. But try changing the define('USE_ARCADE_ADMIN', true); to define('IN_ADMIN', true);

User avatar
Stoker 4.0
Registered User
Posts: 1483
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] phpBB Arcade 1.0.RC10

Post by Stoker 4.0 » Wed Mar 02, 2011 4:19 pm

Thanks, but that just caused another error.
Lets see what Bill says.

Anyway, I deleted this part temporary while using the delete function:

Code: Select all

//Start remove arcade user data
	if (!class_exists('arcade_admin'))
	{
		include($phpbb_root_path . 'includes/arcade/arcade_common.' . $phpEx);
	}

	if (!isset($arcade))
	{
		$arcade = new arcade_admin();
	}

	$arcade->delete_user($user_id, $user_row['username']);
	//End remove arcade user data
Then I could delete about 500 spammers :)

User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [RC] phpBB Arcade 1.0.RC10

Post by keith10456 » Wed Mar 02, 2011 4:33 pm

Stoker 4.0 wrote:... Then I could delete about 500 spammers :)
Seems like your bigger issue is the spam.

User avatar
Stoker 4.0
Registered User
Posts: 1483
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] phpBB Arcade 1.0.RC10

Post by Stoker 4.0 » Wed Mar 02, 2011 5:11 pm

keith10456 wrote:Seems like your bigger issue is the spam.
Sure, a board not maintained in 6 month that uses the reCaptcha will give some work :)
Thats why it is nice with a mass delete tool. Deleting users one by one is sooo boring.

Anyway, I have posted a fix that can be used temporary while using the memberlist delete mod function.
Its no big deal.

User avatar
KillBill.
Registered User
Posts: 600
Joined: Tue Jun 02, 2009 4:07 pm
Contact:

Re: [RC] phpBB Arcade 1.0.RC10

Post by KillBill. » Wed Mar 02, 2011 5:35 pm

Stoker 4.0 wrote:Thanks, but that results in this:

Code: Select all

Fatal error: Call to undefined function challenge_delete_user() in /home/www/xxx.org/includes/arcade/arcade_admin_class.php on line 395
includes/arcade/arcade_admin_class.php

find

Code: Select all

        // start ultimate challenge
        challenge_delete_user($user_id, $username);
        // end ultimate challenge
 
replace

Code: Select all

        // start ultimate challenge
        if (!function_exists('challenge_delete_user'))
        {
            global $phpbb_root_path, $phpEx;
            include($phpbb_root_path . 'includes/challenge/functions_arcade_admin.' . $phpEx);
        }

        challenge_delete_user($user_id, $username);
        // end ultimate challenge
 

User avatar
Stoker 4.0
Registered User
Posts: 1483
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] phpBB Arcade 1.0.RC10

Post by Stoker 4.0 » Wed Mar 02, 2011 5:39 pm

Thanks killbill
With both yours and jr's edits i get this:

Code: Select all

Fatal error: Call to undefined function adm_page_header() in /home/www/xxx.org/includes/functions.php on line 3837

User avatar
KillBill.
Registered User
Posts: 600
Joined: Tue Jun 02, 2009 4:07 pm
Contact:

Re: [RC] phpBB Arcade 1.0.RC10

Post by KillBill. » Wed Mar 02, 2011 6:09 pm

define('IN_ADMIN', true); -> not must

again

functions_user.php

find

Code: Select all

    if (!class_exists('arcade_admin'))
    {
        include($phpbb_root_path . 'includes/arcade/arcade_common.' . $phpEx);
    }

 
replace

Code: Select all

    if (!class_exists('arcade_admin'))
    {
        define('USE_ARCADE_ADMIN', true);
        include($phpbb_root_path . 'includes/arcade/arcade_common.' . $phpEx);
    }
 
includes/arcade/arcade_common.php

find

Code: Select all

if (defined('IN_ADMIN')) 
replace

Code: Select all

if (defined('IN_ADMIN') || defined('USE_ARCADE_ADMIN'))  
includes/challenge/common.php

Code: Select all

    if(defined('IN_ADMIN')) 
replace

Code: Select all

    if(defined('IN_ADMIN') || defined('USE_ARCADE_ADMIN')) 
Last edited by KillBill. on Wed Mar 02, 2011 6:54 pm, edited 2 times in total.

User avatar
Stoker 4.0
Registered User
Posts: 1483
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] phpBB Arcade 1.0.RC10

Post by Stoker 4.0 » Wed Mar 02, 2011 6:26 pm

Thanks a lot to both of you.
Works perfect :D

indra
Registered User
Posts: 104
Joined: Fri Dec 31, 2010 8:20 am
Location: North Sumatra - Indonesia
Name: Indra Gunawan
Contact:

Re: [RC] phpBB Arcade 1.0.RC10

Post by indra » Thu Mar 03, 2011 5:53 am

nice.. i will test it first..

User avatar
Stoker 4.0
Registered User
Posts: 1483
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] phpBB Arcade 1.0.RC10

Post by Stoker 4.0 » Sun Mar 06, 2011 9:52 pm

Probably the wrong topic, but...

get this error in newest Tour addon:

Code: Select all

[phpBB Debug] PHP Notice: in file /tour.php on line 274: Undefined index: 1670
Its an open tournament.

fimo
Registered User
Posts: 147
Joined: Tue Jan 15, 2008 12:01 am
Location: Sweden

Re: [RC] phpBB Arcade 1.0.RC10

Post by fimo » Wed Mar 09, 2011 3:21 pm

I have just tried to upgrade from an earlier version of phpbb board + arcade and most of it is working
but not my unpack of games.

1) Installing new games like this....
/arcade/install, game zip file, going into ACP Arcade upload/unpack games
get this server error ??
[phpBB Debug] PHP Notice: in file /includes/functions_compress.php on line 295: fopen(): SAFE MODE Restriction in effect.

I have no control of the SAFE MODE ON but does that mean that i have to add them manually ?

2) Is there anywhere a danish language file for RC10 ?

;)

User avatar
LoneHawk
Registered User
Posts: 16
Joined: Wed Mar 02, 2011 8:09 pm

Re: [RC] phpBB Arcade 1.0.RC10

Post by LoneHawk » Thu Mar 10, 2011 3:00 am

Well the arcade is running fine along with all the permissions etc, however when I go to add a game (already unpacked successfully) via the ACP I get the following error:

Code: Select all

SQL ERROR [ mysqli ]

Column 'topic_attr_id' cannot be null [1048]

SQL

INSERT INTO phpbb_topics (topic_poster, topic_time, topic_last_view_time, forum_id, icon_id, topic_approved, topic_title, topic_first_poster_name, topic_first_poster_colour, topic_type, topic_time_limit, topic_attachment, topic_attr_id, topic_attr_user, topic_attr_time) VALUES (2, 1299724168, 1299724168, '35', 0, 1, '[GAME RELEASE] 3D Superball (2)', 'Hawk', 'AA0000', 0, 0, 0, NULL, '2', 1299724168)

BACKTRACE

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

FILE: includes/functions_posting.php
LINE: 2090
CALL: dbal_mysqli->sql_query()

FILE: includes/arcade/arcade_admin_class.php
LINE: 2111
CALL: submit_post()

FILE: includes/acp/acp_arcade_games.php
LINE: 107
CALL: arcade_admin->create_announcement()

FILE: includes/acp/acp_arcade_games.php
LINE: 46
CALL: acp_arcade_games->add_games()

FILE: includes/functions_module.php
LINE: 518
CALL: acp_arcade_games->main()

FILE: adm/index.php
LINE: 78
CALL: p_master->load_active()
I'm guessing it has something to do with the Quick Title Edition MOD, but I can't seem to find a way around this.

User avatar
KillBill.
Registered User
Posts: 600
Joined: Tue Jun 02, 2009 4:07 pm
Contact:

Re: [RC] phpBB Arcade 1.0.RC10

Post by KillBill. » Thu Mar 10, 2011 12:35 pm

LoneHawk wrote:Well the arcade is running fine along with all the permissions etc, however when I go to add a game (already unpacked successfully) via the ACP I get the following error:

Code: Select all

SQL ERROR [ mysqli ]

Column 'topic_attr_id' cannot be null [1048]

SQL

INSERT INTO phpbb_topics (topic_poster, topic_time, topic_last_view_time, forum_id, icon_id, topic_approved, topic_title, topic_first_poster_name, topic_first_poster_colour, topic_type, topic_time_limit, topic_attachment, topic_attr_id, topic_attr_user, topic_attr_time) VALUES (2, 1299724168, 1299724168, '35', 0, 1, '[GAME RELEASE] 3D Superball (2)', 'Hawk', 'AA0000', 0, 0, 0, NULL, '2', 1299724168)

BACKTRACE

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

FILE: includes/functions_posting.php
LINE: 2090
CALL: dbal_mysqli->sql_query()

FILE: includes/arcade/arcade_admin_class.php
LINE: 2111
CALL: submit_post()

FILE: includes/acp/acp_arcade_games.php
LINE: 107
CALL: arcade_admin->create_announcement()

FILE: includes/acp/acp_arcade_games.php
LINE: 46
CALL: acp_arcade_games->add_games()

FILE: includes/functions_module.php
LINE: 518
CALL: acp_arcade_games->main()

FILE: adm/index.php
LINE: 78
CALL: p_master->load_active()
I'm guessing it has something to do with the Quick Title Edition MOD, but I can't seem to find a way around this.
Quick Title Edition MOD -> yes

includes/arcade/arcade_admin_class.php


find

Code: Select all

            'enable_indexing'   => true, 
after add

Code: Select all

            'attr_id'            => -1, 

User avatar
LoneHawk
Registered User
Posts: 16
Joined: Wed Mar 02, 2011 8:09 pm

Re: [RC] phpBB Arcade 1.0.RC10

Post by LoneHawk » Thu Mar 10, 2011 4:58 pm

Worked like a charm, thanks.

Locked

Return to “[3.0.x] Abandoned MODs”