[MOD] Login Redirect 1.0.0

By default, logging into IntegraMOD takes the user to the portal page. There are times, though, that a user may be reading a thread, and instead of logging in and navigating back to the appropriate thread, the user is taken directly back to the thread they were viewing so they can add their comments. This MOD will allow for that functionality.
In order for this to work, the User Info Block needs to be visible on all pages. Usually in the left (header) in the IM Portal configuration in the ACP.
This MOD has been added to my [url=http]MOD site[/url]. You can create an account there, navigate to a topic, and log in using the login from the User Block on the left. After logging in, you will be returned to the exact page of the topic you logged in from.
Support for this Mod can be found in this thread, or in the [url=http][MOD] Login Redirect[/url] on my site.
In order for this to work, the User Info Block needs to be visible on all pages. Usually in the left (header) in the IM Portal configuration in the ACP.
- Code: Select all
############################################################## ## MOD Title]http://www.simplicitypoint.com#[/url]# MOD Description: This mod allows the login to return the user to the page that they logged in from.## MOD Version: 1.0.0#### Installation Level: Easy## Installation Time: 5 Minutes#### Files To Edit: (3)## includes/page_header.php## templates/fisubice/blocks/user_block_block.tpl## templates/fisubice/index_body.tpl#### Included Files: (0)#### License: [url=http://opensource.org/licenses/gpl-license.php]http://opensource.org/licenses/gpl-license.php[/url] GNU General Public License v2 ############################################################## ## For security purposes, please check: [url=http://www.phpbb.com/mods/]http://www.phpbb.com/mods/[/url] ## for the latest version of this MOD. Although MODs are checked ## before being allowed in the MODs Database there is no guarantee ## that there are no security problems within the MOD. No support ## will be given for MODs not found within the MODs Database which ## can be found at [url=http://www.phpbb.com/mods/]http://www.phpbb.com/mods/[/url] ############################################################## ## Author Notes:#### By default, logging into IntegraMOD takes the user to the## portal page. There are times, though, that a user may be## reading a thread, and instead of logging in and navigating## back to the appropriate thread, the user is taken directly## back to the thread they were viewing so they can add their## comments. This MOD will allow for that functionality.#### In order for this to work, the User Info Block needs to be## visible on all pages. Usually in the left (header) in the## IM Portal configuration in the ACP.#### Note that some themes do not have login capability in the## index_body.tpl and other themes have login capability in## the overall_footer.tpl or the overall_header.tpl. If you## want the functionality to work in those cases, you need to## find the login form and add the hidden redirect link as## shown for modifying the login on the index_body.tpl for## the default fisubice theme of IntegraMOD.################################################################## MOD History:#### 2006-05-02 - Version 1.0.0## - Initial Release################################################################ ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD ##############################################################
This MOD has been added to my [url=http]MOD site[/url]. You can create an account there, navigate to a topic, and log in using the login from the User Block on the left. After logging in, you will be returned to the exact page of the topic you logged in from.
Support for this Mod can be found in this thread, or in the [url=http][MOD] Login Redirect[/url] on my site.