Just wanted to say thanks very much for a really good plugin. I would like to have a text link placed inside my themes header where the logged in user can go back to their original redirected page. Instead of having to log in all the time to the page I'm sending them to.
In the plugin file, look at the function "rul_register" — that might provide you with what you're looking for, or at least something that gets you close.
Almost got it to work but for some reason in Internet Explorer the user is returned to the homepage of the blog and not their orignial redirected page. Here is my code:
I don't see a reason why the code should behave differently in a different browser, other than the fact that you might not be logged in or you might be logged in with a different user.
Note that the MySQL code you're using is assuming that you have specific redirect URLs defined for each user. I'm not sure if that's your intention, but if you look at the rul_register example, it uses a function that runs through the entire list of redirect fallback rules.
Yes thats right Peter, each user has their own URL as it is their protected members area page. I have tried again logging in and out in IE, still the same problem, thanks anyway – back to the drawing board eith this one.