CleanTek - this theme has been updated to include the session timeout fix:
https://www.jpr62.com/theme/index.php?action=downloads;sa=view;down=65 (https://www.jpr62.com/theme/index.php?action=downloads;sa=view;down=65)
Thanks to GigaWatt, Support Specialist from SMF for the code for the search at the top right! :2up:
Nice! Thanks to all for the update. :)
Code to remove the top right login (login2):
In index.template.php, find this around line 198:
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else
{
echo sprintf($txt['welcome_guest'], $txt['guest_title']);
echo '
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script>
<form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" style="margin: 4px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
<input type="text" name="user" size="10" />
<input type="password" name="passwrd" size="10" />
<input type="submit" value="', $txt['login'], '" class="button_submit" />
<input type="hidden" name="hash_passwrd" value="" /><input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>', $context['current_time'],'[br /]';
}
Change it to this:
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
/* else
{
echo sprintf($txt['welcome_guest'], $txt['guest_title']);
echo '
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script>
<form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" style="margin: 4px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
<input type="text" name="user" size="10" />
<input type="password" name="passwrd" size="10" />
<input type="submit" value="', $txt['login'], '" class="button_submit" />
<input type="hidden" name="hash_passwrd" value="" /><input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>', $context['current_time'],'[br /]';
} */