The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
User stays permanently on line
Recently I had glitch on my server (year date was change from 2009 to 2010). At that time one user was on line. After fixing the error now this particular visitor is showing under "Currently Active User". I checked his setting and it says that he was last time on line couple days ago.
How can I reset cache for this user? Is there anything I should do in DB? It might be that somewhere in system this user has date from 2010 and now system register this user as being on line. Any help will be appreciated. EB I am using VB 3.8.4. |
#2
|
||||
|
||||
Try running these two queries:
Resets his last online time Code:
UPDATE user SET lastvisit = unix_timestamp() - 86400 , lastactivity = unix_timestamp() - 86400 WHERE userid = X; Code:
DELETE FROM session WHERE userid = X; |
#3
|
||||
|
||||
Quote:
EB |
#4
|
||||
|
||||
Yes - there or the MySQL shell, or phpMyAdmin (etc.)
If you do it through the Execute SQL Query page, you'lll have to add your own user ID to includes/config.php. One of the settings there will mention being able to run queries. Run the two queries separately, too. Cheers |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|