The Arcive of vBulletin Modifications Site. |
|
![]() |
|||||||||||||||||||||||||
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
|
Comments |
#2
|
|||
|
|||
![]()
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 |
#3
|
|||
|
|||
![]()
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"? |
#4
|
|||
|
|||
![]() Quote:
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 |
#5
|
|||
|
|||
![]()
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 ![]() |
#6
|
|||
|
|||
![]()
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] |
#7
|
|||
|
|||
![]()
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).
|
#8
|
|||
|
|||
![]() Quote:
![]() |
#9
|
|||
|
|||
![]()
i had to go yesterday, so i didn't have the time.. but i will try it, now
![]() |
#10
|
|||
|
|||
![]()
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
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|