![]() |
Expanded Get New Posts - Hours, Minutes and Even Seconds
OK. I'll admit it. The seconds is overkill. Sue me. ;)
This little mod (unfortunately, it can't be a plugin) requires you to edit one file and a template or two. I have included a suggested template edit, but how you use the search links is up to you. It is similar to the getdaily feature of vbulletin, which allows users to search for posts submitted in x number of days. This expansion allows users to search for posts submitted within x hours, x minutes or even x seconds. It also allows users to search for any combination thereof. |
This post reserved for a FAQ
|
Nice!
|
Quote:
Hookname: search_getnew_start PHP Code:
|
OK. I guess I just didn't see the point of repeating the code twice - felt it better to replace the existing.
Amy |
Cool, but it shows "posts from last day" in the header of the search results, regardless of how many days were searched.
|
Quote:
|
Thanks for this, just a little mistake in your get hours, you had 2 4's instead of 4 & 8 :)
anyway for a little more overkill use this, it add's Find all your posts Find all your threads Get all unanswered posts :) Code:
<if condition="$show['searchbuttons']"> |
Thanks for contributing :)
|
Amy have you had this running with RC2?
|
All times are GMT. The time now is 06:22 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|