[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [ic] Listing user database
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
It sounds like the userdb is protected per default.
Add a lines like
[perl]
$Config->{NoSearch} = '';
[/perl]
at the top of your page.
Joachim
--
-------------Hans-Joachim Leidinger---------------------
_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users