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 MOD-Group
 MOD Add-On Forum (W/Code)
 MOD: SuperSearch : Super Enhanced Snitz Search
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 6

bjlt
Senior Member

1144 Posts

Posted - 13 June 2001 :  14:20:19  Show Profile
quote:



I believe it should since the query uses the LIKE %word% clause, but of course the best way to find out is to run it. Let me know if you would like an advance BETA copy.





I'd like a copy
ywy@263.net

Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 13 June 2001 :  19:27:38  Show Profile
that's pretty slick! I like it



http://www.ugfl.net/forums
Go to Top of Page

mfindlay
Junior Member

USA
144 Posts

Posted - 14 June 2001 :  21:00:32  Show Profile  Visit mfindlay's Homepage
I have removed the links to the beta download since I have now released version 2.2 with color coding of keywords etc.

http://www.sagecomputerservices.com/downloads/supersearch.asp



Edited by - mfindlay on 14 June 2001 21:42:09
Go to Top of Page

mfindlay
Junior Member

USA
144 Posts

Posted - 14 June 2001 :  21:46:18  Show Profile  Visit mfindlay's Homepage
Just for those few that have already downloaded SuperSearch 2.1, I found a bug in the "Subject Only" search which I have posted a fix for in 2.2.

Sorry for the inconvenience!

Go to Top of Page

bjlt
Senior Member

1144 Posts

Posted - 16 June 2001 :  12:04:10  Show Profile
another thought. current search page load all member names. on a big forum, it would be slow. I'd like to see an input area for the user to input user names, seperated by comma, besides there should be an option to load all names for choose from.

Go to Top of Page

mfindlay
Junior Member

USA
144 Posts

Posted - 17 June 2001 :  01:43:27  Show Profile  Visit mfindlay's Homepage
quote:

another thought. current search page load all member names. on a big forum, it would be slow. I'd like to see an input area for the user to input user names, seperated by comma, besides there should be an option to load all names for choose from.





I agree. I think a reasonable alternative would be to have a "load members" button where the members get loaded only on request.

Go to Top of Page

mfindlay
Junior Member

USA
144 Posts

Posted - 18 June 2001 :  01:26:01  Show Profile  Visit mfindlay's Homepage
2.3 IS A VERY MINOR UPDATE THAT YOU CAN MAKE WITHOUT HAVING TO DOWNLOAD THE 2.3 ZIPFILE. SEE INSTRUCTIONS BELOW:

Version 2.2 displayed the "posted" date on search results in the forum footer
font instead of the forum display font. This could cause mis-alignment of the
results links. This update brings all the search into nice
alignment.

To manually make the change from 2.2, look around line 1800 of search.asp. You
should see something like:


<td bgcolor="<% =strForumCellColor %>" valign="top" align="center" nowrap><font face="<% =strDefaultFontFace %>" color="<% =strForumFontColor %>" size="<% =strFooterFontSize %>"><b>
<% =ChkDate(rs("T_DATE")) %>
</b> 
<% =ChkTime(rs("T_DATE")) %>

Change the top line to:
<td bgcolor="<% =strForumCellColor %>" valign="top" align="center" nowrap><font face="<% =strDefaultFontFace %>" color="<% =strForumFontColor %>" size="<% =strDefaultFontSize %>"><b>


Edited by - mfindlay on 19 June 2001 02:24:07
Go to Top of Page

Freeman II
Junior Member

232 Posts

Posted - 24 June 2001 :  22:07:55  Show Profile
i trying to install 2.3, in topic.asp

should i copy and paste the code in
--- SUPERSEARCH MOD BEGIN --
or
--- SUPERSEARCH MOD BEGIN 2.1--

ro both

Go to Top of Page

mfindlay
Junior Member

USA
144 Posts

Posted - 24 June 2001 :  22:34:43  Show Profile  Visit mfindlay's Homepage
quote:

i trying to install 2.3, in topic.asp

should i copy and paste the code in
--- SUPERSEARCH MOD BEGIN --
or
--- SUPERSEARCH MOD BEGIN 2.1--

ro both





If you are installing for the first time, you will want anything that begins with "SUPERSEARCH MOD BEGIN" regardless of the version.

Go to Top of Page

Freeman II
Junior Member

232 Posts

Posted - 24 June 2001 :  22:50:22  Show Profile
i installed Topic Sorting & Alternate Paging Style MOD

paging() in topic.asp seem a little different

where should i put this?

'---------------------------- SUPERSEARCH MOD BEGIN -----------------------------
if Request.QueryString("ReplyIDs") <> "" then
ref = ref & "&ReplyIDs=" & Request.QueryString("ReplyIDs")
else
ref = ref & "&ReplyIDsNotFound=" & "1"
end if
if Request.QueryString("AllReplyIDs") <> "" then
ref = ref & "&AllReplyIDs=" & Request.QueryString("AllReplyIDs")
else
ref = ref & "&AllReplyIDs=" & "1"
end if
'---------------------------- SUPERSEARCH MOD END -----------------------------

Go to Top of Page

Freeman II
Junior Member

232 Posts

Posted - 24 June 2001 :  22:56:04  Show Profile
one more question
in topic.asp
' ---START customizable variables---
dim strPreHighlight
strPreHighlight = "<font color=red><b>"...

is outside of
SUPERSEARCH MOD BEGIN

how its gonna highlight the words when that not in the code?

Go to Top of Page

mfindlay
Junior Member

USA
144 Posts

Posted - 24 June 2001 :  23:05:20  Show Profile  Visit mfindlay's Homepage
quote:

