Results 1 to 5 of 5

Thread: Online users module question

  1. #1

    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.

  2. #2
    Administrator Brian's Avatar
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,431

    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.

  3. #3

    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

  4. #4
    Administrator Brian's Avatar
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,431

    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).

  5. #5

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •