PDA

View Full Version : Admin CP Timeout


Primal Rage
11-19-2004, 06:10 PM
In vb3 , jelsoft decided to auto-logout the admin from the admincp after 1 hour of inactivity or according to the sites cookie timeout. However for some of us we require to be logged in the admincp longer then 1 hour. A perfect eample is whem mass mailing all users. One has to hit Next page after each batch, well if the admin leaves the pc for an hour and comes back, when he hits the next page button he will get the login prompt. Once he logs in it will take him to admin cp homepage and not the continuation of the mailing. This can become rather nnoying specially when one runs a huge site and needs to be in the adminCP at all times.

Anyways, vb said the timeout is enbended in the code and in order to have it increased i should enquire here.

Anyone have any ide on how to change the default 1 hour time out ??

Zachery
11-19-2004, 06:51 PM
It loggs you out after 1 hour of inactivity, Ive been logged into the admincp for several hours.

Primal Rage
11-19-2004, 07:19 PM
It loggs you out after 1 hour of inactivity, Ive been logged into the admincp for several hours.

it keeps you logged in as long as you are doing something withing the admincp. If log in to the admincp, leave the PC for an hour while i go shopping. When i come back and click say "search for user" it brings me back to the log on screen and i have to enter my password.

Vb admits that is the way it's designed. You can read the thread where many others complain of the same by clicking here -> http://www.vbulletin.com/forum/showthread.php?t=110377

Zachery
11-19-2004, 07:32 PM
it keeps you logged in as long as you are doing something withing the admincp. If log in to the admincp, leave the PC for an hour while i go shopping. When i come back and click say "search for user" it brings me back to the log on screen and i have to enter my password.

Vb admits that is the way it's designed. You can read the thread where many others complain of the same by clicking here -> http://www.vbulletin.com/forum/showthread.php?t=110377
I have no want or reason to do this, think if byou had acidently left yourself logged in at a public computer, then everyone could login to the admincp and do as they please, not a pleaset thought

Paul M
11-19-2004, 08:22 PM
I have no want or reason to do this, think if byou had acidently left yourself logged in at a public computer, then everyone could login to the admincp and do as they please, not a pleaset thoughtJust because you don't have a want doesn't mean everyone else is the same. I find this session expiry very irritating. I keep the ACP open in one window and am always finding myself having to log in again.

FYI: I don't ever access the ACP from a public computer.

Primal Rage
11-19-2004, 10:28 PM
Just because you don't have a want doesn't mean everyone else is the same. I find this session expiry very irritating. I keep the ACP open in one window and am always finding myself having to log in again.

FYI: I don't ever access the ACP from a public computer.

I have the same belief, I never access the admincp from a public PC, I work from home so i no need to access from public PC. And everywhere i go i taked my laptop. I find this annoying and i think we should have an alternative.

This should be an options admins should have control over. FOr those who want to have it expire then great but for those who don't then it should me available.

charlesk
11-26-2004, 03:35 PM
I too would love to know if there is some hack to change this from say, 1 hour to 12 hours. I only log in from home and have no need for this feature.

Grateful for any pointers.

Charles

charlesk
11-27-2004, 11:38 AM
Okay, I think I figured out how to do this... Search for "3600" in admincp/global.php and change it to some other number of seconds.

It seems to work, but my overall knowledge of vB hacking is very limited. Could someone tell me if this is likely to break anything?

Thanks. --c

Code Monkey
11-27-2004, 04:41 PM
That won't break anything. I have mine set to 4 hours which is more realistic for my needs.

charlesk
11-29-2004, 12:41 PM
Thanks. Except I just realized that it is in fact not working. Still times me out quickly. Is there something else I need to do?

Appreciate your help, this is annoying in the extreme. --c

charlesk
11-30-2004, 02:30 PM
Anyone? I'm begging here. :) --c

Code Monkey
11-30-2004, 06:05 PM
Works for me.

charlesk
11-30-2004, 07:41 PM
JumpD: all you did was change the 3600 in the admincp/global.php file? In one place (that was all I found?)

Thanks. --c

Bison
11-30-2004, 09:30 PM
Testing this @10800 seconds ... i'll let you know if this works!

Primal Rage
12-09-2004, 03:15 PM
I am testing this as well. Will report back.

Primal Rage
12-11-2004, 05:20 AM
I still get logged out regardless of what value i place.

Bison
12-11-2004, 12:42 PM
Same here ... looks like this hack doesn't work well. :surprised:

charlesk
12-16-2004, 06:31 PM
Would someone who knows how to do this PLEASE share the secret? Having to log in a zillion times a day is driving me batty. :) Thanks.

Charles

TwinsX2Dad
12-16-2004, 09:26 PM
AND dateline > " . iif($vboptions['timeoutcontrolpanel'], intval(TIMENOW - $vboptions['cookietimeout']), intval(TIMENOW - 3600))

Change the colored data.

It works - have been using this for awhile, but you may need to clear your cookie for it to work for you.

I think one of the dumbest things a software maker can do is to protect users from themselves without an easy override. It displays arrogance and immaturity. Even the anti-virus makers allow me to side-step the software's protections. Probably 99% of users admin their boards from a home or secured office login - not a library or public computer.

I can afford a Web server and a vB/IPB or (insert your favorite software here) license, yet I can't afford a computer or Web access - right.

charlesk
12-18-2004, 12:22 PM
Thanks Twins. That was actually the change I suggested on the first page but it didn't seem to work. I just cleared all the cookies from my site and we'll see if that helps.

Charles

charlesk
12-18-2004, 10:25 PM
Nope, still doesn't work. No idea what I am doing wrong.

Charles

mwahl
12-19-2004, 03:47 AM
I am going to join this group, as I am also sick and tired of having to log in every time I turn around. I think that the rest of vB is well thought out, but this is one of the most aggrivating kinks in it.

charlesk
12-21-2004, 05:01 PM
I put this issue to the folks at vBulletin and there is some useful information about resolving it near the end of this thread: http://www.vbulletin.com/forum/showthread.php?t=123831

Charles