Log in

View Full Version : search.php?do=getdaily


sasjamal
08-18-2004, 10:52 AM
I want to modify this so i can pass a integer to getdaily, and it will show the last 7 days of the posts, etc. or the last 3 depending on what parameter is passed to it.

sabret00the
08-18-2004, 10:59 AM
I want to modify this so i can pass a integer to getdaily, and it will show the last 7 days of the posts, etc. or the last 3 depending on what parameter is passed to it.
i think this was released as a mod at vBT

CarCdr
08-18-2004, 01:20 PM
I believe "search.php?do=getdaily&days=3" will do the trick for 3 days.

Beermonster
08-18-2004, 04:37 PM
Just use this code in the template you want it to show


<form action="search.php" method="get" name="name">
<input type="hidden" name="do" value="getdaily">
Search for posts from the last <input type="text" value="1" name="days" size="3"> day(s) <input type="submit" value="Search">
</form>