The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Ok,
I'm sure I'm blind but didn't fount what I am looking for. I am looking for an simple hack, that produces a combobox with three choices: messages of today messages since yesterday messages of the last three days You can find a German version of this hack on http://forum.traum-projekt.com (that box with the yellow "go"-button on the top of that page. The responsible guy there is on vacation so I cannot ask him directly for that hack. Im sure it's pretty simple - any ideas? Thanks in advance Markus |
#2
|
||||
|
||||
In search.php find
PHP Code:
PHP Code:
You can make the box itself by yourself. Hope I helped. |
#3
|
|||
|
|||
Thanks,
just had the time to check your hack - great! Exactly what I was looking for... Markus |
#4
|
||||
|
||||
Yes ... just what i have been looking for.
A few more questions: 1. Is there any possibility to make this more variable? So the user can make a choice as he wants ... last 17 days or last 10 days or something like that. And so we dont have to do for each day one long code ... but only a variable? 2. Is there a possibility to get the results like if i click on "postsonly"? So with the posts and a little preview on it? That i am missing also on the getdaily-function. 3. One problem - or at least for me it seems so - is, if we dont get the posts a "last three days"-function (or a "last ten days"-function even more) isn't such as useful as it could be. E.g the last three days result could be not so differant from the last two day result ... means there are the same threads on the results ... and the user has to find the right posts by himself. He can jump to the beginning ... or jump to the end. But not to the post which has been written three days ago. I tried a bit playing around which varios ideas on the search.php ... but i didn't find clue. It's not so hard to change the searchresultbit ... but the result isn't that what i wanted. At least until now. Same threats ... no preview ... but i'm a very poor coder also. So ... nice try ... i had even almost the same idea (i multiplicated the hours ... 48 hrs, 72 hrs and so on) ... but it's not so useful as i would wish ... without the posts. Any ideas? (Hm? Yes ... in other words ... what i wish is a real "search by date"-function. Like at least Discus has it.) |
#5
|
||||
|
||||
(Ooh hell ... i'm a member now. I have to tell all my friends about it.)
|
#6
|
||||
|
||||
Oh ... you can stop searching now. I find my clues for having a "last x days"-view with posts instaed of threads.
If somebody is interested ... i will write them down ... it's mostly three changes in the search.php |
#7
|
||||
|
||||
What do I need to add so that I can assign which forum IDs it does and doesn't do this from?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|