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 + Fix(sf2k_3.2a06) minimize categories
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

GauravBhabu
Advanced Member

4288 Posts

Posted - 01 July 2001 :  23:17:49  Show Profile
The end if line (377) for minimize category seems to be at wrong place.

This is the code in default.asp

 
if (mlev = 4 or mlev = 3) or (lcase(strNoCookies) = "1") then
Response.Write " <td bgcolor=""" & strForumCellColor & """ align=center valign=top nowrap>" & vbCrLf
call ForumAdminOptions
Response.Write " </td>" & vbCrLf
end if
Response.Write " </tr>" & vbCrLf
else
blnHiddenForums = true
end if ' ChkDisplayForum()
end if ' ##### Added as part of Minimize Category Mod #####
rsForum.MoveNext
loop
end if
rs.MoveNext
loop
end if
if strShowStatistics = "1" then




The correct code should look like as below:

 

if (mlev = 4 or mlev = 3) or (lcase(strNoCookies) = "1") then
Response.Write " <td bgcolor=""" & strForumCellColor & """ align=center valign=top nowrap>" & vbCrLf
call ForumAdminOptions
Response.Write " </td>" & vbCrLf
end if
Response.Write " </tr>" & vbCrLf
end if ' ##### Added as part of Minimize Category Mod #####
else
blnHiddenForums = true
end if ' ChkDisplayForum()
rsForum.MoveNext
loop
end if
rs.MoveNext
loop
end if
if strShowStatistics = "1" then



gauravbhabu

There is only one miracle...That is LIFE!

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 02 July 2001 :  06:54:20  Show Profile  Visit HuwR's Homepage
Checked the code, you are entirely correct.

Fixed in latest source.

Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 02 July 2001 :  15:36:35  Show Profile
quote:

Checked the code, you are entirely correct.

Fixed in latest source.





I have finalized the ModCollapseCats. A final version is also now available for download with complete instructions. Instead of writting the code in default.asp, i have used include statements. You may want to check the implementation. I think with include staements it is easier. May be the version i have is only for minimizing the cats individually.



gauravbhabu

There is only one miracle...That is LIFE!
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