Monday 17 August 2009 1:55:46 pm
Thank you guys for you kind help. Much appreciated... @Heat - I am using 4.0.1, is it possible to apply the patch to the version I am using. Can you please explain the suggested process in bit more detail. @Andre - gone through the code which you mentioned.
else if ( $verifyUserType )// custom account activation
{
$verifyUserTypeClass = false;
// load custom verify user settings
if ( $ini->hasGroup( 'VerifyUserType_' . $verifyUserType ) )
{
if ( $ini->hasVariable( 'VerifyUserType_' . $verifyUserType, 'File' ) )
include_once( $ini->variable( 'VerifyUserType_' . $verifyUserType, 'File' ) );
$verifyUserTypeClass = $ini->variable( 'VerifyUserType_' . $verifyUserType, 'Class' );
}
// try to call the verify user class with function verifyUser
if ( $verifyUserTypeClass && method_exists( $verifyUserTypeClass, 'verifyUser' ) )
$sendUserMail = call_user_func( array( $verifyUserTypeClass, 'verifyUser' ), $user, $tpl );
else
eZDebug::writeWarning( "Unknown VerifyUserType '$verifyUserType'", 'user/register' );
}
I am totally confused. It would be appreciated if you can explain in bit more depth.
|