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

Patches and other information
Post Reply
steven
Posts: 133
Joined: Sun Oct 01, 2017 3:08 pm

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

Post by steven »

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.

Before making changes, consider upgrading. This modification was added in phpBB v3.3.0.


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, 3.2.4, 3.2.5, 3.2.7 and 3.28.

functions_328.zip
(40.14 KiB) Downloaded 1073 times
For phpBB version 3.2.8

functions_327.zip
(40.21 KiB) Downloaded 1032 times
For phpBB version 3.2.7

functions_325.zip
(39.8 KiB) Downloaded 1061 times
For phpBB version 3.2.5

functions-324.zip
(39.74 KiB) Downloaded 1072 times
For phpBB version 3.2.4

functions.zip
(39.77 KiB) Downloaded 1118 times
For phpBB version 3.2.3
Last edited by steven on Thu Oct 03, 2019 11:55 am, edited 4 times in total.


Last bumped by steven on Wed Nov 21, 2018 4:37 pm.
Post Reply