Back to vBulletin 3.7 Template Modifications

Forum Load Time Indicator
Mod Version: 1.00, by UKBusinessLive

This modification is in the archives.
vB Version: 3.7.4 Rating: (3 votes - 4.67 average) Installs: 26
Released: 05 Dec 2008 Last Update: Never Downloads: 9
Not Supported Template Edits Re-usable Code Translations  

Ever wanted to see just how fast your board is loading?? Its a bit slow but your not sure how slow?? Just loaded a new hack - Is your board just as fast???

Well now you'll know with this simple little hack that sits queitly at the bottom of your footer. A timer starts when the page begins to parse and ends when it has completed loading all of the content. The result is the time in seconds of how fast (or slow) your forums are loading.

The Instructions are so simple too

ACP> Style Manager > Your Forum Style

1. Copy the code below into your forum's style headerinclude

Code:
<script type="text/javascript">
<!-- Begin
/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Abraham Joffe :: http://www.abrahamjoffe.com.au/ */
var startTime=new Date();
function currentTime(){
  var a=Math.floor((new Date()-startTime)/100)/10;
  if (a%1==0) a+=".0";
  document.getElementById("endTime").innerHTML=a;
}
window.onload=function(){
  clearTimeout(loopTime);
}
// End -->
</script>
and post this code into the Footer

Code:
<div align="center">
<script type="text/javascript">
<!-- Begin
  document.write('This Page took <span id="endTime">0.0</span> seconds to load.');
  var loopTime=setInterval("currentTime()",100);
// End -->
</script>
</div>
Thats it, short, and sweet enjoy

Please Click install if you use this

Original Script Created by : Abraham Joffe

Download

No files for download.

Screenshots

Click image for larger version
Name:	page.png
Views:	626
Size:	61.0 KB
ID:	90189  

Similar Mods

Board Optimization Forum Load Time Indicator vBulletin 3.8 Template Modifications

vblts.ru supports vBulletin®, 2022-2024