Uutiset:

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

Main Menu
Advertisement:

Login default to 1 day

Aloittaja trikos, maaliskuu 11, 2005, 03:51:05 AP

« edellinen - seuraava »

trikos

Hi

There are some users complainning about the deault login time in the user info is set to forever.

Can someone explain to me how to change default login time in user info to a day?

Please.

-trikos

trikos

I figured it out. Move the selected part in index.template.php:

<select name="cookielength">
   <option value="60">', $txt['smf53'], '</option>
   <option value="1440">', $txt['smf47'], '</option>
   <option value="10080" selected="selected">', $txt['smf48'], '</option>
   <option value="302400">', $txt['smf49'], '</option>
   <option value="-1">', $txt['smf50'], '</option>
</select>

Advertisement: