Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: guider - tammikuu 31, 2005, 03:46:52 IP

Otsikko: Taking out the Garbage, but where to find it?
Kirjoitti: guider - tammikuu 31, 2005, 03:46:52 IP
I'd like to edit out some things on the board. I've been looking around in the files but they're somewhat scattered. Perhaps someone could point me how to achieve these things:

1- Lose the time on the tiny loginbox (my SMF is integrated with mambo)
2- Lose the 'Stay logged in for' on that same tiny loginbox.
3- Lose the loginbox under the board itself
Thx!!
Otsikko: Re: Taking out the Garbage, but where to find it?
Kirjoitti: [Unknown] - tammikuu 31, 2005, 07:11:44 IP
Depends on your theme.  Look in Themes/yourtheme/index.template.php.

-[Unknown]
Otsikko: Re: Taking out the Garbage, but where to find it?
Kirjoitti: guider - tammikuu 31, 2005, 07:24:21 IP
I'm on the Classic theme. i did look in that file but e.g the miniloginstuff wasn't there.
Otsikko: Re: Taking out the Garbage, but where to find it?
Kirjoitti: [Unknown] - helmikuu 01, 2005, 01:43:34 AP
Find and remove:

// Show a vB style login for quick login?
if ($context['show_vBlogin'])
echo '
<table cellspacing="0" cellpadding="0" border="0" align="center" width="95%">
<tr><td nowrap="nowrap" align="right">
<form action="', $scripturl, '?action=login2" method="post"><br />
<input type="text" name="user" size="7" />
<input type="password" name="passwrd" size="7" />
<select name="cookielength">
<option value="60">', $txt['smf53'], '</option>
<option value="1440">', $txt['smf47'], '</option>
<option value="10080">', $txt['smf48'], '</option>
<option value="302400">', $txt['smf49'], '</option>
<option value="-1" selected="selected">', $txt['smf50'], '</option>
</select>
<input type="submit" value="', $txt[34], '" /><br />
', $txt['smf52'], '
</form>
</td></tr>
</table>';
// Don't show a login box, just a break.
else


How do I modify files? (http://www.simplemachines.org/community/index.php?topic=24110.0)

-[Unknown]
Otsikko: Re: Taking out the Garbage, but where to find it?
Kirjoitti: guider - helmikuu 01, 2005, 05:10:57 IP
Okay done. How about steps 1 and 2?

1- Lose the time on the tiny loginbox (my SMF is integrated with mambo)
2- Lose the 'Stay logged in for' on that same tiny loginbox.
Otsikko: Re: Taking out the Garbage, but where to find it?
Kirjoitti: guider - helmikuu 06, 2005, 02:07:05 IP
Impossible?