Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

Taking out the Garbage, but where to find it?

Aloittaja guider, tammikuu 31, 2005, 03:46:52 IP

« edellinen - seuraava »

guider

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!!

[Unknown]

Depends on your theme.  Look in Themes/yourtheme/index.template.php.

-[Unknown]

guider

I'm on the Classic theme. i did look in that file but e.g the miniloginstuff wasn't there.

[Unknown]

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?

-[Unknown]

guider

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.


Advertisement: