Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 02-14-2008, 06:47 PM
nothing4me nothing4me is offline
 
Join Date: Oct 2007
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Search in forum...

search.php?do=finduser&u=$bbuserinfo[userid]&starteronly=1&f=44

What should I replace f=44 with if I want to search it in a specific forum?
Reply With Quote
  #2  
Old 02-14-2008, 07:31 PM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nothing4me View Post
search.php?do=finduser&u=$bbuserinfo[userid]&starteronly=1&f=44

What should I replace f=44 with if I want to search it in a specific forum?
Code:
search.php?do=finduser&u=$bbuserinfo[userid]&starteronly=1&f=xx
xx being the forum id of the specific forum you want to search.
Reply With Quote
  #3  
Old 02-15-2008, 01:38 AM
nothing4me nothing4me is offline
 
Join Date: Oct 2007
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
Code:
search.php?do=finduser&u=$bbuserinfo[userid]&starteronly=1&f=xx
xx being the forum id of the specific forum you want to search.
It searches in all the forums...
Reply With Quote
  #4  
Old 02-15-2008, 03:08 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, was not sure what you were asking, I thought you were on about the forum numbers.

Search will check all forums apart from the ones you exclude. Try this instead :

Code:
search.php?do=finduser&u=$bbuserinfo[userid]&starteronly=1&exclude=xx,yy,zz
xx, yy and zz being the forum ids of the forums you want to exclude from the search.
Reply With Quote
  #5  
Old 02-15-2008, 01:05 PM
nothing4me nothing4me is offline
 
Join Date: Oct 2007
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
Sorry, was not sure what you were asking, I thought you were on about the forum numbers.

Search will check all forums apart from the ones you exclude. Try this instead :

Code:
search.php?do=finduser&u=$bbuserinfo[userid]&starteronly=1&exclude=xx,yy,zz
xx, yy and zz being the forum ids of the forums you want to exclude from the search.
That doesn't work either.
Reply With Quote
  #6  
Old 02-16-2008, 05:29 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nothing4me View Post
That doesn't work either.
Right, one more go at this:

Code:
search.php?do=finduser&u=$bbuserinfo[userid]&starteronly=1&forumchoice[]=xx
Where xx is the forum you want to search.

Now if that is not it, then please explain exactly what it is you want to do.

Then myself or someone else can figure out how to do it, as the code you originally posted would seem to indicate searching for a specific user's started threads in a single forum.
Reply With Quote
  #7  
Old 02-16-2008, 12:32 PM
nothing4me nothing4me is offline
 
Join Date: Oct 2007
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
Right, one more go at this:

Code:
search.php?do=finduser&u=$bbuserinfo[userid]&starteronly=1&forumchoice[]=xx
Where xx is the forum you want to search.

Now if that is not it, then please explain exactly what it is you want to do.

Then myself or someone else can figure out how to do it, as the code you originally posted would seem to indicate searching for a specific user's started threads in a single forum.
That code worked! But, how do I make it search in child forums too?
Reply With Quote
  #8  
Old 02-17-2008, 04:53 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nothing4me View Post
That code worked! But, how do I make it search in child forums too?
Cool, childforums is easy

Code:
search.php?do=finduser&u=$bbuserinfo[userid]&starteronly=1&forumchoice[]=xx&childforums=1
Where xx is the forum you want to search.
Reply With Quote
  #9  
Old 02-17-2008, 01:12 PM
nothing4me nothing4me is offline
 
Join Date: Oct 2007
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
Cool, childforums is easy

Code:
search.php?do=finduser&u=$bbuserinfo[userid]&starteronly=1&forumchoice[]=xx&childforums=1
Where xx is the forum you want to search.
Thanks a lot! Perfect!!!
Reply With Quote
  #10  
Old 02-18-2008, 03:38 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nothing4me View Post
Thanks a lot! Perfect!!!
You are most welcome, glad to help
Reply With Quote
Reply

Thread Tools
Display Modes

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 04:57 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04859 seconds
  • Memory Usage 2,255KB
  • 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
  • (8)bbcode_code
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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