im also looking for thisdarkonia wrote:with which points system the mod cooperates?
with Ulimate Points mod ($user_points)?
Code: Select all
[phpBB Debug] PHP Notice: in file /includes/acp/acp_invite.php on line 47: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /includes/acp/acp_invite.php on line 184: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3188)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3188)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3188)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3188)
Is there a way that I can fix this issue without having to remove the mod?[phpBB Debug] PHP Notice: in file /includes/functions_invite.php on line 676: Undefined variable: register_user_row
[phpBB Debug] PHP Notice: in file /includes/functions_invite.php on line 676: Undefined variable: register_user_row
[phpBB Debug] PHP Notice: in file /includes/functions_invite.php on line 676: Undefined variable: register_user_row
Code: Select all
Parse error: syntax error, unexpected T_IF, expecting ')' in /www/zxq.net/e/s/c/escola-digital/htdocs/includes/ucp/ucp_register.php on line 345
Code: Select all
Line: 345 if (!empty($register_key) && $invite->valid_key ($register_key, false) )
{
if ($invite->config['invite_require_activation'] == USER_ACTIVATION_NONE)
{
$user_type = USER_NORMAL;
$user_actkey = '';
$user_inactive_reason = 0;
$user_inactive_time = 0;
}
if (($invite->config['invite_require_activation'] == USER_ACTIVATION_SELF ||
$invite->config['invite_require_activation'] == USER_ACTIVATION_ADMIN) && $config['email_enable'])
{
$user_actkey = gen_rand_string(10);
$key_len = 54 - (strlen($server_url));
$key_len = ($key_len < 6) ? 6 : $key_len;
$user_actkey = substr($user_actkey, 0, $key_len);
$user_type = USER_INACTIVE;
$user_inactive_reason = INACTIVE_REGISTER;
$user_inactive_time = time();
}
Line: 367 }
It might be the space between the two )'s after the word "false". This has happened to me with another mod before as well.Line: 345 if (!empty($register_key) && $invite->valid_key ($register_key, false) )
it´s not the space, i tried adding it to see if there´s a differtence, but.... yeah, not much luck. i tried adding an extra ) but didn´t work, im about to remove the () serrounding the code, seeing if it would work.Tommy Gun wrote:It might be the space between the two )'s after the word "false". This has happened to me with another mod before as well.Line: 345 if (!empty($register_key) && $invite->valid_key ($register_key, false) )
Code: Select all
invite->valid_key ($register_key
Code: Select all
invite->valid_key($register_key
Code: Select all
Hello {RECIPIENT},
this message has been sent by a friend of yours known as "{INVITE_USERNAME}",
because you might be interested in the following website:
{U_BOARD}
You can use the following URL to register: {URL_REGISTER_KEY}
Your friend wrote:
-------------------------------------------
{MESSAGE}