|
Page Loading Time
Changed to Beta Version !!
Bug Found ! Its no biggy, but still doesn't do what its meant to do on "ALL" pages. The timer does not load while viewing thread !!! Sorry, I call myself testing this on "ALL" pages before releasing it, but apparently I overlooked that one page loading. Please if anyone can come up with a fix, Please post. The Mod/Hack works fine other than that. ( Works as should on Joomla, and phpbb ) This is a vBulletin thing, and I'm still learning vBulletin code, so please bare with me. Updated the Instructions in the download attachment also. Page Loading Time ( Hack ) I Searched for nearly two hours to find this hack. Either all the scripts I found had backlinks in them or they plain just didn't work. 2 Step Page Loading Time ( Hack ) 1) Place this code at the bottom of your " headinclude " ( Style Manager/your_style/All Style Options/ >>Go ) Code:
<script Language="JavaScript">
<!-- hide script from non compliant broswers
// author: Susan Lee
var from_time = new Date();
from_time = from_time.getTime();
function show_loading_time()
{
var to_time = new Date();
to_time = to_time.getTime();
var secs = (to_time - from_time) /1000;
document.f.t.value = secs + " seconds";
}
// end hiding from non compliant browsers-->
</script>
( Style Manager/your_style/All Style Options/ >>Go ) Code:
<!--A1 --><body onLoad="show_loading_time()"><!-- --> <!--A1 --> <form name="f" onSubmit="0"> Page Loading Time: <input Size="15" Name="t" Value="Plz Wait"><!-- --> Replace: Code:
<input Size="15" Name="t" Value="Plz Wait"><!-- --> Code:
<input size="10" name="t"/ style="color:white;border:none;background:#8C411C;"><!-- --> ( Thanks "Front Range 4x4" for the help )I Placed mine before Code:
$ad_location[ad_footer_start] Download
Screenshots |
|||||||||
Similar Mods
| Board Optimization CSS Compression - Improve Loading Time and Decrease Bandwidth! | vBulletin 3.8 Add-ons |