miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
How To miniBB Support Forums / How To /   

Registered user logged-in duration?

Author Steve Shaw
Registered
#1 | Posted: 5 Oct 2013 12:55 
I'm using $allForumsReg=TRUE; so the whole forum is for registered users only.

But how do I set the duration that users remain logged-in?
Ideally I need it to be multiple days.

I can't seem to find a variable for this.

Cheers,

Steve

Author Paul
Lead Developer
#2 | Posted: 5 Oct 2013 14:20 
I guess you are about $cookie_expires setting from setup_options.php.

It needs to be set in seconds, so for example for 7 days (60 * 60 * 24 * 7 = 604800) it is:

$cookie_expires = 604800;


Author Steve Shaw
Registered
#3 | Posted: 6 Oct 2013 22:06 
Typical - I knew that!!!!

I can be such a dunce at times ;o(

How To miniBB Support Forums / How To / Registered user logged-in duration? Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB