miniBB ® 


Support Forums
 | Start | Register | Search | Statistics | File Bank | Manual |
How To miniBB Support Forums / How To /  

Registered user logged-in duration?

Author Steve Shaw
#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.



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
#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?
 Share Topic's Link

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

Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.

Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.


miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.