#1

Not really a problem

in Site problems Thu Oct 16, 2014 8:37 pm
by Melvan | 492 Posts | 2234 Points

Just a weird thing I was wondering if we could fix.

When I log in here, if I forget to log out and just close the window, then come back later, I'm still logged in. I usually uncheck the "keep me logged in" box on all sites when I log in. I don't see that box here, is there something in my settings I can change so it logs me out when I close the window, or can we add that box Ozzie?

I know, it's silly and nit picky, lol.


http://www.greenthumbgirls.com/
Scroll up

#2

RE: Not really a problem

in Site problems Mon Oct 20, 2014 12:30 am
by ozzydiodude • The Weird One | 2.474 Posts | 11542 Points

I'll asked the provider for a change there is no way to change the setting right now in the admin


Let's help each other, by spreading our knowledge of the plants we love

Cannabis grown with care grows into medicine somewhere!
Scroll up

#3

RE: Not really a problem

in Site problems Mon Mar 23, 2015 7:03 pm
by Melvan | 492 Posts | 2234 Points

Now that you're back full time, can you re-visit this? Thank you.


http://www.greenthumbgirls.com/
Scroll up

#4

RE: Not really a problem

in Site problems Wed Mar 25, 2015 7:52 am
by MethMan | 16 Posts | 75 Points

@ozzydiodude

You can add the following code to the page footer (admin->layout->header and footer) to automatically logout inactive members after X minutes:
If a member is still on the page when the timer is hit, they will be a popup asking whether he/she want to stay logged in.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 
<script>  
var logouttimer = 60; //change to value you want
var curcookie = xGetCookie("password");
var days_fraction = logouttimer / (24*60);
xSetCookie('password',curcookie,days_fraction);
setTimeout("handleTimeoutDisconnect()",logouttimer*60*1000);

function handleTimeoutDisconnect(){
var doreconnect = confirm(xobor.plugin('autologout').getConf('logoutinfo'));
if(doreconnect){
xSetCookie('password',curcookie,days_fraction);
}

}
</script>
 
 

Scroll up

#5

RE: Not really a problem

in Site problems Wed Mar 25, 2015 8:11 am
by ozzydiodude • The Weird One | 2.474 Posts | 11542 Points

thank you Sir @MethMan just added it


Sending GreenMojo Your way
Scroll up

#6

RE: Not really a problem

in Site problems Wed Mar 25, 2015 11:03 pm
by ozzydiodude • The Weird One | 2.474 Posts | 11542 Points

Changed the timer to 120 min when you set chatting 60 min goes by fast especially when rolling :joint: between post


Sending GreenMojo Your way
Scroll up

#7

RE: Not really a problem

in Site problems Thu Mar 26, 2015 7:28 pm
by Melvan | 492 Posts | 2234 Points

I don't know why I'm neurotic about it, it's just my little forum ocd I guess, lol


http://www.greenthumbgirls.com/
Scroll up

#8

RE: Not really a problem

in Site problems Thu Mar 26, 2015 10:28 pm
by surfinc | 1.748 Posts | 6388 Points

Ok so @Melvan will have all our passwords on a list so we can remember how to get back in here right ??


<p></p>
Scroll up

#9

RE: Not really a problem

in Site problems Thu Mar 26, 2015 10:32 pm
by ozzydiodude • The Weird One | 2.474 Posts | 11542 Points

for me it's a pita logging in 3 or 4 times


Sending GreenMojo Your way
Scroll up

#10

RE: Not really a problem

in Site problems Thu Mar 26, 2015 11:29 pm
by Smokinmom | 755 Posts | 2295 Points

I have to log in each time now. Boo...lol.


"I have Social Disease. I have to go out every night. If I stay home one night I start spreading rumours to my dogs."
~ Andy Worhol
Scroll up

#11

RE: Not really a problem

in Site problems Thu Mar 26, 2015 11:35 pm
by Ston-loc | 376 Posts | 1601 Points

