I've got a "register" link elsewhere on my site that links directly to the user registration form. If a user is already logged in and clicks on it, they get pushed back to the page they came from.
Understand this behaviour but I'd like to add a javascript alert saying you are already logged in or perhaps just redirect to the forum index, but not sure where I need to insert my code. Can anyone help?
Understand this behaviour but I'd like to add a javascript alert saying you are already logged in or perhaps just redirect to the forum index, but not sure where I need to insert my code. Can anyone help?