Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-27-2008, 07:47 PM
mark350 mark350 is offline
 
Join Date: Jan 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Online Now Problem

I created 8 accounts for ministers that will be participating in my forum... I'm noticing the forum is showing all the minister's account as being "online" (green indicator light next to their username):

http://www.true2ourselves.com/forum/...ing-meyer.html

The problem is that none of them are online (I created these accounts and only I have access to them)... does anyone know why the forum is reading them as online?

Also, next to the forum category there is an indicator that displays how many people are viewing a specific section... that indicators is suggesting that all the ministers are currently viewing that section.

Any help would be greatly appreciated, thanks.
Reply With Quote
  #2  
Old 05-27-2008, 08:35 PM
wrestlepower wrestlepower is offline
 
Join Date: Apr 2006
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It will likely be because of the setting that displays how long a user remains as being active on the board. I can't remember what the default time is, but i have mine set to 30 mins. Did you create these accounts by registering or through the admincp?

If you registered the accounts, they will appear offline once their session has expired. You can edit how long the session is in the admincp. Go to admincp>vBulletin Options>Cookies and HTTP Header Options and change the session timeout to something smaller.

Anyway, i'm going to assume they're already showing as logged out since your post was 45 mins ago.
Reply With Quote
  #3  
Old 05-27-2008, 09:00 PM
mark350 mark350 is offline
 
Join Date: Jan 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I created their accounts early yesterday... through the typical registration process. However, my programmers have blended three other modules into the registration process so I'm not entirely certain how it works.

Ok, I think I found a problem... it has to do with the "session time out" being set to 90000000 (I have it that way so people never get automatically logged out of vbulletin - since my site uses two other modules that are not session based)....

However, I still don't know why vbulletin is showing everyone as being "online now" if they are not physically logged into their accounts?

I mean if a person logs out of their account, the green light should always go off, right?

Thanks for any help!
Reply With Quote
  #4  
Old 05-27-2008, 09:07 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If the person ticks the "remember me" box when logging in, they wont get auto logged out anyways, seeing as you have a ridiculous timeout for the cookie, that is why they always appear logged in.
Reply With Quote
  #5  
Old 05-27-2008, 09:12 PM
mark350 mark350 is offline
 
Join Date: Jan 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
If the person ticks the "remember me" box when logging in, they wont get auto logged out anyways, seeing as you have a ridiculous timeout for the cookie, that is why they always appear logged in.
I assume you are referring to inactivity... I understand if a member is inactive they won't be "automatically" logged out because the long duration setting.

However, I'm talking about when someone physically logs out of the site... I clicked the log out button and it's obvious that I am not logged into vbulletin - why then is the green light on>?
Reply With Quote
  #6  
Old 05-27-2008, 09:18 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are assuming wrong.

You might want to read what i posted again, they WONT be logged out regardless of what your cookie is set to.
Reply With Quote
  #7  
Old 05-27-2008, 09:23 PM
mark350 mark350 is offline
 
Join Date: Jan 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
You are assuming wrong.

You might want to read what i posted again, they WONT be logged out regardless of what your cookie is set to.
I appreciate your help, but I still see an error in your logic.... Here are the steps:

1. I created an account.

2. I logged into the account.

3. I physically logged out of the account i.e. I hit the "log out" button. I verified that I was logged out by noting obvious characteristics on the vbulletin template ("register now" for example).

4. I navigate to the above mention forum and next to each member is a "green" light saying they are "online now".

If the member is NOT logged into their account i.e. they are "not" online now ... then why is the green light still on..?

If I am missing something, please explain?
Reply With Quote
  #8  
Old 05-27-2008, 09:27 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the cookie timeout is incorrect, set it to 900 and leave it alone.

if you want to learn how the cookie works in vbulletin, you should read up on cookie sessions with a database.
Reply With Quote
  #9  
Old 05-27-2008, 09:34 PM
mark350 mark350 is offline
 
Join Date: Jan 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I set it that way to try to prevent a problem.... when you log in to my website, you are automatically logging into three modules (B-Z, C-S, and vbulletin).

If a member was inactive for a given period of time (say 900 seconds), vbulletin would automatically log them out. However, they would NOT be logged out of my other two modules - thus the problem.

I set the cookie timeout to 90000 to prevent this issue... if that's not correct, can someone PLEASE suggest another approach that will solve my problem?

The help is very much appreciated!
Reply With Quote
  #10  
Old 05-27-2008, 09:39 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vbulletin will NOT automatically log anyone out as long as they ticked the remember me box, thats what its there for.

if your users are getting logged out, then thats a issue your b-z & c-s are causing.
Reply With Quote
Reply


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


All times are GMT. The time now is 05:33 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.03975 seconds
  • Memory Usage 2,248KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete