Back to vBulletin 3.8 Template Modifications

Forum Load Time Indicator
Mod Version: 1.00, by UKBusinessLive

vB Version: 3.8.0 RC 1 Rating: (4 votes - 4.75 average) Installs: 47
Released: 05 Dec 2008 Last Update: Never Downloads: 14
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:	2252
Size:	61.0 KB
ID:	90188  


vblts.ru supports vBulletin®, 2022-2024