UBB.Dev
Modification Name: Change "Remember Me" default

Author(s): Charles Capps

Description: Prior to 6.7, every time you log in, you're logged in for two years.

6.7 has a new "Remember Me" checkbox. It's checked by default. If it's unchecked, the user login expries at the end of the browser session.

This one-liner is for users that want to change the checked status of "Remember Me" - there are three other options:

1) Always Remember, and don't give the user the option
2) Never Remember, and don't give the user the option
3) Allow the user to choose, but uncheck the box by default
4) (Default) Allow the user to choose, and check by default

Note that changing this setting will ONLY impact users that wish to log in again. If users are already logged in, then they will not see the effects of this change.

Demo: none

Requirements: 6.7.0 Beta Release 1 (rv199) or higher

Instructions / Other Info:
1) Open up ubb_lib.cgi
2) Find the line starting:

$vars_misc{'RememberMeByDefault'} = "yes";

3) Change "yes" to "yeshidden", "nohidden", or "no" depending on what option you wish to use.
4) Save & upload.
I have this in 6.7.2 and also in 6.7.3 already which are now included in the latest UBB's releases I think. Cool ideas for older UBB boards though
© UBB.Developers