Home : Products : Gossamer Links : Development, Plugins and Globals :

Products: Gossamer Links: Development, Plugins and Globals: Re: [webmaster33] User Logged in for hook: Edit Log

Here is the list of edits for this post
Re: [webmaster33] User Logged in for hook
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

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

Last edited by:

Ian: May 29, 2002, 12:54 PM

Edit Log: