Users online broken for vBulletin 4.1.6

Discussion in 'vBulletin Discussions' started by cpvr, Dec 15, 2011.

  1. cpvr

    cpvr Regular Member

    Joined:
    Aug 14, 2009
    Messages:
    3,219
    Likes Received:
    823
    I'm not sure what's going on here because my users online was working prior to today.

    The front page displays the correct amount of people online, but when I click "Who's online" to check who's online, it displays a whole different amount of people online.

    How can I go about fixing this? And the vBulletin version is 4.1.6.
     
  2. goblues

    goblues Regular Member

    Joined:
    Apr 13, 2011
    Messages:
    90
    Likes Received:
    54
    Location:
    St Louis MO
    Is the Who's online more than what is listed on the forum index?
     
  3. Mikey

    Mikey Mikeylicio.us

    Joined:
    Sep 12, 2009
    Messages:
    484
    Likes Received:
    92
    Location:
    United Kingdom
    Try reverting the template with wol in it??
     
  4. goblues

    goblues Regular Member

    Joined:
    Apr 13, 2011
    Messages:
    90
    Likes Received:
    54
    Location:
    St Louis MO
    And check the settings in your admincp, who's online settings
     
  5. cpvr

    cpvr Regular Member

    Joined:
    Aug 14, 2009
    Messages:
    3,219
    Likes Received:
    823
    Ya, its a lot more than the users online on the front page. I also checked the settings in the admin CP, its set to 30 minutes.
    @Mikey What template is that do you know?
     
  6. Mikey

    Mikey Mikeylicio.us

    Joined:
    Sep 12, 2009
    Messages:
    484
    Likes Received:
    92
    Location:
    United Kingdom
    FORUMHOME maybe.
     
  7. cpvr

    cpvr Regular Member

    Joined:
    Aug 14, 2009
    Messages:
    3,219
    Likes Received:
    823
    This is the code that I'm looking for right?

    Code:
    <h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase currently_active_users}" />{vb:rawphrase currently_active_users}</h3>
    <div>
    <p>{vb:rawphrase there_are_x_y_online_link, {vb:raw totalonline}, {vb:raw session.sessionurl_q}} <span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</span></p>
    <p>{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw recordusers}, {vb:raw recorddate}, {vb:raw recordtime}}</p>
    <vb:if condition="$activeusers">
    <ol class="commalist" id="wgo_onlineusers_list">
    <vb:each from="activeusers" value="loggedin">
    <li> {vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}</li>
    </vb:each>
    </ol>
    </vb:if>
    </div>
    </div>
    What do I change?
     
  8. Mikey

    Mikey Mikeylicio.us

    Joined:
    Sep 12, 2009
    Messages:
    484
    Likes Received:
    92
    Location:
    United Kingdom
    Nothing. Try hitting revert on the entire template. Make sure you've got any changes you've made backed up.
     
  9. cpvr

    cpvr Regular Member

    Joined:
    Aug 14, 2009
    Messages:
    3,219
    Likes Received:
    823
    Did that, and still the same problem.
     
  10. Mikey

    Mikey Mikeylicio.us

    Joined:
    Sep 12, 2009
    Messages:
    484
    Likes Received:
    92
    Location:
    United Kingdom
    Sorry then, I don't know. I thought it could be an old template causing this.

    Only other thing I can think of is that it's a hook which is hooking into the WOL code and hasn't been updated, so accounting for the discrepancy.

    If that's not it, I dunno..
     
  11. cpvr

    cpvr Regular Member

    Joined:
    Aug 14, 2009
    Messages:
    3,219
    Likes Received:
    823
    Ya, and that code hasn't been touched so I'm at lost for words here as well. Its been working fine before but since yesterday its been broken. Not sure why =/

    And it shows the correct amount of who's online in the admin panel.
     
  12. goblues

    goblues Regular Member

    Joined:
    Apr 13, 2011
    Messages:
    90
    Likes Received:
    54
    Location:
    St Louis MO
    I have seen this before and can't remember for the life of me how i fixed it. Been looking for the past day. Not giving up yet...
     
  13. cpvr

    cpvr Regular Member

    Joined:
    Aug 14, 2009
    Messages:
    3,219
    Likes Received:
    823
    Not sure what's going on, but I just checked my users online and it seems to be fixed. Could it been one of the crons?
     
  14. Cerberus

    Cerberus Admin Talk Staff

    Joined:
    May 3, 2009
    Messages:
    1,031
    Likes Received:
    500
    Maybe you do not have an uptodate spiders file? And you do not have it set to show spiders on homepage? That would cause a different number if looking at whos online.. Also your timeout could be very high .. Another thing that would show different number...
     
    Brandon likes this.
  15. cpvr

    cpvr Regular Member

    Joined:
    Aug 14, 2009
    Messages:
    3,219
    Likes Received:
    823
    My counter is set to 30 minutes. The spiders amount also shows up on the forum home.
     
  16. goblues

    goblues Regular Member

    Joined:
    Apr 13, 2011
    Messages:
    90
    Likes Received:
    54
    Location:
    St Louis MO
    What is all your who's online settings? Specifically, Who's Online Display Guests
     

    Attached Files:

  17. cpvr

    cpvr Regular Member

    Joined:
    Aug 14, 2009
    Messages:
    3,219
    Likes Received:
    823
    It displays guests, and its set to 60 seconds.
     

Share This Page