Author |
Topic |
bjlt
Senior Member
1144 Posts |
Posted - 13 June 2001 : 14:20:19
|
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
|
|
|
big9erfan
Average Member
540 Posts |
|
mfindlay
Junior Member
USA
144 Posts |
|
mfindlay
Junior Member
USA
144 Posts |
Posted - 14 June 2001 : 21:46:18
|
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!
|
|
|
bjlt
Senior Member
1144 Posts |
Posted - 16 June 2001 : 12:04:10
|
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.
|
|
|
mfindlay
Junior Member
USA
144 Posts |
Posted - 17 June 2001 : 01:43:27
|
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.
|
|
|
mfindlay
Junior Member
USA
144 Posts |
Posted - 18 June 2001 : 01:26:01
|
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 |
|
|
Freeman II
Junior Member
232 Posts |
Posted - 24 June 2001 : 22:07:55
|
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
|
|
|
mfindlay
Junior Member
USA
144 Posts |
Posted - 24 June 2001 : 22:34:43
|
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.
|
|
|
Freeman II
Junior Member
232 Posts |
Posted - 24 June 2001 : 22:50:22
|
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 -----------------------------
|
|
|
Freeman II
Junior Member
232 Posts |
Posted - 24 June 2001 : 22:56:04
|
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?
|
|
|
mfindlay
Junior Member
USA
144 Posts |
Posted - 24 June 2001 : 23:05:20
|
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---.
|
|
|
Freeman II
Junior Member
232 Posts |
Posted - 24 June 2001 : 23:27:17
|
got it thanks
|
|
|
Freeman II
Junior Member
232 Posts |
Posted - 24 June 2001 : 23:58:09
|
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
|
|
|
Freeman II
Junior Member
232 Posts |
Posted - 25 June 2001 : 00:22:19
|
what does that code do anyways? it seeems to work fine without it
|
|
|
Topic |
|