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 DEV-Group
 DEV Bug Reports (Closed)
 Bug: default.asp (Snitz v3.4.xx)
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 29 May 2004 :  11:04:45  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
in default.asp the following code from the sub WriteStatistics() code is causing problems (lines 903-907:
	if ShowLastHere then
		Response.Write	"5"
	else
		Response.Write	"4"
	end if

This code determines the rowspan for the statistics, but it doesn't include a check for archived topics/posts, which means if there are no archives, the rowspan is calculated incorrectly.
This causes display problems with include files (such as Active Users, Birthdays, Private Messages) included after the statistics.

Here are some screenshots:
#1: No Last Here Date (not logged in), no archives, 3 rows but rowspan=4: Screenshot

#2: Last Here Date (logged in), no archives, 4 rows displayed but rowspan=5: Screenshot

#3: Last Here Date (logged in), archives, 5 rows displayed, rowspan=5: Screenshot

The following code fixes this (simply replace the lines I posted above):
	intStatRowSpan = 3
        if ShowLastHere then
        	intStatRowSpan = intStatRowspan + 1
        end if	
        if ArchivedPostCount > 0 and strArchiveState = "1" then
        	intStatRowSpan = intStatRowspan + 1
        end if
 	Response.Write intStatRowSpan

(Note: I have only checked default.asp from v3.4.04)

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 20 September 2004 :  20:02:17  Show Profile
fixed in v3.4.05
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07