Results 1 to 4 of 4

Thread: power search by date range or time range

  1. #1
    Join Date
    Sep 2007
    Posts
    7

    Default power search by date range or time range

    I'd like to do power search by date range (and maybe time)

    example: all links submit between 07/01/05 - 07/01/06

    or even better: from 07/01/05 12:00:00 - 07/01/06 12:00:00

    Is this even possible? I'll try harder if it is. But if anyone knows how to do it I'd love to know (even if it means reinstalling etc)

    Thanks

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    As it sits, IndexU is not able to do this. Although it is possible to modify the script to do it.

    The main issue is that the search feature can't do it, so you'd have to create a new search box. I have no idea what code you'd use.

  3. #3
    Join Date
    Jul 2003
    Posts
    128

    Default

    You can mess with this code.

    <form method="get" action="http://www.yourdomain.com/cgi/gateway.cgi">
    <input type="hidden" name="pflag" value="search"><table border="0" cellpadding="0" width="100%" cellspacing="0">
    <tr>
    <td height="50" width="100%"><div align="right"><p><font face="Arial" size="-1" color="#000000"><b>Search On:</b> </font><font face="Arial" size="-2" color="#000000"><select size="1" name="source">
    <option value="title">Business Name</option>
    <option value="description">Description</option>
    <option value="contact_name">Contact</option>
    <option value="street">Street</option>
    <option value="city">City</option>
    <option value="zip_code">Postal Code</option>
    <option value="phone">Phone</option>
    <option value="fax">Fax</option>
    </select></font><br>
    <img src="images/spacer.gif" width="1" height="4"><br>
    <font face="Arial" size="-2" color="#000000"><input size="20" type="text" name="search"> <input value="Search" type="submit"></font></td>
    </tr>
    </table>
    </form>
    Maybe you can alter this setup..

    I used it on www.CalgaryBusiness.ca (top right) to search on specific fields.

    Attached is the gateway.cgi script

    Good luck
    Attached Files Attached Files
    Last edited by gspinney; 02-09-2008 at 10:15 PM.

  4. #4
    Join Date
    Sep 2007
    Posts
    7

    Default

    i like what you have done there.

    unfortunately, that's not what I was looking for. But i may have found a way. if it works I'll post it in case anyone likes.

Similar Threads

  1. power search?
    By inspireme in forum v5.x
    Replies: 19
    Last Post: 01-29-2005, 10:23 PM
  2. Power Search & Date Added
    By sweepsmaster in forum v5.x
    Replies: 4
    Last Post: 12-15-2004, 03:08 PM
  3. power search doesn't search certain cats
    By Rob Picken in forum v5.x
    Replies: 9
    Last Post: 06-15-2004, 02:03 PM
  4. best products in the market in the $99 price- range
    By Veg in forum Customer Reviews
    Replies: 0
    Last Post: 11-02-2002, 01:55 AM
  5. Warning: rand(): Invalid range: 0..0
    By slamcity in forum v5.x
    Replies: 0
    Last Post: 05-21-2002, 12:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •