miniBB Support Forums | 15 years on The Web
miniBB ®

miniBB

®
 
 | Forums | Register | Reply | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   
 

Auto-sign in feature removal / modification

 
Author Prince
Partaker
#1 | Posted: 8 May 2010 04:54 
for security reason, for example if user signed in forum then won't be active about 10 min (up to their settings).. after that when he wanna refresh the page or come back in forum..
he must sign in again in forum.. not auto sign in.. hope you get me ;)
is it possible?

Author Paul
Lead Developer
#2 | Posted: 8 May 2010 06:41 
Prince:
is it possible?

Nothing is impossible.

Prince:
won't be active about 10 min (up to their settings)

Ok, the first question here is how would you apply it to user settings? They must be set up under Profile, that requires new profile's field addition.

When such field is available and read in bb_cookie.php, another code may dynamically change the following settings (explanations given in Manual):

$cookie_expires=900; //15 minutes
$cookie_renew=600; //10 minutes

That will set the cookie to expire in 15 minutes, and if user won't be active within 10 minutes, it should be re-logged in again.

This modification requires the current bug being fixed in miniBB.

I didn't tried that all on my side, because it's the question of your custom request, and this is all the information I could provide. Such thing requires a lot of extra coding. Not a simple one for newbies.

Author Prince
Partaker
#3 | Posted: 9 May 2010 14:40 
Paul:
That will set the cookie to expire in 15 minutes,

Thank u so much.. that works well..
Paul:
Not a simple one for newbies.

Yeah.. you're right ;)

Specific miniBB Support Forums / Specific /
 Auto-sign in feature removal / modification
 Share Topic's Link

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


 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


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  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
↑ TOP