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)
 (v3.4.05) BUG+FIX: Extra cell on search.asp
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 04 December 2004 :  14:02:17  Show Profile
When a search comes up empty you get an extra black cell on the top right hand side of the search.asp table.

The output of the page is shown below, The line in red seems to cause the problem.
<table border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
        <tr>
          <td bgcolor="#000000">
            <table border="0" width="100%" cellspacing="1" cellpadding="4">
              <tr>
                <td align="center" bgcolor="#191970"><b><font face="Verdana, Arial, Helvetica" size="2" color="#F5FFFA"> </font></b></td>
                <td align="center" bgcolor="#191970"><b><font face="Verdana, Arial, Helvetica" size="2" color="#F5FFFA">Topic</font></b></td>
                <td align="center" bgcolor="#191970"><b><font face="Verdana, Arial, Helvetica" size="2" color="#F5FFFA">Author</font></b></td>
                <td align="center" bgcolor="#191970"><b><font face="Verdana, Arial, Helvetica" size="2" color="#F5FFFA">Replies</font></b></td>
                <td align="center" bgcolor="#191970"><b><font face="Verdana, Arial, Helvetica" size="2" color="#F5FFFA">Read</font></b></td>
                <td align="center" bgcolor="#191970"><b><font face="Verdana, Arial, Helvetica" size="2" color="#F5FFFA">Last Post</font></b></td>
              </tr>
              <tr>
                <td bgcolor="#F5F5F5" colspan="6"><font face="Verdana, Arial, Helvetica" size="2"><b>No Matches Found</b></font></td>
                <td align="center" bgcolor="#F5F5F5"><b><font face="Verdana, Arial, Helvetica" size="2"> </font></b></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>


As far as I can tell this section of code deals with that output (line 539 search.asp).
			if mdisplayed = 0 then
				Response.Write	"              <tr>" & vbNewLine & _
						"                <td bgcolor=""" & strForumCellColor & """ colspan=""6""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>No Matches Found</b></font></td>" & vbNewLine
				if (mlev > 0) or (lcase(strNoCookies) = "1") then
					Response.Write	"                <td align=""center"" bgcolor=""" & strForumCellColor & """><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """> </font></b></td>" & vbNewLine
				end if
				Response.Write	"              </tr>" & vbNewLine
			end if
<

Edited by - Davio on 26 September 2006 05:43:17

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 04 December 2004 :  17:47:28  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Code in green would probably fix the issue

			if mdisplayed = 0 then
				Response.Write	"              <tr>" & vbNewLine & _
						"                <td bgcolor=""" & strForumCellColor & """ colspan=""6""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>No Matches Found</b></font></td>" & vbNewLine
				if ((mlev > 0) or (lcase(strNoCookies) = "1")) and (mdisplayed<>0) then
					Response.Write	"                <td align=""center"" bgcolor=""" & strForumCellColor & """><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """> </font></b></td>" & vbNewLine
				end if
				Response.Write	"              </tr>" & vbNewLine
			end if
<

-Stim
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 04 December 2004 :  19:06:54  Show Profile  Visit HuwR's Homepage
I can't see any reason for the column being there in the first place, I would be inclined to just remove the extra column<
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 04 December 2004 :  19:34:13  Show Profile
quote:
Originally posted by HuwR

I can't see any reason for the column being there in the first place, I would be inclined to just remove the extra column
I agree. Just change this:

			if mdisplayed = 0 then
				Response.Write	"              <tr>" & vbNewLine & _
						"                <td bgcolor=""" & strForumCellColor & """ colspan=""6""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>No Matches Found</b></font></td>" & vbNewLine
				if (mlev > 0) or (lcase(strNoCookies) = "1") then
					Response.Write	"                <td align=""center"" bgcolor=""" & strForumCellColor & """><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """> </font></b></td>" & vbNewLine
				end if
				Response.Write	"              </tr>" & vbNewLine
			end if
to this:
			if mdisplayed = 0 then
				Response.Write	"              <tr>" & vbNewLine & _
						"                <td bgcolor=""" & strForumCellColor & """ colspan=""6""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>No Matches Found</b></font></td>" & vbNewLine & _
						"              </tr>" & vbNewLine
			end if
It's just something that we missed when we removed that column completely from the search results page.<
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 06 August 2006 :  03:02:57  Show Profile
Fixed in 3.4.06.<

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