MyBB Community Forums

Full Version: Redirection
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Can we have a mod which redirects a user to the same forum from where he used toplinks/header to Log In? For instance, I am in the Requests forum and click the Log In button on the top, I should be redirected to Requests from instead on the main index page.
I'll see what I can do. Smile
It should be simple, using the PHP function $_SERVER["HTTP_REFERER"] instead, correct?
Should be, or in myBB I think you can just use $HTTP_REFERER if you want to be lazy. :p

Ryan, you can take care of this one if you like...your choice. Smile
I'll handle it. :p

EDIT: Taking a look at the code, I think this is a bug, because it's supposed to do so already.
Hmm, I wonder why it doesn't then. Should someone report this on the myBB boards??

k776
Taken care of. Smile
ok, so what is the mod?? How to put it into effect I mean??

k776
I'm still working on it...

Morecomplicated then just using $_REQUEST["HTTP_REFERER"]

That's for if you don't use Redirects, it's more complicated if you do...

Even then, it's complicated.
So it's complicated then? Toungue
Pages: 1 2