unconfirmed still logging on??

If you hate this...stop them and send them to index.php

***Important***backup and then open member.php

After:

$member['ID']        = $_POST['ID'];
$member['Password']   = md5( process_pass_data( $_POST['Password'] ) );

Insert:

//unconfirmed mod
$res = db_arr("SELECT `Status` FROM `Profiles` WHERE `NickName` = '$member[ID]'");   
$stat = $res['Status'];           

if ($stat == "Unconfirmed")           
{           
header('Location: index.php');
exit;
}
$res = db_arr("SELECT `Status` FROM `Profiles` WHERE `ID` = '$member[ID]'");   
$stat = $res['Status'];           

if ($stat == "Unconfirmed")           
{           
header('Location: index.php');
exit;
}
//unconfirmed mod end

you can test it out on my site /aaa where I setup to test

I have video tutorials to help you mrpowless.com
Quote · 17 Nov 2008

What is the problem that this solves?  Are you saying unconfirmed members can log in?  Then what is even the purpose of the confirmation system?  I have just noticed unconfirmed members adding profile pictures- which I actually want.  What else can they do?  Can they do everything?

-

Rob

Quote · 17 Nov 2008

someone asked this....no valid email...no access...simple

I have video tutorials to help you mrpowless.com
Quote · 17 Nov 2008

This does not seem to work on 6.1.4 and it is surprising that there is no email activation link, am I over looking something?

Quote · 18 Nov 2008

Does this work for 6.14?

Quote · 20 May 2009

no ot doesn´t work i have test it on my 6.1.4 but the unconformed user are forworded to index.php.

the problem is now the user don´t see a message that say´s please confirm your emailadress first.

i think that ´s what we need

Quote · 20 May 2009

Thanks! This mod is killer!

If you would like to inform people, that their  account is not active just replace the two occurrences of

header('Location: index.php');

with

header('Location: URL-to-page-with-info');

Quote · 11 Jul 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.