Idle timer calculating wrong time

Status
Not open for further replies.

SSSlippy

Customer
So the idle timer is currently calculating your timeout from when u click un idle and is not recalculating from each shout.
 
So the idle timer is currently calculating your timeout from when u click un idle and is not recalculating from each shout.

This would explain the weirdness I've been seeing from it. I've typing something and 10 seconds later it idles me out. But I hadn't been able to figure out a pattern yet so I didn't report it.
 
Confirmed, fixed in next version.
Hotfix instructions.
Open clientscript/dbtech/vbshout/vbshout.js
Find:
Code:
        if (this.idle)
        {
            // We're obviously no longer idle, but init AJAX first so that we don't double fetch shouts
            this.unidle();
        }

Add below:
Code:
        // Reset idle time
        this.idletime = 0;
 
Yeah it's awesome that vBulletin provides a wrapper for that (so that I don't need to comment it out for release) - it's helped me lots while developing and debugging :D
 
Status
Not open for further replies.

Legacy vBShout

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
3,177
Customer rating
5.00 star(s) 1 ratings
Back
Top