I'm trying to make use of IUserEventHandlers to add some custom functionality when a user logs in. I have been using the following post as a guide to try and get this working:
My code is as follows:
public class UserEventHandlers : IUserEventHandlers
TermsController _tc = new TermsController();
public void UserApproved(object sender, UserEventArgs args)
public void UserAuthenticated(object sender, UserEventArgs args)
public void UserCreated(object sender, UserEventArgs args)
UserInfo userInfo = args.User;
public void UserDeleted(object sender, UserEventArgs args)
public void UserRemoved(object sender, UserEventArgs args)
The problem I am having is that the methods never seem to be firing. I have also tried using the IProfileEventHandlers again the same problem. The methods are never hit.
I've seen that some others have been having similar issues with this in recent months and so just wondered if this is an issue or if I am doing something wrong.
I am using DNN version 07.04.01 (280)