The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Automaticly log out

View previous topic View next topic Go down

Automaticly log out

Post by smerf95 on September 15th 2012, 1:08 pm

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 ! Very Happy
Hope there is such an option because I realy need it ...

smerf95
Forumember

Male Posts : 208
Reputation : 3
Language : Polish

http://sorta.forumpl.net

Back to top Go down

Re: Automaticly log out

Post by Jophy on September 15th 2012, 1:14 pm

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


Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

Re: Automaticly log out

Post by smerf95 on September 15th 2012, 3:55 pm

@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?

smerf95
Forumember

Male Posts : 208
Reputation : 3
Language : Polish

http://sorta.forumpl.net

Back to top Go down

Re: Automaticly log out

Post by Jophy on September 15th 2012, 3:57 pm

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

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

Re: Automaticly log out

Post by smerf95 on September 16th 2012, 1:28 am

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 ! Very Happy

smerf95
Forumember

Male Posts : 208
Reputation : 3
Language : Polish

http://sorta.forumpl.net

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum