Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-21-2004, 03:30 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default You guys always help out Thanks....

HELP! Trying to make this search box work.
the link it is supposed to search is http://www.sprnch.com/forums/showthread.php?t=361
here is my code.
I get a invalid specified thread error. you know the drill contact your webmaster ect. ect. what am I doing wrong?

HTML Code:
<form action="search.php" method="post">
<div class="smallfont">
<input type="hidden" name="s" value="http://www.sprnch.com/forums/showthread.php?t=361"/><input type="hidden" name="do" value="process" /><input type="hidden" name="searchthread" value="1" /><input type="hidden" name="showposts" value="1" /><input type="hidden" name="searchthreadid" value="361" /><strong>search for a video</strong>:<br />
<input type="text" class="bginput" name="query" size="20" style="width:175px" /> <button name="$gobutton" type="submit">Get it!</button><br />
</div>
</form>
Reply With Quote
  #2  
Old 12-21-2004, 03:53 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please note questions like this are meant for vBulletin Questions and not General Modification Discussion. I've moved your thread for you

Back to your question, are you trying to search within a particular threadvia this form?
Reply With Quote
  #3  
Old 12-21-2004, 03:57 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ic ok sorry about that. Assumed it was the proper place.

Thanks.
Reply With Quote
  #4  
Old 12-21-2004, 04:02 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hehe I just edited my reply back in to avoid double posting. Have a read up ^^
Reply With Quote
  #5  
Old 12-21-2004, 04:08 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dean C
Please note questions like this are meant for vBulletin Questions and not General Modification Discussion. I've moved your thread for you

Back to your question, are you trying to search within a particular threadvia this form?
YES. one thread is like a intro thread. the other thread is almost like a database.
you can look thru it normally but I rahther users to use this. NOW I made a post and put HTML into the thread. so that is how its up there. so I cant us variables but I know where I want to search. so that is why I am not sure if put in the right code. I honestly dont know what "$threadid" is I assumed it was the Thread ID wich is what I posted in the code. I also dont know what "$session[sessionhash]" is... I assumed it had to do with cookies... I assumed it was the URL of the thread.
Reply With Quote
  #6  
Old 12-21-2004, 04:16 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this:

HTML Code:
<form action="search.php" method="post">
<div class="smallfont"><input type="hidden" name="do" value="process" /><input type="hidden" name="searchthread" value="1" /><input type="hidden" name="showposts" value="1" /><input type="hidden" name="threadid" value="361" /><strong>search for a video</strong>:<br />
<input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />
</div>
</form>
Reply With Quote
  #7  
Old 12-21-2004, 04:37 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dean C
Try this:

HTML Code:
<form action="search.php" method="post">
<div class="smallfont"><input type="hidden" name="do" value="process" /><input type="hidden" name="searchthread" value="1" /><input type="hidden" name="showposts" value="1" /><input type="hidden" name="threadid" value="361" /><strong>search for a video</strong>:<br />
<input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />
</div>
</form>
jumpping on that now.
Reply With Quote
  #8  
Old 12-21-2004, 04:52 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awsome man... really Thank you very much.
Thank you.
Reply With Quote
  #9  
Old 12-21-2004, 05:11 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dean C
Hehe I just edited my reply back in to avoid double posting. Have a read up ^^
After some testing it works but it searches all threads. Ok you see this thread? you can hit search with in this thread. that is what I want. but from a outside thred. I input box like that. That what I had works but seaches the whole site. Not what I want to do.
Reply With Quote
  #10  
Old 12-21-2004, 05:26 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm it worked on my test forum?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:28 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04583 seconds
  • Memory Usage 2,258KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete