Version: 1.00, by UKBusinessLive
Developer Last Online: Feb 2012
Category: Board Optimization -
Version: 3.7.4
Rating:
Released: 12-04-2008
Last Update: Never
Installs: 26
Template Edits
Re-useable Code Translations
No support by the author.
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
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
<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>
Ive Inserted this bit of code on the next line below the vb time code in footer template as i wanted it to show below the time but you can add it where you chose:
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 />
I've been looking for exactly this!
What sort of load times are we all getting? Mine fluctuates between 2.1 and 2.9 seconds.
I thought this was a bit excessive considering my vB running on a dedicated server.
I've been looking for exactly this!
What sort of load times are we all getting? Mine fluctuates between 2.1 and 2.9 seconds.
I thought this was a bit excessive considering my vB running on a dedicated server.
<!-- TWO STEPS TO INSTALL LOADING TIME INDICATOR:
1. Copy the coding into the HEAD of your HTML document
2. Add the last code into the BODY of your HTML document -->
<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->
<HEAD>
<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>
</HEAD>
<!-- STEP TWO: Copy this code into the BODY of your HTML document -->
<BODY>
<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>
<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>
<!-- Script Size: 1.14 KB -->
funny seeing the anti plagiarism button on uk's site.
I was sent the code by one of my members without any mention of author or copyright attached to it, I will now add it to the main post.
Funny how some people prefer to stir up on here, A nice pm would suffice rather than trying to embarrass me on this thread???
In my Snowflake mod i give the author all the credit. Had i known about this one i would of done the same.
Some people don't half jump to conclusions
Why would I want to pm you and why would it be nice?
Sorry if it was an innocent mistake but passing off other peoples work as your own is very common and I found it ironic when I saw the anti-plagiarism button on your site. If you had used that service or even a simple google you would have found the original code intact with credits.
Don't make out I'm the bad guy because I'm not. I just think that the coder deserves credit not you. I don't understand why some third party would forward you code only after removing the credit either but then again I don't believe a word you are saying.