Please remember to click Mark as Installed if you use this modification.
Support questions from members who have not marked this as installed will be considered low priority.
Note: This product has been requested by Gladhatter as a custom work. It has been completed & delivered few days ago. Since all of my custom work is licensed under Creative Commons - Attribution-Noncommercial-Share Alike 3.0, I publish it now for the public use, I hope this product will be useful for all of you.
Name: Admin Control Panel Session Timeout Exceptions - Version: 3.8.100
Description:
This product can except some staff members from "Admin Control Panel Timout", so they can stay logged in Admin Control Panel and not forced to re-login every hour after inactivity as default vBulletin behaviour.
As every admin know, if he didn't do something in his Administrator Control Panel through an hour, then he will be logged out automatically, also if he closed the browser & open a new one later & try to acces ACP. In both cases he will requested to re-login to the ACP also if he is still logged in the forum itself (The forum not the ACP). It's a security hardening that vBulletin apply on the AdminCP. But there is some Administrators that hate this routine & hope they can stay online in their ACP as soon as they're already logged in the forum. That's why this product comes out. It will allow Administration to determine which staff members should use this product & be excepted from the default vBulletin routine & still logged in their ACP as soon as they're logged in the forum itself.
Use this product if you're really really needing it, and be informed that using it should be at your own risk.
Compatible with: All 3.6.x/3.7.x/3.8.x vBulletin versions.
Features:
Fully Phrased.
Fully Supported.
Accurate Processing.
Professionally Coded.
Doing all default vBulletin checks & follow all vBulletin default scenarios while proccessing.
Can Set "Staff User IDs Excepted from AdminCP Timeout Limits", so you've control over which Admin staff members which included by this exceptions & which excluded.
Installation Procedure:
Do the following file edit:
Open the file "admincp/global.php" & search in it for the following code:
Code:
if ($checkpwd OR ($vbulletin->options['timeoutcontrolpanel'] AND !$vbulletin->session->vars['loggedin']) OR empty($vbulletin->GPC[COOKIE_PREFIX . 'cpsession']) OR $vbulletin->GPC[COOKIE_PREFIX . 'cpsession'] != $cpsession['hash'] OR empty($cpsession))
Replace it with the following code:
Code:
if ($checkpwd OR ($vbulletin->options['timeoutcontrolpanel'] AND !$vbulletin->session->vars['loggedin']) OR (empty($vbulletin->GPC[COOKIE_PREFIX . 'cpsession']) OR $vbulletin->GPC[COOKIE_PREFIX . 'cpsession'] != $cpsession['hash'] OR empty($cpsession)) AND !in_array($vbulletin->userinfo['userid'], explode(',', $vbulletin->options['admincpcookietimeoutexc_ids'])))
** Save the modified file "admincp/global.php" & re-upload it (allow over-write). **
i also installed it, and deleted it after a while cuz of having troubles with any thread options (Moderation)! if i want to put 2 threads together, u need to login, then it goes back to the root with the error that i want to do a not allowed action! same with moving threads/posts!
You're welcome.
So, you don't have to install it .
Quote:
Originally Posted by aircool52
I Get and error , no showing th admincp.
Quote:
Originally Posted by aircool52
Never maind I have place this { at the and ad now work.
Quote:
Originally Posted by aircool52
Is no way that I can make this mod work .
Quote:
Originally Posted by aircool52
I make this work I deleted the last ! from the script and is working.
Sounds good.
It should work for every one if instructions followed carefully.
Quote:
Originally Posted by michi123
i also installed it, and deleted it after a while cuz of having troubles with any thread options (Moderation)! if i want to put 2 threads together, u need to login, then it goes back to the root with the error that i want to do a not allowed action! same with moving threads/posts!
You've to take care of the simple-one-step edit step.
If you do the edit in a wrong way it will display an error of course, but if not it will work more than fine. It's fully tested on all 3.7.x/3.8.x versions & proved to work very fine.