The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
I have been trying to modify the Search.asp so that I can search by Topic_ID, but I keep failing to get it working. I was able to modify the forum.asp to show the TOPIC_ID so that user can use that ID as a ticket number. With that ticket number, they can use that number instead of the keywords. Any help is appreciated.
I am actually editing the search_form_enhancem-34-0004a.zip version, but just renamed it to Search.asp. However I don't think that would really matter.
The link to that file is http://www.snitzbitz.com/mods/download.asp?mid=65&fid=57<
I am actually editing the search_form_enhancem-34-0004a.zip version, but just renamed it to Search.asp. However I don't think that would really matter.
The link to that file is http://www.snitzbitz.com/mods/download.asp?mid=65&fid=57<
Last edited by l3reacher on 27 September 2005, 13:30
Posted
Great! I tested it and it works great. Thanks alot all, espeically ruirib and shaggy for the guidance.<
Posted
You're welcome, glad to be of service
Have you got a link 'til we have a look at it?
<
Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
<
Search is your friend
“I was having a mildly paranoid day, mostly due to thefact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Posted
not yet, it is still in development, but will post it up when i do have it done.<
Posted
This is pretty cool. I've been trying to do something similar, and could not figure out what to do. Thanks.
can you tell me what you did to show the TOPIC_ID.<
Originally posted by l3reacherl3reacher,
I was able to modify the forum.asp to show the TOPIC_ID so that user can use that ID as a ticket number.
can you tell me what you did to show the TOPIC_ID.<
Last edited by rpainter on 28 September 2005, 13:31
Posted
In the forum.asp
Search for code below , which is around line 595 for mine. Yours may be different.
Response.Write "</a></td>" & vbNewLine & _
" <td bgcolor=""" & strForumCellColor & """ valign=""middle"" align=""left"">" & vbNewLine & _
" <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """>"
if Topic_Sticky and strStickyTopic = "1" then Response.Write("Answered: ")
Response.Write "<span class=""spnMessageText""><a href=""topic.asp?" & ArchiveLink & "TOPIC_ID=" & Topic_ID & """>" & ChkString(Topic_Subject,"title") & "</a></span> </font>" & vbNewLine
if strShowPaging = "1" then
Call TopicPaging()
end if
Add the following code below right on top of the code above
Response.Write "</a></td>" & vbNewLine & _
" <td bgcolor=""" & strForumCellColor & """ valign=""middle"" align=""center"">" & vbNewLine & _
" <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """>"
Response.Write "<span class=""spnMessageText""><a href=""topic.asp?" & ArchiveLink & "TOPIC_ID=" & Topic_ID & """>" & ChkString(Topic_ID,"topicID") & "</a></span> </font>" & vbNewLine
<
Response.Write "</a></td>" & vbNewLine & _
" <td bgcolor=""" & strForumCellColor & """ valign=""middle"" align=""left"">" & vbNewLine & _
" <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """>"
if Topic_Sticky and strStickyTopic = "1" then Response.Write("Answered: ")
Response.Write "<span class=""spnMessageText""><a href=""topic.asp?" & ArchiveLink & "TOPIC_ID=" & Topic_ID & """>" & ChkString(Topic_Subject,"title") & "</a></span> </font>" & vbNewLine
if strShowPaging = "1" then
Call TopicPaging()
end if
Add the following code below right on top of the code above
Response.Write "</a></td>" & vbNewLine & _
" <td bgcolor=""" & strForumCellColor & """ valign=""middle"" align=""center"">" & vbNewLine & _
" <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """>"
Response.Write "<span class=""spnMessageText""><a href=""topic.asp?" & ArchiveLink & "TOPIC_ID=" & Topic_ID & """>" & ChkString(Topic_ID,"topicID") & "</a></span> </font>" & vbNewLine
<
Last edited by l3reacher on 28 September 2005, 20:04
Posted
l3reacher, glad that you managed to do it :).<
Posted
Thanks l3reacher.<
Posted
no problem..<
Posted
No problem rpainter..
I'm glad I managed to get through it also ruirib.<
Email Member
Message Member
Post Moderation
FileUpload
If you're having problems uploading, try choosing a smaller image.
Preview post
Send Topic
Loading...