![]() |
Session Auto-Refresh (if user has not close the browser: show as online!)
1 Attachment(s)
A template modification for session auto-refresh! :up:
What does this mod do? By default, vbulletin refreshes the session only on a page refresh - move to new page by the user. With this, when a user has not close the browser, it continuous display as ONLINE, on the page the browser is. Copy and paste the following code at the end of your headinclude template and you're ready! On the *zip package below you can find also the code for vB3 version. Credits: to madness85 for him idea and the donation for creating this hack. :) HTML Code:
<vb:if condition="$show[member]"> |
Looks good. I just added the script. Thanks.
|
Installed.
EDIT. It doesn't seem to be working :( |
How to conform as it is working?!
|
It still stay the same for me.
|
I would use this instead and just wrap it around the same conditional:
Change the minutes and seconds highlighted in red to your choice.... Code:
<vb:if condition="$show[member]"> |
Thanks Scandal. Looks good.
|
Quote:
|
you must have your Session Timeout higher than in the code above for it to work {vb:raw vboptions.cookietimeout} * 1000); mine is set to 1800
@CAG CheechDogg nice script but that actually refreshes the page :( |
All times are GMT. The time now is 12:53 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|