I was thinking what Marco said. a vBcron every X mins. The thing that stoped me was how can I clean the table out per userid? Wouldn't be able to use WHERE userid = $vbulletin->userinfo['userid'] since its running as a cron...
I would have to get every userid from the users table and during the while statement I could clean up the table, but that seems like alot of work for a cron right?
|