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

Auto-sign in feature removal / modification

Author Prince
Registered
#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
Registered
#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 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