[ic] Listing user database

Marcel Montes marcel@multimake.com
Mon, 20 Nov 2000 16:47:34 -0300


--------------E8552CD0B88B260460FB318A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I'm not sure, but I think that it should be st=text instead of db
(I think db is for SQL and text for GDBM)

hope it helps

Chris Wenham wrote:

>  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
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@www.minivend.com
> http://www.minivend.com/mailman/listinfo/interchange-users

--
 Marcel Montes [marcel(at)multimake(dot)com] - Programmer
 "If our brain were so simple that we could understand it,
 we would be so stupid that we couldn't do so"
-------------------------- EOF ----------------------------



--------------E8552CD0B88B260460FB318A
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
I'm not sure, but I think that it should be st=text instead of db

(I think db is for SQL and text for GDBM)

hope it helps

Chris Wenham wrote:

 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

_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users

-- 
 Marcel Montes [marcel(at)multimake(dot)com] - Programmer  
 "If our brain were so simple that we could understand it, 
 we would be so stupid that we couldn't do so"
-------------------------- EOF ----------------------------
  --------------E8552CD0B88B260460FB318A--