Loading...
 
Development

Development


Adding $remembertime time of 1 year

posts: 19

Hi,

Most sites log a person in permanently, thank God, mrgreen or at least give you a check box option. I am not referring to "remember me." No offense, but one thing that is totally unacceptable about tikiwiki is the 2 hour login. That is ridiculous! Therefore I hope that you people add the following changes

FILE: \templates\tiki-admin-include-login.tpl
Search for the word "week" and you will see the following line
<option value="720000" {if $remembertime eq 720000} selected="selected"{/if}>1 {tr}week{/tr}</option>

Added the following line right after the above line
<option value="37440000" {if $remembertime eq 37440000} selected="selected"{/if}>1 {tr}year{/tr}</option>

thanks,
YT

posts: 1633 Canada

> Hi,
>
> Most sites log a person in permanently, thank God, mrgreen or at least give you a check box option. I am not referring to "remember me." No offense, but one thing that is totally unacceptable about tikiwiki is the 2 hour login. That is ridiculous! Therefore I hope that you people add the following changes
>


Thank you. Done. It will be in Tiki 1.9.5 smile

posts: 2
Can anyone provide a clue to overriding the 2 hour login in the current version? I can't find the file mentioned in the original post (FILE: \templates\tiki-admin-include-login.tpl).

posts: 214

There is a "session lifetime" option in Admin Home -> General, General settings tab, "Session lifetime:". But the default it was set to for me was more than 2 hours.

Maybe you need to change the session time in your php.ini file? There is a note about that under the "Session lifetime:" option.

The "Remember me" option, in Admin Home -> Log in, General Preferences tab, can now be set to:
5 minutes
15 minutes
30 minutes
1 hour
2 hours
10 hours
20 hours
1 day
1 week
1 month
1 year

Tom

posts: 2
Thank you. I must have stared, uncomprehendingly, at that choice repeatedly.