![]() |
Add a Separate Page to your Forum to search Last XX Days
This is a simple hack.
What is does is adds a new page to your forum to allow the user to view posts by the last xx number of days. What's different in this hack is that we don't replace the "get daily function" (which has been the big hurdle with this type of hack). This only adds a new php page that can be linked to from anywhere in the forum to search by the last xx days. Very simple to do and install time is about 10 minutes and should work with all later versions of vb. Here is a working online example -Day Search . In my version it just creates a text link to the day search page the we create (from instructions) where the user can search from the last xx days. Simple and easy enough. Credits go to c-pr0mpt and the search days hack by Vincent "MW" Chan who created two hacks which I modified into one to suit my needs. ***pretty easy hack just requires some php pages to be changed and a few template changes**** Mike ps...instructions are in html format please note- this hack has been updated on May 4, 2003 to include suggestions in the threads below |
*confused*
Picture, demo, or anything? (I think pictures/demo's should be required with every new hack) |
Look at his online demo, what more do you want?
Great hack indiamike, i will install this one later. Thanks. |
good hack ;)
download allready, insatall one later ;) |
Quote:
So there is no confusion :confused: Here is the link to my search page where I added the link to the day search Search Page Here is the page that the hack creates to search by xx days Day Search |
I have to say, this looks like a really good hack - sometimes "View New Posts" can can a pain because it times out and resets - I'll install later on :)
|
I just downloaded it and i am about to install, but one quick question. When you search by x number of days, does it not show private forums? Wanted to find out before i added this.
|
All this hack basically does is copy your present search.php file to a new php file and change one line to show by the amount by days instead of getting new posts. So the answer would be if your present search function doesn't show private forums then your new day search wouldn't show them either (and vice versa).
In reality the whole hack is a no-brainer hack and I am quite surprised that no one thought of doing this before. :ermm: Mike |
oh, mybad I must have skipped the link to the demo in your first post when reading. ok, now I see. very nice :D
|
Yep. Installed and loving it. Thanks for posting this hack.
|
All times are GMT. The time now is 03:35 PM. |
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:
|