The Arcive of vBulletin Modifications Site. |
|
Forum Load Time Indicator Details »»
|
|||||||||||||||||||||||||
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>
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>
![]() Please Click install if you use this ![]() Original Script Created by : Abraham Joffe Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Reserved
|
|
#3
|
|||
|
|||
|
Installed.
Question, how do you get it centered in the page, currently it installed to the left. :up: /edit found it. <div align="center"> </div> |
|
#4
|
|||
|
|||
|
Think I will wait for some proper install instructions!
|
|
#5
|
|||
|
|||
|
Btw, this doesn't work well with the WebSite thumbnail mod here.
https://vborg.vbsupport.ru/showthread.php?t=196702 I had just installed the timer here, worked like a charm. Installed the website thumbnail and the timer doesn't stop counting..lol. Install and you will see what I mean. |
|
#6
|
|||
|
|||
|
Quote:
Updated the code now to include it :up:
|
|
#7
|
|||
|
|||
|
Only 2 small bits of code to paste, one in the headerinclude, and one in your footer easy
|
|
#8
|
|||
|
|||
|
Quote:
|
|
#9
|
|||
|
|||
|
It's a cool mod, simple, clean and effective.
However I had to uninstall it until the bugs get worked out b/c it looks funny watching it count forever..lol. :up: |
|
#10
|
|||
|
|||
|
this will help you.
choose the skin you want this showing and, Insert this bottom of the header template: Code:
<script type="text/javascript">
<!-- Begin
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>
Code:
<div class="smallfont" align="center"><b><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>
</b>
<br />
|
![]() |
|
|