2016-06-19, 09:39 PM
I have a problem with a custom page that is on my forum. If they login on the custom page, the redirect page comes up and says that it will "take you back to where you came from". However, the redirect does not go back to the custom page but rather to the index.php page. Is there anyway to fix this problem?
market.php
market html template:
Page in question: forums.seekingprodigy.com/market.php
X-post: http://stackoverflow.com/questions/37930...4_37930409
market.php
define('IN_MYBB', 1);
require_once './global.php';
$plugins->run_hooks('index_start');
add_breadcrumb("Market", "market.php");
eval("\$market = \"".$templates->get("market")."\";");
output_page($market);
?>
market html template:
<html>
<head>
<title>{$mybb->settings[bbname]}</title>
{$headerinclude}
</head>
<body>
<style>
body {
background-color: #FFF;
background-image: none;
background-repeat: repeat;
background-size: 60px 60px;
background-attachment: fixed;
color: #666;
font-family: 'open_sansregular',Tahoma,Arial,Sans-Serif;
font-size: 13px;
text-align: left;
line-height: 1.4;
margin: 0 auto;
overflow-y: hidden;
}
</style>
{$miunashout}
If you do not see the chat, ensure that you have logged in. Chat is not available for guests.
<div class="rblock">{$welcomeblock}</div>
<div class="lblock">
</div>
</body>
</html>
Page in question: forums.seekingprodigy.com/market.php
X-post: http://stackoverflow.com/questions/37930...4_37930409