one more question
in topic.asp
' ---START customizable variables---
dim strPreHighlight
strPreHighlight = "<font color=red><b>"...

is outside of
SUPERSEARCH MOD BEGIN

how its gonna highlight the words when that not in the code?





About 5 lines above color=red you should see - SUPERSEARCH MOD BEGIN 2.1---.

Go to Top of Page

Freeman II
Junior Member

232 Posts

Posted - 24 June 2001 :  23:27:17  Show Profile
got it thanks

Go to Top of Page

Freeman II
Junior Member

232 Posts

Posted - 24 June 2001 :  23:58:09  Show Profile
sub Paging()

if (IsNumeric(intPagingLinks) = 0) AND (Trim(intPagingLinks) = "") then intPagingLinks = 10
if (maxpages > 1) and (Trim(strQS) <> "") then


'-----------------------------------------------------------------
' Paging Code
'-----------------------------------------------------------------
Response.Write("<table border=""0"" cellspacing=""0"" cellpadding=""0"" valign=""top"" align=""center"">" & vbCrLf &_
"<tr align=""center"">" & vbCrLf)

'-----------------------------------------------------------------
' Paging - Listbox Form
'-----------------------------------------------------------------
if maxpages > 10 then
Response.Write("<td>")
Response.Write("<form method=""post"" name=""pagelist"" id=""pagelist"" action=""" & scriptname & "?n=0"& strQS & """>")
Response.Write("<table cellpadding=""0"" cellspacing=""0"" border=""0"" align=""right""><tr><td><font face=" & strDefaultFontFace & " size=" & strDefaultFontSize & "><b>Go to Page</b>: </font></td><td>")
Response.Write("<select name=""whichpage"" onchange=""jumpToPage(this)"" style=""font-size:10px;"">" & vbCrLf)
Response.Write("<option value=""" & scriptname & "?whichpage=1" & strQS & """> -" & vbCrLf)
pgeselect = ""
if pgenumber = mypage then pgeselect = " selected"
Response.Write("<option value=""" & scriptname & "?whichpage=1" & strQS & """" & pgeselect & ">1" & vbCrLf)
for counter = 1 to (maxpages/5)
pgenumber = (counter*5)
pgeselect = ""
if pgenumber = mypage then pgeselect = " selected"
Response.Write("<option value=""" & scriptname & "?whichpage=" & pgenumber & strQS & """" & pgeselect & ">" & pgenumber & vbCrLf)
next
if (maxpages mod 5) > 0 then
pgeselect = ""
if maxpages = mypage then pgeselect = " selected"
Response.Write("<option value=""" & scriptname & "?whichpage=" & maxpages & strQS & """" & pgeselect & ">" & maxpages & vbCrLf)
end if
Response.Write("</select>")
Response.Write("</td></tr></table>" & vbCrLf)
Response.Write("</form>")
Response.Write("</td><td nowrap>  </td>")
end if
'-----------------------------------------------------------------

'-----------------------------------------------------------------
' Paging - Text Links
'-----------------------------------------------------------------
dim pgelow, pgehigh, pgediv

if maxpages > intPagingLinks then
pgediv = Int(Abs(intPagingLinks/2))
pgelow = mypage - pgediv
pgehigh = mypage + (intPagingLinks - (pgediv + 1))
if pgelow < 1 then
pgelow = 1
pgehigh = pgelow + (intPagingLinks - 1)
end if
if pgehigh > maxpages then
pgehigh = maxpages
pgelow = pgehigh - (intPagingLinks - 1)
end if
else
pgelow = 1
pgehigh = maxpages
end if

Response.Write("<td nowrap><font face=" & strDefaultFontFace & " size=" & strDefaultFontSize & "> ")
if pgelow > 1 then
response.write("<a href=""" & scriptname & "?whichpage=1" & strQS & """><<</a> ")
else
response.write("    ")
end if
Response.Write("</font></td><td><font face=" & strDefaultFontFace & " size=" & strDefaultFontSize & "> ")
for counter = pgelow to pgehigh
if counter <> mypage then
response.write(" <a href=""" & scriptname & "?whichpage=" & counter & strQS & """>" & counter & "</a>")
else
response.write(" " & counter)
end if
if counter < pgehigh then response.write("  | ")
next
Response.Write("</font></td><td nowrap><font face=" & strDefaultFontFace & " size=" & strDefaultFontSize & "> ")
if pgehigh < maxpages then
response.write(" <a href=""" & scriptname & "?whichpage=" & maxpages & strQS & """>>></a> ")
else
response.write("    ")
end if
Response.Write("</font></td><td nowrap><font face=" & strDefaultFontFace & " size=" & strDefaultFontSize & "> ")

' Previous Page Link
if mypage = 1 then
response.write("Previous Page")
else
response.write("<a href=""" & scriptname & "?whichpage=" & (mypage - 1) & strQS & """>Previous Page</a>")
end if
response.write(" | ")

' Next Page Link
if mypage = maxpages then
response.write("Next Page")
else
response.write("<a href=""" & scriptname & "?whichpage=" & (mypage + 1) & strQS & """>Next Page</a>")
end if
response.write(" | ")

' Reload Page Link
response.write("<a href=""" & scriptname & "?whichpage=" & mypage & strQS & """>Reload</a>")
Response.Write("</font></td></tr></table>")


else
response.write("<div style=""font-size:6px;""> </div>")
end if

end sub


Go to Top of Page

Freeman II
Junior Member

232 Posts

Posted - 25 June 2001 :  00:22:19  Show Profile
what does that code do anyways?
it seeems to work fine without it

Go to Top of Page
Page: of 6 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07