Admin Control Panel Session Timeout Exceptions

MobileHacks

New Member
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:
  1. Do the following file edit:
    Open the file "admincp/global.php" & search in it for the following code:
    PHP:
    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:
    PHP:
    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). **
  2. Import product's XML file from AdminCP.
  3. Done
Control:
  • vBulletin AdminCP -> vBulletin Options -> vBulletin Options -> AdminCP Cookie Timeout exceptions
License:
Help with:
  • Suggestions to develop this product.
  • Contributing any updates, upgrades and/or any new features.
  • Translations to benefit more users (translation credits goes to their owners).
  • Spreading this product. Yes, you're free to re-distribute this product as it is.
Known Isues:
  • Nothing till now.
History:
  • v3.8.100 14/01/2009 10:00 AM GMT: First initial public release.
Screen Shots:
  • Available down there.
Technical Notes:
  • New Files: 0
  • New Plugins: 1
  • New Phrases: 3
  • New Templates: 0
  • Template changes: 0
  • Code Changes: 1
  • New vBulletin Settings: 1
  • New Usergroup Permissions: 0
  • New Moderator Permissions: 0
  • New Administrator Permissions: 0
  • New Forum Options: 0
  • New DB Tables: 0
  • DB Alterations: 0
  • New Cron Jops: 0
    -----------------
  • Installation Level: V.Easy
  • Installation Time: 3~5 seconds
 
Top