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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Minimizing Statistics
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 09 August 2000 :  17:48:13  Show Profile
I made a few modifications to statistics.asp (using the Minimizing Categories as a basis) so that the Statistics can be minimized as well.

D/L: http://www11.ewebcity.com/dssdbs/files/statistics_minimize.zip

Demo: http://www11.ewebcity.com/dssdbs/forum/


Note: I am using the code for the plus and minus Icons instead of the the Category being clickable.

Edited by - Richard Kinser on 09 August 2000 17:52:39

slemieux
Junior Member

USA
234 Posts

Posted - 09 August 2000 :  18:20:50  Show Profile
Great!!!!

Was just getting ready to do this, you saved me some time. Works perfectly <img src=icon_smile.gif border=0 align=middle>

Go to Top of Page

animedj
Junior Member

USA
190 Posts

Posted - 09 August 2000 :  20:44:31  Show Profile  Visit animedj's Homepage  Send animedj an ICQ Message
Good Work Richard!! I, too, was going to start working on that .. I've updated the zip of the statistics with your modification and also did some rearranging so if the statistics are not going to be shown then no to retrieve at all the data for this section, thus saving some procesing time <img src=icon_smile_big.gif border=0 align=middle>

Go to Top of Page

Kal Corp
Average Member

USA
878 Posts

Posted - 09 August 2000 :  23:05:10  Show Profile  Visit Kal Corp's Homepage
I know you updated the ZIP

But you need to Change.

strSQL = "SELECT TOP 1 M_NAME, MEMBER_ID FROM " & <font color=red>strTablePrefix</font id=red> & "MEMBERS ORDER BY M_DATE desc;"

to

strSQL = "SELECT TOP 1 M_NAME, MEMBER_ID FROM " & <font color=red>strMemberTablePrefix</font id=red> & "MEMBERS ORDER BY M_DATE desc;"


Testing forums - 2 Forums same database + mod's
http://vasserver.dyndns.org/forums_2000/forum1/default.asp

Edited by - kal corp on 09 August 2000 23:12:56
Go to Top of Page

Lord Maverick
New Member

Norway
92 Posts

Posted - 10 August 2000 :  05:53:49  Show Profile  Send Lord Maverick an ICQ Message
Have included the minimizing of categories and now also trying R. Kinsers minimizing of statistics, but get this error on top of default.asp and the statistics (at the bottom of my page) is not showing:

Response object error 'ASP 0156 : 80004005'
Header Error

/Forum2000/statistics.asp, line 4

The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.

Does this has something to do with me not having the statistics at the top of default.asp and rather at the bottom?

Go to Top of Page

animedj
Junior Member

USA
190 Posts

Posted - 10 August 2000 :  06:53:52  Show Profile  Visit animedj's Homepage  Send animedj an ICQ Message
that error it's beacuse it's trying to write cookies after the http headers were writing. the only fix for that it would be to include at the top of the page <% response.buffer = true %>

Go to Top of Page

Lord Maverick
New Member

Norway
92 Posts

Posted - 10 August 2000 :  07:06:20  Show Profile  Send Lord Maverick an ICQ Message
Thnx,

Putting <% response.buffer = true %> on top of default.asp made my forum work all right!

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.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07