cotonti.com : [Release] Custom account validation framework https://www.cotonti.com Son konu mesajları Cotonti en Thu, 29 Jan 2026 07:10:14 -0000 GHengeveld Paz, 28 Şub 2010 20:13:25 -0000 esclkm Paz, 28 Şub 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.]]>
Paz, 28 Şub 2010 09:43:39 -0000