MyBB Community Forums

Full Version: the problem with Auto Redirect Plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi
http://mods.mybb.com/view/auto-redirect
this plugin is good but when I post a new thread
go back the editor
can you change it

up.....
up............
anyone can not help me?
you can try this -->

open the plugin file in a code editor (eg. notepad++) and find code like below (around line 32)
global $theme,$autoredirect;
header( "refresh:2;url=".$_SERVER["HTTP_REFERER"]."" );

change to below code, save the file, use it and check
global $theme,$autoredirect;
if(THIS_SCRIPT == "member.php")
header( "refresh:2;url=".$_SERVER["HTTP_REFERER"]."" );
thanks
but it stay in the page redirect that redirect just whit click.
if your using the plugin, go to the redirect area in cofiguration something called redirect, you will see now a time i think its 12, change that to 6 and everything should work fine.