Redirect to original page after login

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
tehpopa
Posts: 1
Joined: Fri Jan 28, 2011 5:45 pm

Redirect to original page after login

Post by tehpopa »

We've got phpMyFAQ 2.6.14 on Ubuntu 10.1 w/ PHP 5.1.4

I've got users that often like to share links to articles with each other. They're in the habit of grabbing the URL from the address bar and pasting it in an email to another user. When the end user clicks the link to a public article, everything is fine as they don't have to log in. However, when the end user clicks a link to a non public article they log in to phpMyFAQ and are redirected to the main page of the FAQ site. Is there any way to make the redirect of the login form to redirect back to the page the user is on?
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Redirect to original page after login

Post by Thorsten »

Hi,

I added a new ticket for that: https://github.com/thorsten/phpMyFAQ/issues/113

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Redirect to original page after login

Post by Thorsten »

Hi,

fixed with https://github.com/thorsten/phpMyFAQ/co ... 8ba490a32e for phpMyFAQ 2.7.0-beta3.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
DerekWashburn
Posts: 1
Joined: Wed Aug 31, 2011 9:11 am

Re: Redirect to original page after login

Post by DerekWashburn »

Hello!

Just wanted to say hi and thank you for fixing this problem. It annoyed me big time also so as for me you did an absolutely wonderful work here. Thanks a lot again,

Derek
Download YouTube to MP3 http://videotomp3converter.com/download/
Post Reply