Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Small numbers at bottom of page
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Syko BA
Junior Member

United Kingdom
257 Posts

Posted - 24 March 2002 :  10:23:01  Show Profile  Visit Syko BA's Homepage
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

Posted - 24 March 2002 :  10:32:34  Show Profile  Send ruirib a Yahoo! Message
The time the Web server needed to generate the page.

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

Syko BA
Junior Member

United Kingdom
257 Posts

Posted - 24 March 2002 :  10:36:22  Show Profile  Visit Syko BA's Homepage
How would I place these on my site ?

Thanks in advance

---=---
Syko BA
---=---
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 24 March 2002 :  10:52:57  Show Profile  Send ruirib a Yahoo! Message
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
Go to Top of Page

Syko BA
Junior Member

United Kingdom
257 Posts

Posted - 24 March 2002 :  11:02:54  Show Profile  Visit Syko BA's Homepage
ruirib

Thanks

---=---
Syko BA
---=---
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 24 March 2002 :  11:05:22  Show Profile  Send ruirib a Yahoo! Message
You are welcome .

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

Webguy
New Member

Australia
65 Posts

Posted - 02 May 2002 :  01:27:21  Show Profile  Send Webguy an ICQ Message
I've done that and I get figures like 0.1953125

what does that mean, .19 of a second? surely not?

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 02 May 2002 :  01:29:49  Show Profile
Yes, that is what that means.
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 02 May 2002 :  02:02:45  Show Profile  Visit Gremlin's Homepage
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
Go to Top of Page

davemarks
Starting Member

United Kingdom
27 Posts

Posted - 02 May 2002 :  06:49:40  Show Profile
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
Go to Top of Page

Thumperman
Starting Member

USA
4 Posts

Posted - 16 August 2002 :  14:28:24  Show Profile
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
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 16 August 2002 :  14:32:09  Show Profile
You have to uncomment the codes in inc_top.asp too. If you've done that, you'll get values that makes sense
Go to Top of Page

TestMagic
Senior Member

USA
1568 Posts

Posted - 16 August 2002 :  17:09:08  Show Profile  Visit TestMagic's Homepage
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
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 17 August 2002 :  09:31:46  Show Profile
lol... glad you got it working too Erin
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.57 seconds. Powered By: Snitz Forums 2000 Version 3.4.07