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)