MyBB Community Forums

Full Version: Change redirection time?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm using a plugin where a user is presented with a redirection notice. It appears that it just uses the default MyBB timing for this notice. However, I don't see a setting to modify it in the Admin CP.

It uses the same redirection system that you get when you post a thread, draft etc.

I attempted to edit the thread.js file as I thought that controlled it:

                                    // set timeout for redirect

                                    window.setTimeout(function() 
                                    {
                                         window.location = json.url;
                                    }, XXX);
But that didn't seem to affect that.

Any guidance is appreciated, thanks.
Try editing the redirect template. ACP->Styles& Templates->templates->your Theme->Ungrouped Templates.
Thanks, that worked!

For anyone else who wants to do it, look for:

<meta http-equiv="refresh" content="2;URL={$url}" />

Change the number to the # of seconds you want.