Page 525 of 535
Re: [RC] phpBB Arcade 1.0.RC10
Posted: Wed Mar 02, 2011 4:02 pm
by Stoker 4.0
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
Re: [RC] phpBB Arcade 1.0.RC10
Posted: Wed Mar 02, 2011 4:10 pm
by JRSweets
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);
Re: [RC] phpBB Arcade 1.0.RC10
Posted: Wed Mar 02, 2011 4:19 pm
by Stoker 4.0
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

Re: [RC] phpBB Arcade 1.0.RC10
Posted: Wed Mar 02, 2011 4:33 pm
by keith10456
Stoker 4.0 wrote:... Then I could delete about 500 spammers

Seems like your bigger issue is the spam.
Re: [RC] phpBB Arcade 1.0.RC10
Posted: Wed Mar 02, 2011 5:11 pm
by Stoker 4.0
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.
Re: [RC] phpBB Arcade 1.0.RC10
Posted: Wed Mar 02, 2011 5:35 pm
by KillBill.
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
Re: [RC] phpBB Arcade 1.0.RC10
Posted: Wed Mar 02, 2011 5:39 pm
by Stoker 4.0
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
Re: [RC] phpBB Arcade 1.0.RC10
Posted: Wed Mar 02, 2011 6:09 pm
by KillBill.
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
replace
Code: Select all
if (defined('IN_ADMIN') || defined('USE_ARCADE_ADMIN'))
includes/challenge/common.php
replace
Code: Select all
if(defined('IN_ADMIN') || defined('USE_ARCADE_ADMIN'))
Re: [RC] phpBB Arcade 1.0.RC10
Posted: Wed Mar 02, 2011 6:26 pm
by Stoker 4.0
Thanks a lot to both of you.
Works perfect

Re: [RC] phpBB Arcade 1.0.RC10
Posted: Thu Mar 03, 2011 5:53 am
by indra
nice.. i will test it first..
Re: [RC] phpBB Arcade 1.0.RC10
Posted: Sun Mar 06, 2011 9:52 pm
by Stoker 4.0
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.
Re: [RC] phpBB Arcade 1.0.RC10
Posted: Wed Mar 09, 2011 3:21 pm
by fimo
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 ?

Re: [RC] phpBB Arcade 1.0.RC10
Posted: Thu Mar 10, 2011 3:00 am
by LoneHawk
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.
Re: [RC] phpBB Arcade 1.0.RC10
Posted: Thu Mar 10, 2011 12:35 pm
by KillBill.
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
after add
Re: [RC] phpBB Arcade 1.0.RC10
Posted: Thu Mar 10, 2011 4:58 pm
by LoneHawk
Worked like a charm, thanks.