Hello
I want to delete the image Indicates where
Theme: default
You want to remove the whole login form in the header, correct? What version of 1.x?
Quote from: Labradoodle-360 on June 12, 2010, 01:33:45 AM
You want to remove the whole login form in the header, correct? What version of 1.x?
Correct
header only
avatar also
Version 1.1.11
./Themes/default/index.template.php
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else
{
echo ' </span>
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>
<form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" class="middletext" style="margin: 3px 1ex 1px 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" />
<select name="cookielength">
<option value="60">', $txt['smf53'], '</option>
<option value="1440">', $txt['smf47'], '</option>
<option value="10080">', $txt['smf48'], '</option>
<option value="43200">', $txt['smf49'], '</option>
<option value="-1" selected="selected">', $txt['smf50'], '</option>
</select>
<input type="submit" value="', $txt[34], '" /><br />
<span class="middletext">', $txt['smf52'], '</span>
<input type="hidden" name="hash_passwrd" value="" />
</form>';
}
June 11, 2010, 09:44:13 PMWelcome, Guest. Please login or register.
delete also
./Themes/default/index.template.php
// Otherwise they're a guest - send them a lovely greeting...
else
echo $txt['welcome_guest'];
Edit: In addition, also complete the following edit.
./Themes/default/languages/index.english.php
$txt['welcome_guest'] = 'Welcome, <b>' . $txt[28] . '</b>. Please <a href="' . $scripturl . '?action=login">login</a> or <a href="' . $scripturl . '?action=register">register</a>.';
Thanks ;D
How I can leave a space to put an image in that part?
Do you want the image to show up just for guests?
If you're logged in, I believe, other things will be in that place.
Quote from: Labradoodle-360 on June 12, 2010, 01:59:50 AM
If you're logged in, I believe, other things will be in that place.
if only for everyone.
guest and users