Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
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.


UBB.classic: Love it or hate it, it was mine.
Sponsored Links
Joined: Sep 2004
Posts: 18
Junior Member
Junior Member
Offline
Joined: Sep 2004
Posts: 18
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


All My Best,
Devin

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)