Version: 1.00, by amykhar
Developer Last Online: Nov 2013
Version: 3.5.3
Rating:
Released: 06-10-2005
Last Update: 02-02-2006
Installs: 81
Template Edits
Code Changes
No support by the author.
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
This modification may not be copied, reproduced or published elsewhere without author's permission.
I do not know. It may be a server issue, but I cannot even verify the problem because you do not have it enabled for guests. In fact, nobody who has claimed the problem has had a site I can actually see it happen on.
As with the 3.0 version, I've added a form at the bottom of my advanced search page so users can easily search for exactly how far back they want. (I've omitted seconds because, well, who needs it? But if you want it, just add the line in there, same format as days, hours, and minutes). Note, I'm using "days2" as the variable for days. Adjust as necessary for your installation.
Just put the following code above "$footer" in your seach_forums template (adjust font colors to fit your board, of course).
I liked this idea and ran with it a little.
didn't like the look, so made it into a horizontal bar above Search Forums search box (Advanced search).
Template: search_forums id:963
Add the following, no other changes needed for this:
Code:
<!-- Begin search in x time hack -->
<div id="postsinx" class="content">
<div style="padding:$stylevar[formspacer]px" class="tcat">
Recent Posts Search
</div>
<div class="panelsurround">
<div class="panel">
<fieldset class="fieldset" style="margin:0px">
<legend>Show New Posts from the last:</legend>
<div style="padding:$stylevar[formspacer]px">
<form action="search.php?">
<input type="hidden" name="do" value="getdaily" />
<input type="text" class="bginput" name="days" size="3" maxlength="3" /> days,
<input type="text" class="bginput" name="hours" size="3" maxlength="3" /> hours,
<input type="text" class="bginput" name="minutes" size="3" maxlength="2" /> minutes.
<input type="submit" value="Search"></input></form>
</div>
</fieldset>
</div>
</div>
</div>
<br />
<!-- End search in x time hack -->
Class="content" is my own, puts a grey line around the whole box, but the rest is standard vbulletin. Not perfect, but works and looks fine. And no tables!
I'm new to vBulletin and i like it very much. I used Snitz Forums before this forum. On those forums i liked the active topics very much. So i installed this mod. How editing my template did lead to the result i wanted.
This is the code of my Template header the piece that is the line of the navbar.