vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Administrative and Maintenance Tools - SSGTI - Admin Control Panel Session Timeout Exceptions (https://vborg.vbsupport.ru/showthread.php?t=202100)

Omranic 01-16-2009 10:00 PM

SSGTI - Admin Control Panel Session Timeout Exceptions
 
1 Attachment(s)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!.............. Sponsored by: PHP KingDom (www.phpkd.net) ..............!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




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:
  1. 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). **

  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


Donation?:
  • No, sorry. I appreciate your kindness. But if you need to help/support, then you can ask me for custom work. I'm ready for any custom work :).

vip-q.com 01-23-2009 09:17 PM

thanks, I don't like edit files !!

aircool52 02-08-2009 01:54 AM

I Get and error , no showing th admincp.

aircool52 02-08-2009 02:07 AM

Never maind I have place this { at the and ad now work.

aircool52 02-12-2009 11:45 PM

Is no way that I can make this mod work .

aircool52 02-13-2009 10:58 PM

I make this work I deleted the last ! from the script and is working.

michi123 02-21-2009 08:09 AM

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!

Omranic 04-13-2009 07:10 PM

Quote:

Originally Posted by vip-q.com (Post 1722745)
thanks, I don't like edit files !!

You're welcome.
So, you don't have to install it :).



Quote:

Originally Posted by aircool52 (Post 1737457)
I Get and error , no showing th admincp.

Quote:

Originally Posted by aircool52 (Post 1737467)
Never maind I have place this { at the and ad now work.

Quote:

Originally Posted by aircool52 (Post 1742395)
Is no way that I can make this mod work .

Quote:

Originally Posted by aircool52 (Post 1743330)
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 (Post 1750501)
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.

Gladhatter 07-08-2009 11:49 PM

I had the mod created for me by Solidsnake and it not only works but works perfectly and has for eons on all versions up till now.

Omranic 07-22-2009 08:03 AM

Quote:

Originally Posted by Gladhatter (Post 1845462)
I had the mod created for me by Solidsnake and it not only works but works perfectly and has for eons on all versions up till now.

I'm happy that you like it :).


All times are GMT. The time now is 03:51 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01091 seconds
  • Memory Usage 1,753KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete