I have try it anyway, without any error. But i will follow just this night and tomorrow on testing as doing 2.6.0 release
By the way, the function
wp_w3all_get_phpbb_user_info_by_email
has been updated because like last time
i had updated it to be this:
Code: Select all
public static function wp_w3all_get_phpbb_user_info_by_email($email){
global $w3all_config,$w3all_phpbb_connection;
$email = sanitize_email($email);
if( !is_email($email) ) {
return false;
}
$email = strtolower($email);
$phpbb_user = $w3all_phpbb_connection->get_results("SELECT *
FROM ". $w3all_config["table_prefix"] ."groups
JOIN ". $w3all_config["table_prefix"] ."users ON LOWER(". $w3all_config["table_prefix"] ."users.user_email) = '$email'
AND ". $w3all_config["table_prefix"] ."users.group_id = ". $w3all_config["table_prefix"] ."groups.group_id");
return $phpbb_user;
}
while i have found into repository file, this code (which anyway into my test work fine):
Code: Select all
public static function wp_w3all_get_phpbb_user_info_by_email($email){
global $w3all_config,$w3all_phpbb_connection;
$phpbb_user = $w3all_phpbb_connection->get_results("SELECT *
FROM ". $w3all_config["table_prefix"] ."groups
JOIN ". $w3all_config["table_prefix"] ."users ON LOWER(". $w3all_config["table_prefix"] ."users.user_email) = '".$email."'
AND ". $w3all_config["table_prefix"] ."users.group_id = ". $w3all_config["table_prefix"] ."groups.group_id");
return $phpbb_user;
}
so i start to think there is something that is going wrong somewhere, i double checked it now (class.wp.w3all-phpbb.php):
https://plugins.trac.wordpress.org/expo ... -phpbb.php
it has been updated. With this, i assume it is impossible to get the error now, but let see the entire stack, let know please
I have try it anyway, without any error. But i will follow just this night and tomorrow on testing as doing 2.6.0 release
By the way, the function
wp_w3all_get_phpbb_user_info_by_email
has been updated because like last time
i had updated it to be this:
[code]
public static function wp_w3all_get_phpbb_user_info_by_email($email){
global $w3all_config,$w3all_phpbb_connection;
$email = sanitize_email($email);
if( !is_email($email) ) {
return false;
}
$email = strtolower($email);
$phpbb_user = $w3all_phpbb_connection->get_results("SELECT *
FROM ". $w3all_config["table_prefix"] ."groups
JOIN ". $w3all_config["table_prefix"] ."users ON LOWER(". $w3all_config["table_prefix"] ."users.user_email) = '$email'
AND ". $w3all_config["table_prefix"] ."users.group_id = ". $w3all_config["table_prefix"] ."groups.group_id");
return $phpbb_user;
}[/code]
while i have found into repository file, this code (which anyway into my test work fine):
[code]public static function wp_w3all_get_phpbb_user_info_by_email($email){
global $w3all_config,$w3all_phpbb_connection;
$phpbb_user = $w3all_phpbb_connection->get_results("SELECT *
FROM ". $w3all_config["table_prefix"] ."groups
JOIN ". $w3all_config["table_prefix"] ."users ON LOWER(". $w3all_config["table_prefix"] ."users.user_email) = '".$email."'
AND ". $w3all_config["table_prefix"] ."users.group_id = ". $w3all_config["table_prefix"] ."groups.group_id");
return $phpbb_user;
}[/code]
so i start to think there is something that is going wrong somewhere, i double checked it now (class.wp.w3all-phpbb.php):
https://plugins.trac.wordpress.org/export/HEAD/wp-w3all-phpbb-integration/trunk/class.wp.w3all-phpbb.php
it has been updated. With this, i assume it is impossible to get the error now, but let see the entire stack, let know please