![]() |
|
Mod Options |
![]() |
|||||||||||
Expanded Get New Posts - Hours, Minutes and Even Seconds
![]() Developer Last Online: Nov 2013 ![]() ![]() ![]() This modification is in the archives.
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. Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Ban by minutes and hours too | calorie | vBulletin 3.5 Add-ons | 16 | 01 Jul 2009 15:12 |
Get New Posts From Last X Hours, Minutes or Seconds | amykhar | vBulletin 3.0 Full Releases | 25 | 11 Jun 2005 02:34 |
Comments |
#2
|
||||
|
||||
This post reserved for a FAQ
__________________
amykhar.com ---------------------------------------- I do not respond to PM requests for coding assistance. No members have liked this post.
|
#3
|
||||
|
||||
Nice!
No members have liked this post.
|
#4
|
||||
|
||||
Originally Posted by amykhar
Hmm ... are you sure?
Hookname: search_getnew_start
Btw: There is a small typo in the instructions: 'seconds' => TYPT_UINT instead of 'seconds' => TYPE_UINT ![]() No members have liked this post.
Last edited by KirbyDE; 14 Jun 2005 at 00:33. |
#5
|
||||
|
||||
OK. I guess I just didn't see the point of repeating the code twice - felt it better to replace the existing.
Amy
__________________
amykhar.com ---------------------------------------- I do not respond to PM requests for coding assistance. No members have liked this post.
|
#6
|
||||
|
||||
Cool, but it shows "posts from last day" in the header of the search results, regardless of how many days were searched.
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting No members have liked this post.
|
#7
|
||||
|
||||
Originally Posted by kall
All you have to do is change the posts_from_last_day phrase to something more appropriate. The phrasing would be up to you. I changed mine to "Updated Posts"
__________________
amykhar.com ---------------------------------------- I do not respond to PM requests for coding assistance. No members have liked this post.
|
#8
|
||||
|
||||
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 ![]()
__________________
No members have liked this post.
|
#9
|
||||
|
||||
Thanks for contributing
![]()
__________________
amykhar.com ---------------------------------------- I do not respond to PM requests for coding assistance. No members have liked this post.
|
#10
|
||||
|
||||
Amy have you had this running with RC2?
No members have liked this post.
|
#11
|
||||
|
||||
Yes. It's running on my site now.
__________________
amykhar.com ---------------------------------------- I do not respond to PM requests for coding assistance. No members have liked this post.
|
#12
|
|||
|
|||
Hi,
are there any updates to this mod? Does it work with Gold? Can it be a plugin? How does it handle the new databasetracking system? Regards, Tobi No members have liked this post.
|
#13
|
||||
|
||||
It works with gold, and it can be a plugin if you don't mind repeating the code block. I prefer to optimize it and leave it as a hack for myself.
Amy
__________________
amykhar.com ---------------------------------------- I do not respond to PM requests for coding assistance. No members have liked this post.
|
#14
|
|||
|
|||
Works like a charm. Another fine hack Amy, Thx!
No members have liked this post.
|
#15
|
|||
|
|||
perhaps a file update wothout the typo's would be good
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 20:51.