[sork] Passwd, Vacation usernames

Barry Loper barry at plexuscomp.com
Fri Oct 31 16:04:04 PST 2003


Ok, here's what i put in hooks.php to get it working. I coppied it from 
hooks.php in cvs then modified it.

if (!function_exists('_passwd_hook_default_username')) {
    function _passwd_hook_default_username($userid)
     {
         return $userid;
    }
};

then, i set $conf['hooks']['default_username'] = true; in my passwd/conf.php

hope this helps someone.

i also can't wait for a hook like this for vacation and forward so that I can 
use them.  wish i knew php, i'd try to do it myself.



More information about the sork mailing list