vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Define the URL to a predetermined search (https://vborg.vbsupport.ru/showthread.php?t=224892)

Warlord 10-09-2009 02:17 PM

Define the URL to a predetermined search
 
I did this a long time ago on an older version of vBulletin but I can't remember how I did it. I'm also on 3.8.4 now. Can someone point me in the right direction?

Lynne 10-09-2009 02:36 PM

You mean like search.php?do=process&query=yourWord ?

Warlord 10-09-2009 03:09 PM

That seems to work, but how do I add a forum id into that? Thank you for your help by the way. :)

Lynne 10-09-2009 03:31 PM

Add "&forumchoice[]=x,y" to the end where x,y are forumids (if coding this, your & should be & )

Warlord 10-09-2009 04:16 PM

Thanks again Lynne. :)

--------------- Added [DATE]1255110380[/DATE] at [TIME]1255110380[/TIME] ---------------

Sorry to be a nuisance but this is what I'm trying, but it's still showing results from all forums...

Code:

http://forums.projectfanboy.com/search.php?do=process&query=Inker&needed&forumchoice[]=139
Since I'm just a glutton for punishment, is there a way to make it only search thread titles as well?

--------------- Added [DATE]1255112174[/DATE] at [TIME]1255112174[/TIME] ---------------

Hahahaha! Google is my friend. :D

http://www.vbulletin.com/forum/showthread.php?t=107955


All times are GMT. The time now is 02:29 PM.

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.02405 seconds
  • Memory Usage 1,714KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete