[ic] Listing user database

Chris Wenham cwenham@netmonger.net
Mon, 20 Nov 2000 14:22:52 -0500 (EST)


 A client wants their site to have a membership directory page that
 can be used to list and search for other members of the site. I
 thought that the most obvious way to implement this would be to
 search the userdb that Interchange comes with (with a flag for
 privacy, of course).

 Unfortunately I can't list anything from userdb.txt, using either
 loop or search-region. After removing qualifiers designed to protect
 privacy, I found that not even the most simple search parameters I
 knew of would list anything at all. EG:

  [loop search="
  fi=userdb.txt
  st=db
  ra=yes"]

  <p>[loop-code]

  [/loop]

 Lists nothing. Removing mv_searchtype (st=db) causes it to list the
 contents of the product table instead.

 Is userdb a special case that cannot be searched normally and is
 there a way to work around it without compromising privacy?

Regards,

Chris Wenham
NetMonger Communications