cotonti.com : [Release] Custom account validation framework https://www.cotonti.com Laatste forum onderwerpen Cotonti en Thu, 20 Nov 2025 23:12:18 -0000 GHengeveld Zo, 28 Feb 2010 20:13:25 -0000 esclkm Zo, 28 Feb 2010 16:39:48 -0000 GHengeveld
Note that this is a framework for writing your own validation script. By default this plugin will just auto-validate (skipping the default admin or email validation). You should make the necessary changes in accountvalidation.php (see the comments there for details).

In order for this plugin to work you will need an extra hook in system/core/users/users.register.inc.php:
/* === Hook for the plugins === */
$extp = sed_getextplugins('users.register.validate.first');
if (is_array($extp))
{ foreach ($extp as $pl) { include_once($cfg['plugins_dir'].'/'.$pl['pl_code'].'/'.$pl['pl_file'].'.php'); } }
/* ===== */

Put it right below the following line (somewhere around 235):
elseif ($a=='validate' && mb_strlen($v)==32)
{
Or you can just download the updated file here.

Download the plugin here.

Please provide feedback or any bugs you may encounter.]]>
Zo, 28 Feb 2010 09:43:39 -0000