vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v3.0 Support > "How Do I..." Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 11-27-2007, 12:48 PM
toejam's Avatar
toejam toejam is offline
Member
 
Join Date: Sep 2007
Posts: 52
Default Online users module question

Can I make the users appear to stay online longer other than the default time? Change it from fifteen minutes to like four hours?
Thanks for any help.
Reply With Quote
  #2  
Old 11-27-2007, 06:08 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Online users module question

If you look in your modules/onlineusers.php file for this code:
PHP Code:
(TIMENOW $vbulletin->options['cookietimeout']) 
You can change the variable "$vbulletin->options['cookietimeout']" to the number of seconds you want it to use.
Reply With Quote
  #3  
Old 11-27-2007, 07:24 PM
toejam's Avatar
toejam toejam is offline
Member
 
Join Date: Sep 2007
Posts: 52
Default Re: Online users module question

Do I change the whole "$vbulletin->options['cookietimeout']" to just seconds? So four hours would be 14400 seconds? TIMENOW - 14400
Reply With Quote
  #4  
Old 11-28-2007, 01:39 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Online users module question

Yes. Though I'm not entirely sure when or how often vB cleans out the session table, so you *may* not actually be able to set it that high without changing your vBulletin cookie timeout. (it won't hurt to try of course, just warning you that it might not work very well).
Reply With Quote
  #5  
Old 11-28-2007, 01:47 PM
toejam's Avatar
toejam toejam is offline
Member
 
Join Date: Sep 2007
Posts: 52
Default Re: Online users module question

I did try this without changing the cookies setting and it does work on the module but it doesn't work with the forum homepage currently active users. I didn't realize all I had to do was change cp/vboptions/Session Timeout time. This was what I wanted to do. It also seems to work without changing the onlineusers.php file.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Online Users Module Not Properly Funcitoning IceFanatic Troubleshooting & Problems 16 10-16-2008 08:29 AM
Online Users Module (AJAX version)? ERuiz Module & Modification Discussion & Requests 1 07-05-2007 12:54 AM
Scrollbox on Users Online Module? Strife "How Do I..." Questions 2 10-01-2006 03:34 PM
Need to alter the Online Users module christianb "How Do I..." Questions 1 09-17-2006 09:56 PM
Online Users Module Change Cadmus "How Do I..." Questions 5 09-07-2005 01:01 PM


All times are GMT -4. The time now is 06:55 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.