Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 12-13-2000 Last Update: Never Installs: 0
 
No support by the author.

What I'd like is for the Search function to work similar to the way UBB is. What I mean is that in UBB, if you start the search from within a forum, the search is auto preset to search within that forum. It looks like vB always is preset to search all forums. Can someone help me with this?

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-14-2000, 01:39 AM
Guest
 
Posts: n/a
Default

yep that's easy enough - i have it working in my forums as a simple text link to posts within a forum for the past 24 hrs

http://animeboards.net/forums/forumd....php?forumid=3

Here's the thread on it http://vbulletin.com/forum/showthread.php?threadid=2679

all you need to do is put into forumdisplay template -

search.php?getdaily=yes&action=dosearch&searchdate =1&forumchoice=$forumid

or

/forums/search.php?getdaily=yes&action=dosearch&searchdate =1&forumchoice=$forumid

depending where you have vB installed
Reply With Quote
  #3  
Old 12-14-2000, 01:47 AM
Guest
 
Posts: n/a
Default

Thank you. I'm not sure what you meant by this, however: "...i have it working in my forums as a simple text link to posts within a forum for the past 24 hrs". Could you elaborate on that? I can't see an example on your board unless I register, and I'm sure you don't want a superfluous regsistration.

If I have my vB installed in a folder named bbs (as a subfolder of the root www folder), should that last bit be "/bbs/search.php?getdaily=yes&action=dosearch&searchdate =1&forumchoice=$forumid"?
Reply With Quote
  #4  
Old 12-14-2000, 02:44 AM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by JJR512
Thank you. I'm not sure what you meant by this, however: "...i have it working in my forums as a simple text link to posts within a forum for the past 24 hrs". Could you elaborate on that? I can't see an example on your board unless I register, and I'm sure you don't want a superfluous regsistration.

If I have my vB installed in a folder named bbs (as a subfolder of the root www folder), should that last bit be "/bbs/search.php?getdaily=yes&action=dosearch&searchdate =1&forumchoice=$forumid"?
what i mean is on the above page in forum id = 3 i have a text link on the top right portion of my main table saying forum post in past 24 hrs and the text link points to http://animeboards.net/forums/search...&forumchoice=3

which when clicked brings back the posts in the last 24hrs in forum id = 3

and yes if you link would be /bbs/and that code which you would put in your forumdisplay template
Reply With Quote
  #5  
Old 12-14-2000, 02:52 AM
Guest
 
Posts: n/a
Default

That's not exactly what he wants, if you can wait until v2.0 comes out and ask again I will give you a hack.

..oh and eva wants all the registrations he can get
Reply With Quote
  #6  
Old 12-14-2000, 03:08 AM
Guest
 
Posts: n/a
Default

Thanks, freddie; I was starting to get the feeling that there was a misunderstanding here somewhere, and you just confirmed where it was!

eva2000, what I was looking for was this. The way vB is by default, whenever you click on the Search button, you get a screen that has a box to type in some keywords to search for, a username to search for posts by, a time period to search for posts during, etc. Also, you can pick what forum to search in. By default, this last thing is always set to search in all forums. It is always set to search all forums, no matter where you were when you clicked on the Search button.

In UBB, if you are in a particular forum, let's call it General, if you click on the Search button while in that forum, the box that lets you pick which forum to search in is already pre-set to General. Of course, you can still change it to any forum you want, it's just that it's preset to whatever forum you were in when you clicked the button.

This is what I'm asking if someone could make for vB. I understand freddie wants to wait, but if anyone else wants to take this on now, why that'd be good too!

Actually, I have an idea for an improvement. Instead of just being able to select one forum to search in from a drop-box, maybe it could be changed so that it is a list of your forums with check-boxes, and you can check the forums you want, more than one if you want. And the search would search in the forums you've selected. That'd be way cool!

[Edited by JJR512 on 12-14-2000 at 12:12 AM]
Reply With Quote
  #7  
Old 12-14-2000, 04:16 AM
Guest
 
Posts: n/a
Default

That could also be done rather easily. Personally I hate the way UBB assumes I only want to search the forum that I am in but I understand it is needed considering how long a search on UBB can take (if the search is even enabled).
Reply With Quote
  #8  
Old 12-14-2000, 01:15 PM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by JJR512
Actually, I have an idea for an improvement. Instead of just being able to select one forum to search in from a drop-box, maybe it could be changed so that it is a list of your forums with check-boxes, and you can check the forums you want, more than one if you want. And the search would search in the forums you've selected. That'd be way cool!
[Edited by JJR512 on 12-14-2000 at 12:12 AM] [/B]
I'll take that challenge.. that's a kewl idea
Reply With Quote
  #9  
Old 12-15-2000, 08:51 PM
Guest
 
Posts: n/a
Default

i had to go yesterday, so i didn't have the time.. but i will try it, now
Reply With Quote
  #10  
Old 12-16-2000, 04:08 PM
Guest
 
Posts: n/a
Default

hmm i had no luck yet, but i'll keep ya informed.. the main prob will be, that because my board is all hacked up with my small hacks, that when i finished it, that i can give good instructions on including it on a clean board oh well, we'll see by then..
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 11:12 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.04733 seconds
  • Memory Usage 2,270KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete