Author |
Topic |
|
Syko BA
Junior Member
United Kingdom
257 Posts |
Posted - 24 March 2002 : 10:23:01
|
What are the small numbers at the bottom of the forum pages i.e. 0.0625
---=--- Syko BA ---=--- |
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
Syko BA
Junior Member
United Kingdom
257 Posts |
Posted - 24 March 2002 : 10:36:22
|
How would I place these on my site ?
Thanks in advance
---=--- Syko BA ---=--- |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 24 March 2002 : 10:52:57
|
Open inc_top.asp and uncomment line 58:
' StartTimer 1
Then open inc_footer.asp and between lines 80 and 84 remove the lines in red:
<!-- timer <center> <font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>"><% = StopTimer(1) %></font> </center> end timer -->
------------------------------------------------- Installation Guide | Do's and Dont's | MODs |
|
|
Syko BA
Junior Member
United Kingdom
257 Posts |
Posted - 24 March 2002 : 11:02:54
|
ruirib
Thanks
---=--- Syko BA ---=--- |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
Webguy
New Member
Australia
65 Posts |
Posted - 02 May 2002 : 01:27:21
|
I've done that and I get figures like 0.1953125
what does that mean, .19 of a second? surely not?
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 02 May 2002 : 01:29:49
|
Yes, that is what that means. |
|
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 02 May 2002 : 02:02:45
|
To ensure consistency in the display of those numbers, you could change the
<% = StopTimer(1) %>
to
<% = FormatNumber(StopTimer(1),5)%>
This should make it always display a nice consistent value to 5dp (decimal places).
www.daoc-halo.com |
|
|
davemarks
Starting Member
United Kingdom
27 Posts |
Posted - 02 May 2002 : 06:49:40
|
Or to make things look real tidy - stick the code in the bottom table as shown in the following code
<table width=100% border=0 bgcolor="<% =strPageBGColor %>" cellpadding="0" cellspacing = "4"> <tr bgcolor="<% =strPageBGColor %>"> <td bgcolor="<% =strPageBGColor %>"> <table border=0 width="100%" align="center" cellpadding="4" cellspacing="0"> <tr> <td bgcolor="<% =strForumCellColor %>" align=left valign=top nowrap><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>"> <p align=left><% =strForumTitle %></p> </font></td> <td bgcolor="<% =strForumCellColor %>" align=center valign=top nowrap><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>"> <p align=center><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>"><% = FormatNumber(StopTimer(1),5)%></font></p> <td bgcolor="<% =strForumCellColor %>" align=right valign=top nowrap><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>"> <p align=right><% =strCopyright %></p> </font></td> <td bgcolor="<% =strForumCellColor %>" width=10 nowrap><a href="#top"><img src="icon_go_up.gif" height=15 width=15 border="0" align="right" alt="Go To Top Of Page"></a></font></td> </tr> </table> </td> </tr> </table>
<table border=0 width="100%" align="center" cellpadding="4" cellspacing="0"> <tr> <td align="right"><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>"> <% '## START - REMOVAL OR MODIFICATION OF THIS CODE WILL VIOLATE THE Snitz FORUMS 2000 LICENSE AGREEMENT Response.Write " <a href=""http://forum.snitz.com""><acronym title=""Powered By: " & strVersion & """>" if strShowImagePoweredBy = "1" then Response.Write "<img src=""logo_powered_by.gif"" border=0>" else Response.Write "Snitz Forums 2000" end if Response.Write "</acronym></a>" & vbNewline '## END - REMOVAL OR MODIFICATION OF THIS CODE WILL VIOLATE THE Snitz FORUMS 2000 LICENSE AGREEMENT %> </font></td> </tr> </table> </td> </tr> </table>
</font> </body>
</html>
<% my_Conn.Close set my_Conn = nothing %>
Dave |
|
|
Thumperman
Starting Member
USA
4 Posts |
Posted - 16 August 2002 : 14:28:24
|
I have implemented the above mentioned. I get numbers like 51395.41. Have not launched to website set, just testing with local host. Does local host not give proper figures? The page loads almost imediately.
Curious,
Thumper |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 16 August 2002 : 14:32:09
|
You have to uncomment the codes in inc_top.asp too. If you've done that, you'll get values that makes sense |
|
|
TestMagic
Senior Member
USA
1568 Posts |
Posted - 16 August 2002 : 17:09:08
|
Cool! I did it, and it works! That's always a plus.
Also, in a bold experiment, I added the stuff in red:
<center> <font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>">This page loaded in <% = StopTimer(1) %> second(s).</font> </center>
And it's working well! I know 3.4 is coming soon, but I just wanted to play with it.
|
Snitz rocks! · Search 2 |
Edited by - TestMagic on 16 August 2002 17:09:57 |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 17 August 2002 : 09:31:46
|
lol... glad you got it working too Erin |
|
|
|
Topic |
|