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.
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?
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?
Nothing. Try hitting revert on the entire template. Make sure you've got any changes you've made backed up.
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..
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.
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...
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?
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...