Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Search By Topic_ID

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
l3reacher Posted - 27 September 2005 : 13:12:12
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<
15   L A T E S T    R E P L I E S    (Newest First)
l3reacher Posted - 28 September 2005 : 20:02:53
No problem rpainter..
I'm glad I managed to get through it also ruirib.<
l3reacher Posted - 28 September 2005 : 20:00:55
no problem..<
rpainter Posted - 28 September 2005 : 15:06:32
Thanks l3reacher.<
ruirib Posted - 28 September 2005 : 15:03:10
l3reacher, glad that you managed to do it :).<
l3reacher Posted - 28 September 2005 : 14:54:14
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

<
rpainter Posted - 28 September 2005 : 13:29:32
This is pretty cool. I've been trying to do something similar, and could not figure out what to do. Thanks.

quote:
Originally posted by l3reacher

I was able to modify the forum.asp to show the TOPIC_ID so that user can use that ID as a ticket number.


l3reacher,

can you tell me what you did to show the TOPIC_ID.<
l3reacher Posted - 28 September 2005 : 13:14:15
not yet, it is still in development, but will post it up when i do have it done.<
Shaggy Posted - 28 September 2005 : 13:04:10
You're welcome, glad to be of service Have you got a link 'til we have a look at it?

<
l3reacher Posted - 28 September 2005 : 12:56:07
Great! I tested it and it works great. Thanks alot all, espeically ruirib and shaggy for the guidance.<
l3reacher Posted - 28 September 2005 : 12:50:24
Would it be something like this for the form?

<form action="topic.asp" method="get">
<input name="TOPIC_ID" />
<input type="submit" />
</form><
ruirib Posted - 28 September 2005 : 12:39:59
quote:
Originally posted by Shaggy

In fact, the easiest way to do it would be to use get as the form's method, topic.asp as it's action and TOPIC_ID as the name of the text input. Doing it this way, the form will submit to topic.asp with TOPIC_ID in the querystring, no need for an additional handler to process the form and redirect to the appropriate topic.




Good suggestion.<
Shaggy Posted - 28 September 2005 : 12:25:28
In fact, the easiest way to do it would be to use get as the form's method, topic.asp as it's action and TOPIC_ID as the name of the text input. Doing it this way, the form will submit to topic.asp with TOPIC_ID in the querystring, no need for an additional handler to process the form and redirect to the appropriate topic.

<
ruirib Posted - 28 September 2005 : 11:37:33
No, not much. You'd need to add code to display the form and to handle form submission.<
l3reacher Posted - 28 September 2005 : 10:44:57
Hmmm... how much of a coding will this little form take, since I am not a programmer. Will the textbox on the header act as a topic search field?? I can try to go online and get some help tutorials on creating this form.<
ruirib Posted - 28 September 2005 : 07:15:19
It could even be a small form, probably easier to do...<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000 Version 3.4.07