Code: Select all
'status' => LOGIN_ERROR_USERNAME,
'error_msg' => 'LOGIN_ERROR_USERNAME',
Code: Select all
'status' => LOGIN_ERROR_LOGINNAME,
'error_msg' => 'LOGIN_ERROR_LOGINNAME',
It will usually be the first find, but there are two of those instances if I remember correctly in auth_db.phpot2pc wrote:This feature really should come with phpBB3 by default.
when instruced to Find/Replace With, does it only apply to the first find? or I will have to replace all the finds in the opened file?
this is for the following step in the install file
Open: includes/auth/auth_db.ph
Find:Replace With:Code: Select all
'status' => LOGIN_ERROR_USERNAME, 'error_msg' => 'LOGIN_ERROR_USERNAME',
Code: Select all
'status' => LOGIN_ERROR_LOGINNAME, 'error_msg' => 'LOGIN_ERROR_LOGINNAME',
The reason for it still being in DEV has been due to my time and committments lately and the lack of spare time I have for other activities let alone phpbb mods.Mudjosh wrote:What is the reason this is still in Dev?
I know mods in development of any type should not be installed on a live board, but I would love to use this mod. I'm just curious about what errors or functionality problems are making it not able to advance farther than DEV status.
2008-01-12 - Version1.0.5
* Made some validation and modx corrections with install and included files
2008-01-11 - Version1.0.4
* Tested working on 3.0.4
* Changed version number to 1.0.4 for validation, 0.0.4 is stable and the same as 1.0.4
codythecomet wrote:Could someone just apply all the changes to a new 3.0.4 install package and then post it somewhere? It would be so much easier to throw a new forum directory up and run the SQL changes instead of going through that nightmare of an install (I won't miss my old mods)
The modification to solve this problem is in includes/functions_user.phpSQL ERROR [ mysqli ]
Column 'username_clean' cannot be null [1048]
Code: Select all
// $username_clean = utf8_clean_string($user_row['username']);
Code: Select all
if (empty($user_row['username']) || !isset($user_row['group_id']) || !isset($user_row['user_email']) || !isset($user_row['user_type']))
{
return false;
}
$username_clean = utf8_clean_string($user_row['username']);
if (empty($username_clean))
{
return false;
}
Code: Select all
// Start Sep Login Name Mod
// if (empty($user_row['username']) || !isset($user_row['group_id']) || !isset($user_row['user_email']) || !isset($user_row['user_type']))
if (empty($user_row['username']) || empty($user_row['loginname']) || !isset($user_row['group_id']) || !isset($user_row['user_email']) || !isset($user_row['user_type']))
{
return false;
}
$username_clean = utf8_clean_string($user_row['username']);
$loginname_clean = utf8_clean_string($user_row['loginname']);
if (empty($username_clean))
{
return false;
}
if (empty($loginname_clean))
{
return false;
}
// End Sep Login Name Mod
what the structure of this table should be?SQL ERROR [ mysql4 ]
Table 'unit_joomla.phpbb_disallow_login' doesn't exist [1146]
SQL
SELECT * FROM phpbb_disallow_login
BACKTRACE
FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()
FILE: includes/acp/acp_disallow_loginnames.php
LINE: 92
CALL: dbal_mysql->sql_query()
FILE: includes/functions_module.php
LINE: 507
CALL: acp_disallow_loginnames->main()
FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
Looks like the table phpbb_disallow_login does not exist. Have you executed the install script to install the required tables and SQL changes?Spiderman2 wrote:I have an error
what the structure of this table should be?SQL ERROR [ mysql4 ]
Table 'unit_joomla.phpbb_disallow_login' doesn't exist [1146]
SQL
SELECT * FROM phpbb_disallow_login
BACKTRACE
FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()
FILE: includes/acp/acp_disallow_loginnames.php
LINE: 92
CALL: dbal_mysql->sql_query()
FILE: includes/functions_module.php
LINE: 507
CALL: acp_disallow_loginnames->main()
FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
Code: Select all
CREATE TABLE phpbb_disallow_login (
disallow_login_id mediumint(8) UNSIGNED NOT NULL auto_increment,
disallow_loginname varchar(255) NOT NULL,
PRIMARY KEY (disallow_login_id)
) CHARACTER SET `utf8` COLLATE `utf8_bin`;