MyBB Community Forums

Full Version: Forum redirect "script" not working...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
After logging in, I get the message

"You have successfully been logged in.

You will now be taken back to where you came from."

However, it just sits there forever.  Clicking on the link sends me to the right place, but there is no auto redirect working.

Any ideas? 

Thank you in advance.
This means that your redirect template is most likely missing this code:
<meta http-equiv="refresh" content="2;URL={$url}" />
Either add it below </title> or revert the template, it's under Ungrouped Templates.
Here is the code of my redirect template.  Can you tell me if it looks as if something in there is entered wrong or if I need to add the line you mention?

<br />
<br />
<br />
<br />
<div style="margin: auto auto; width: {$lang->redirect_width}" align="center">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<td class="thead"><strong>{$title}</strong></td>
<td class="trow1" align="center"><p>{$message}</p></td>
<td class="trow2" align="right"><a href="{$url}"><span class="smalltext">{$lang->click_no_wait}</span></a></td>
It's missing, so as I said you need to add it, yes... In place of {$autoredirect} which was inserted by one of your plugins, I assume.
Thank you. I did not mean to doubt you, just was looking for some clarification. It worked perfectly. Much appreciated.