Quote:
Originally Posted by ArabSQuad
didn't really get what does the hack do ......
but thnx anyway .... :/
|
Currently, when vb needs to run a sheduled task, it loads image code at the bottom of your forum page. Except it has a php file as the src of the img tag. This causes the php file to run which in turn runs the next scheduled task. This can, depending on the cron to run and the size of the site, cause a browser to seemingly hang until the script is finished running. This happens because this is a syncronous event. Meaning, it's waiting for the page to finish loading the image.
This mod replaces that with an asyncronous AJAX call to the cron script.
The image code has served vb well but with the advent of AJAX type methods there is a cleaner way to do it. That's what this does.