--------------C8244B51173EDD1148B6679F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
this is all with a *BIG* "I think" in front.
[loop search="
fi=userdb
st=db
ra=yes"]
<p>[loop code]</p>
[/loop]
or
[loop search="
fi=userdb.txt
st=text
ra=yes"]
<p>[loop code]</p>
[/loop]
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 ----------------------------
--------------C8244B51173EDD1148B6679F
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
this is all with a *BIG* "I think" in front.
[loop search="
fi=userdb
st=db
ra=yes"]
<p>[loop code]</p>
[/loop]
or
[loop search="
fi=userdb.txt
st=text
ra=yes"]
<p>[loop code]</p>
[/loop]
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 ----------------------------