x404.co.uk
http://www.x404.co.uk/forum/

Forum log in returns you to index not thread
http://www.x404.co.uk/forum/viewtopic.php?f=3&t=7724
Page 1 of 1

Author:  isofa [ Wed Apr 14, 2010 2:47 pm ]
Post subject:  Forum log in returns you to index not thread

Often I'm reading a thread, finding I'm not logged in, so log in, to then get automatically taken to the index rather than back to the thread I was reading!
Any chance this could be updated to take you back to the page you clicked login on?

Author:  AlunD [ Wed Apr 14, 2010 2:50 pm ]
Post subject:  Re: Forum log in returns you to index not thread

I'm not sure if its possible to be honest. You are two separate entities as far as the forum is concerned.

Author:  isofa [ Wed Apr 14, 2010 2:57 pm ]
Post subject:  Re: Forum log in returns you to index not thread

On sites I create, when the user clicks login, I pass the current page link to a variable, run the login (cookie, authentication, whatever) then return the browser back to the page viewed in the stored variable, seems quite straight forward. Most forum sites run something similar...

Author:  Amnesia10 [ Wed Apr 14, 2010 3:06 pm ]
Post subject:  Re: Forum log in returns you to index not thread

I open another tab with a news index and enter the password there. Then once the cookies have been reset I reload the other page.

Author:  isofa [ Wed Apr 14, 2010 3:11 pm ]
Post subject:  Re: Forum log in returns you to index not thread

Just did a quick bit of research, apparently you can do it by changing the redirects in ucp.php to: append_sid("$_SERVER[HTTP_REFERER]")... but phpBB isn't my area of expertise!

Author:  soddit112 [ Wed Apr 14, 2010 6:43 pm ]
Post subject:  Re: Forum log in returns you to index not thread

of you could just hit back a couple of times, then refresh :wink:

i only ever access the forum on my PC, so i just stay logged in :)

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/