open wp_w3all.php
where these lines:
Code: Select all
if( $w3all_add_into_phpBB_after_confirm == 1 )
{
Code: Select all
$umeta = get_user_meta($wpu->ID);
if( isset($umeta['account_status'][0]) && $umeta['account_status'][0] != 'approved' ){
return;
}
earlier into function w3all_add_phpbb_user() to grab sent vars, and check against something like:
Code: Select all
$umeta = get_user_meta($wpu->ID);
if( isset($_GET['hash']) && isset($umeta['account_secret_hash'][0]) && $_GET['hash'] == $umeta['account_secret_hash'][0] )
{
// add the user in phpBB (if already exist the function will return, with no effect)
// login user in wp, that will setup also the phpBB session
return;
}
Add users in phpBB only after first successful login in WordPress
and disable the "add user as deactivated", into the integration plugin admin
i can produce also this little part of code if it is required, i will do (think) tomorrow adding a reply with all the complete procedure/code for Ultimate Member plugin.
I've read also other topic/question about cache plugin, i will take a look.