Automaticly log out
2 posters
Page 1 of 1
Automaticly log out
Hi is there any way that i can do that ..
What i want is when a member isn't on my forum after 10min he will be automaticly logged out .
is there any way to do that ? Please help and thank you !
Hope there is such an option because I realy need it ...
What i want is when a member isn't on my forum after 10min he will be automaticly logged out .
is there any way to do that ? Please help and thank you !
Hope there is such an option because I realy need it ...
Re: Automaticly log out
Hello,
There's an option:
Admin Panel > Users & Groups > User Options:
Time in minutes before a member is considered "Offline" : Set in the limit > Save
There's an option:
Admin Panel > Users & Groups > User Options:
Time in minutes before a member is considered "Offline" : Set in the limit > Save
Jophy- ForumGuru
- Posts : 17924
Reputation : 836
Language : English
Location : Somewhere
Re: Automaticly log out
Jophy wrote:Hello,
There's an option:
Admin Panel > Users & Groups > User Options:
Time in minutes before a member is considered "Offline" : Set in the limit > Save
Ok so that means that the user will be offline after the time I set up?
Re: Automaticly log out
Yes. However, that doesn't mean he/she will be fully logged out, after the time set has passed, his/her name will disappear from the online list.
Jophy- ForumGuru
- Posts : 17924
Reputation : 836
Language : English
Location : Somewhere
Re: Automaticly log out
Rideem3 wrote:You can use JavaScript to fully log out. However I recommend that you use the Admin Panel method.
- Code:
var minutes = "30"; //30 minutes of inactivity
$(function() {
if (document.getElementById('logout'))
setTimeout(function() {
$.get(document.getElementById('logout').href);
}, minutes * 60000);
});
Now thats what I need ... Can u just tell me where do I put the time after some one is bein logged out ?
is it the 30 or 60000 ? Thank you v. much !
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum