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)
 V33(.03) and V4(.03) BUG+FIX: Category colspan
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

fatum
Junior Member

Belgium
281 Posts

Posted - 18 November 2001 :  10:07:39  Show Profile  Visit fatum's Homepage
Bug:

When a category doesn't contain a forum and you're not logged in, the colspan of the categroy is wrong, resulting in a black tablecell.

Fix:

In Line 217 (line 211 in version 4) change the following:
" <td bgcolor=""" & strCategoryCellColor & """ colspan=""" & sGetColspan(6,5) & """>"
to:
" <td bgcolor=""" & strCategoryCellColor & """ colspan=""" & sGetColspan(7,6) & """>"

Thanks to winterkills for finding the bug.

Fatum
-------------------
To b33r or to pron,
little-gamers.com

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 19 November 2001 :  02:50:14  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Confirmation? Whats the point of having a category if there is nothing in it?

----
-Eric (da_stimulator)
Stims Snitz Test area
Snitz Mod Resource
PHP Script Center -Quality PHP Scripts
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 19 November 2001 :  03:12:22  Show Profile
We would have to at least display it for the Admin. If not, there would be no way for the Admin to add a forum to it.

How about changing line #216 of default.asp from this:

		if rsForum.eof or rsForum.bof then


to this:

		if (rsForum.eof or rsForum.bof) and (mLev = 4) then



btw. Have you tried making the change to the colspan #'s above? I did and if you are logged in as Admin, the results are definitely not desireable.
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 19 November 2001 :  09:20:41  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Updated for 3.4 (richards fix)

----
-Eric | Mod Resource | Test Area
"A program is a device used to convert data into error messages."
http://phpscriptcenter.com -Quality PHP Scripts
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 01 December 2001 :  15:15:39  Show Profile
Same fixed in [v40b03patch001]...

Think Pink
Test Site not ready yet | Post v40b03 Patches
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.4 seconds. Powered By: Snitz Forums 2000 Version 3.4.07