Same here!!! Thumbs down

Scroll up

#12

RE: Not really a problem

in Site problems Fri Mar 27, 2015 12:20 am
by orangesunshine | 803 Posts | 3182 Points

seems to be running a bit slower as well---just sayin'

Scroll up

#13

RE: Not really a problem

in Site problems Fri Mar 27, 2015 12:43 am
by ozzydiodude • The Weird One | 2.474 Posts | 11542 Points

I have taken it off til we can come up with a better way

til then @Melvan you just have to remember something


Sending GreenMojo Your way
Scroll up

#14

RE: Not really a problem

in Site problems Fri Mar 27, 2015 2:25 am
by orangesunshine | 803 Posts | 3182 Points

Spock: We are traveling at warp speed.

Scroll up

#15

RE: Not really a problem

in Site problems Fri Mar 27, 2015 7:29 am
by MethMan | 16 Posts | 75 Points

Quote: MethMan wrote in post #4
You can add the following code to the page footer (admin->layout->header and footer) to automatically logout inactive members after X minutes


Quote: Smokinmom wrote in post #10
I have to log in each time now. Boo...lol.


Yes, thats exactly what this script does - it will log you out after a certain period of inactivity

You want it to be optional?! Let me think about that for a minute ;-)

Scroll up

#16

RE: Not really a problem

in Site problems Fri Mar 27, 2015 7:44 am
by MethMan | 16 Posts | 75 Points

Ok, so this should do the trick:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
 

<script>
function checkLoginStatus(){
var hasLoginCookie = xGetCookie("staylogged");
var stay_logged_in = 0;

if(!hasLoginCookie){
stay = confirm("Stay loged in once you leave this forum?");
if(stay){xSetCookie('staylogged',1,365); }
else{xSetCookie('staylogged',-1,365); }
checkLoginStatus();
return 1;
}else{
if(hasLoginCookie == 1){return true; /*Stay logged in*/ }
}



var logouttimer = 60; //change to value you want
var curcookie = xGetCookie("password");
var days_fraction = logouttimer / (24*60);
xSetCookie('password',curcookie,days_fraction);
setTimeout("handleTimeoutDisconnect()",logouttimer*60*1000);



}

function handleTimeoutDisconnect(){
var doreconnect = confirm(xobor.plugin('autologout').getConf('logoutinfo'));
if(doreconnect){
xSetCookie('password',curcookie,days_fraction);
}

}

checkLoginStatus();
</script>
 



This will ask you on the first page load wether you want to stay logged in or not.
The only downside is that you'll have to delete your cookies manually to change the setting once you've made your choice. Would be best do remove the "staylogged"-cookie on a login/logout but for now I guess this should be fine.

Scroll up

#17

RE: Not really a problem

in Site problems Fri Mar 27, 2015 8:54 am
by Cubby | 1.267 Posts | 4795 Points

This is so much better than yesterday.


BHC #6 7/8
Scroll up

#18

RE: Not really a problem

in Site problems Fri Mar 27, 2015 9:43 am
by ozzydiodude • The Weird One | 2.474 Posts | 11542 Points

I'll get it added later thanks again @MethMan


Sending GreenMojo Your way
Scroll up

#19

RE: Not really a problem

in Site problems Fri Mar 27, 2015 12:25 pm
by surfinc | 1.748 Posts | 6388 Points

Wow is all I can say


<p></p>
Scroll up

#20

RE: Not really a problem

in Site problems Sun Mar 29, 2015 8:15 pm
by Melvan | 492 Posts | 2234 Points

Sorry, didn't mean to cause so much trouble, lol.

Ozzy wants me to remember things, that's a hoot.


http://www.greenthumbgirls.com/

Last edited Sun Mar 29, 2015 8:15 pm | Scroll up



Visitors
0 Members and 8 Guests are online.

guest counter
Today were 263 (yesterday 415) guests online.

Board Statistics
The forum has 1231 topics and 21953 posts.

0 members have been online today: