The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Expanded Get New Posts - Hours, Minutes and Even Seconds Details »» | |||||||||||||||||||||||||||
Expanded Get New Posts - Hours, Minutes and Even Seconds
Developer Last Online: Nov 2013
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. Show Your Support
|
Comments |
#17
|
|||
|
|||
Just tried this and despite using the file edit or the hook/plugin I get the same results...
Any option older than 24 hours works fine... Any option 'younger' than 24 hours (i.e. the 15 mins or 1 hour) still displays 24 hours of posts... Any ideas? |
#18
|
|||
|
|||
guess not!
|
#19
|
|||
|
|||
Quote:
That was close but to do that you need to change if from using days. Like I used days2 and changed the navbar to reflect it to use it as a plugin. Becuase by then days will already be set to one if it was less then one. |
#20
|
|||
|
|||
why why why
I can't get it working. I should be a box at the new posts with all these options right? Nothing is changed at my side. And I have done everything the receipt tells me to. |
#21
|
||||
|
||||
I can't test to see if it is working on your site because you don't allow guests to use search.
Amy |
#22
|
|||
|
|||
Sorry - I did the changes in an old design Everything is fine now
|
#23
|
|||
|
|||
For the old version of this, I created a box on the Advanced Search page that allows users to input exactly how many hours, instead of having a pre-determined drop down list. See screenshot. If anyone's interested, I'll work on doing it again.
|
#24
|
||||
|
||||
Quote:
any idea why? Tia |
#25
|
||||
|
||||
If you don't place the code correctly in the template, that can happen.
|
#26
|
|||
|
|||
Okay, I've created a manual input form for the Advanced Search page where a user can put in an exact number of days, hours, and/or minutes to search back.
|
#27
|
|||
|
|||
Love this mod! I'm trying to futz with the last search in the modification in this thread, showing all unanswered threads (which works great as is).
What I want is all unanswered threads in all forums except for forum #17, but I just can't seem to add the forumchoice parameter correctly. Any vb search gurus able to help a guy out? here is the existing code: Code:
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=process&replyless=1&replylimit=0&dontcache=1">Get Unanswered Posts</a></td></tr> Code:
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=process&replyless=1&replylimit=0&forumchoice=[2,3,4]&dontcache=1">Get Unanswered Posts</a></td></tr> OK, found it. This appears to be working: Code:
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=process&replyless=1&replylimit=0&forumchoice[]=2&forumchoice[]=4&forumchoice[]=5&forumchoice[]=6&forumchoice[]=7&forumchoice[]=9&forumchoice[]=10&forumchoice[]=11&forumchoice[]=19&forumchoice[]=23&forumchoice[]=24&dontcache=1">Get Unanswered Posts</a></td></tr> |
#28
|
||||
|
||||
I dont have new post in my nav bar because its a cousom template but i did find this in the header
Code:
<if condition="$bbuserinfo['userid']"> <li class="n_post"><a class="n_post" href="search.php?$session[sessionurl]do=getnew" title="$vbphrase[new_posts_nav]" rel="nofollow"><span>$vbphrase[new_posts_nav]</span></a></li> <else /> Code:
<if condition="$show['member']"> <td id="navbar_posts" class="vbmenu_control"><a href="search.php?$session[sessionurl]" accesskey="2">New Posts</a> <script type="text/javascript"> vbmenu_register("navbar_posts"); </script></td> <else /> |
#29
|
||||
|
||||
where can i change langugage of this
|
#30
|
||||
|
||||
Thank you Amy, great hack & easy to install.....installed.
and thanks to BaconDelight as well, great lil feature. |
#31
|
||||
|
||||
i have problem, 2 times showning 4 hours
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|