phpMiX.org :: Open Source eXperiments

 
[MOD-DB] Keep Session Alive MOD v1.1.0
Select messages from
# through # FAQ
[/[Print]\]
 
phpMiX.org -> Keep Session Alive

#1: [MOD-DB] Keep Session Alive MOD v1.1.0 Author: markus PostPosted: Sun Oct 10, 2004 8:38 pm
    —
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Note:
This MOD has been kindly approved by the phpBB MOD Team Smile

Check out its Release Announcement topic:
http://www.phpbb.com/phpBB/viewtopic.php?t=232936
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

MOD Title: Keep ACP Sessions Alive MOD

MOD Version: 1.1.0

MOD Description: This MOD keeps your user session alive while logged into your ACP. It avoids (annoying) redirections from the ACP to the Board Index after a period of inactivity greater than session_length.

How this MOD Works? This MOD adds a 1x1 pixel image in your ACP navigation panel which is automatically refreshed before your session expires. The URI for that small image is actually a script that updates your session_time. So that simple trick keeps your session alive while logged into your ACP. Smile

Note for MOD authors: This MOD has been rewritten so it can be reused by other MODs more easily. If for whatever reason you need to keep the user session alive, all you have to do is include the javascript and the image in your template. See this MOD script for a sample on how to do it.


Download:
Link removed. Please use the phpBB MODs Database (Admin Tools category).


MOD Header:

Code:
##############################################################
## MOD Title: Keep Session Alive MOD
## MOD Author: markus_petrux < phpbb.mods@phpmix.com > (Markus) http://www.phpmix.com
## MOD Description: This MOD keeps your user session alive while logged into your ACP.
##     It avoids (annoying) redirections from the ACP to the Board Index after a period
##     of inactivity greater than session_length.
## MOD Version: 1.1.0
##
## Installation Level: (Easy)
## Installation Time: 3 Minutes
## Files To Edit: 2
##    admin/index.php
##    templates/subSilver/admin/index_navigate.tpl
## Included Files: 2
##    images/keep_session_alive.php
##    templates/keep_session_alive.js
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## - How this MOD works?
##   This MOD adds a 1x1 pixel image in your ACP navigation panel which is automatically refreshed
##   before your session expires. The URI for that small image is actually a script that updates
##   your session_time. So that simple trick keeps your session alive while logged into your ACP.
##
## - Note for MOD authors:
##   This MOD has been rewritten so it can be reused by other MOD authors more easily.
##   As you'll see in this MOD, all you need to do is:
##   a) Pass on to your template the variables: KSA_JSLIB, KSA_IMG and KSA_INTERVAL
##   b) Include once the javascript in your template (on top of everything else if possible).
##   c) Include once the 1x1 pixel image in your template (no matter the place).
##   Please note that you can even use the phpbb page identifer of your choice (see KSA_IMG).
##
## - MOD related comments:
##   Tested with phpBB 2.0.10
##   This MOD is EasyMOD friendly.
##
##############################################################
## MOD History:
##
## 2004/10/14 - 1.1.0
## - Rewritten so it can be reused by other MOD authors more easily.
##
## 2004/10/10 - 1.0.0
## - Initial release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
 

#2: Re: [BETA] Keep Session Alive MOD v1.1.0 Author: markus PostPosted: Thu Oct 14, 2004 4:45 pm
    —
ZIP updated to version 1.1.0 Exclamation

It has been rewritten so it can be reused by other MOD authors more easily.
 

#3: Re: [RC] Keep Session Alive MOD v1.1.0 Author: markus PostPosted: Sun Oct 17, 2004 1:37 am
    —
ok, after some days in beta stage, 15 downloads and no bug reported ....hmmm no other feedback, though. Confused

I believe it is still useful, specially for those who like to have an opened browser window pointing to their ACP (to monitor connections or whatever), so...

This MOD has been submitted to the MODs Database. Let's see what they say. Rolling Eyes Smile
 

#4: Re: [MOD-DB] Keep Session Alive MOD v1.1.0 Author: markus PostPosted: Sat Oct 30, 2004 3:23 pm
    —
This MOD has been kindly approved by the phpBB MOD Team. Smile

Check out its Release Announcement topic:
http://www.phpbb.com/phpBB/viewtopic.php?t=232936

Download:
Please use the phpBB MODs Database (Admin Tools category).

Support, feeback, suggestions:
Feel free to use this forum, here at phpMiX.
 




phpMiX.org -> Keep Session Alive


output generated using printer-friendly topic mod. All times are GMT + 1 Hour

 
Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group