Results 1 to 1 of 1

Thread: Searching with a URL: summary of findings

  1. #1

    Lightbulb Searching with a URL: summary of findings

    In case anyone else wants to provide links on their pages that permit users to simply click to perform a search within vBA Links, here is what I found works.

    1.
    To search within only one custom field, use a URL such as the following (which limits to field #15):
    Code:
    http://MYDOMAIN.com/links/search.php?s=&do=searchresults&string=STRING&username=&cfields%5B%5D=field15&dateline=0&new_old=newer&leastmost=least&replycount=0&orderby=name&direction=ASC&catids%5B%5D=0&subcats=1&dosearch=Search+Now
    2.
    To search within multiple custom fields, one has to list each one in the URL as a cfields[]=field# expression.

    If you specify an invalid custom field number in the above URL, a database error will occur, which does not appear to reveal anything that would make it a security risk, but it's caused by an invalid SQL expression.

    3.
    To search within all fields & ONE custom field, the following appears to work. Notice that field #15 is specified. It's the only custom field that will be searched in addition to the title, keywords, & description.
    Code:
    http://MYDOMAIN.com/links/search.php?do=searchresults&catid=0&string=STRING&quicksearch=1&cfields[]=field15
    4.
    To search such that everything in one category is displayed, use a URL such as this, which limits to category #8:
    Code:
    http://MYDOMAIN.com/links/browselinks.php?c=8
    Last edited by JamesCybert; 01-09-2008 at 11:24 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How do I show my forum summary on home page (sketched)
    By twobob in forum "How Do I..." Questions
    Replies: 14
    Last Post: 02-10-2007, 03:16 PM
  2. searching subcategories
    By Grae in forum Bugs From 2.0.0
    Replies: 0
    Last Post: 01-05-2007, 04:38 PM
  3. after hours of searching
    By raven3d in forum "How Do I..." Questions
    Replies: 4
    Last Post: 12-13-2005, 04:07 AM
  4. Searching
    By chrisvonc in forum Pre-Sale Questions
    Replies: 5
    Last Post: 07-17-2004, 11:58 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
  •