What is the difference between handle_login and user_login hooks?
I am thinking this will work for tracking editor logins: Just not sure if this should be a PRE or POST. If I set to post then, I guess this will only run the sub if the user has successfully logged in? hmmmm
sub user_login {
# -------------------------------------------------------------------
#
my (@args) = @_;
#find out which user has logged in
#If user is an editor then:
#increment Total_Logins and set Last_Login to current date/time
return @args;
}
http://www.iuni.com/...tware/web/index.html
Links Plugins
I am thinking this will work for tracking editor logins: Just not sure if this should be a PRE or POST. If I set to post then, I guess this will only run the sub if the user has successfully logged in? hmmmm
Code:
sub user_login {
# -------------------------------------------------------------------
#
my (@args) = @_;
#find out which user has logged in
#If user is an editor then:
#increment Total_Logins and set Last_Login to current date/time
return @args;
}
http://www.iuni.com/...tware/web/index.html
Links Plugins