Remain in a forum or on a page when logging in to phpBB

Patches and other information
Steve
Posts: 63
Joined: Sun Oct 01, 2017 3:08 pm

Remain in a forum or on a page when logging in to phpBB

Post by Steve » Wed Nov 21, 2018 4:37 pm

If someone visits your website from a search engine link and decides to login, to post a reply, they are automatically redirected to the home page. Some users may find this behavior annoying. A fix for this was posted on GitHub.

Edit your_phpBB_folder/includes/functions.php per instructions in the link above or download the patched file below and extract to the includes folder. After you change the file, users are redirected to the post, topic or forum they were originally viewing before logging in.

Comments were placed in the file to mark the changes. These files were tested using phpBB 3.2.3 and 3.2.4.

For phpBB version 3.2.3

functions.zip



For phpBB version 3.2.4

functions-324.zip

You do not have the required permissions to view the files attached to this post.
Last edited by Steve on Wed Nov 21, 2018 2:06 pm, edited 1 time in total.


Last bumped by Steve on Wed Nov 21, 2018 4:37 pm.