Re: MultiGroupChecker

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 32549
interpreted = N
texte = Look in the WebCatalog 3.0.x StoreBuilder templates for an example to override the normal [protect] tag function.James Howarth ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive | Software & Site Development Suite 380 | San Diego, CA 92127 | 858.675.1106 | http://www.smithmicro.com/isd 858.675.0372 (fax)-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Rodolfo de la Garza Sent: Wednesday, May 31, 2000 8:12 PM To: WebCatalog Talk Subject: Re: MultiGroupChecker Ken, Thanks for answer this question.I did it, but doesn't work. I duplicate the users.db and rename it as newusers.db and put it inside the new directory, also change in the SpecialMGC file all the references, I have it like this:[showif NotFound=[lookup db=newusers.db&lookinField=user&value=[uppercase][username][/uppercase]&retu rnField=user¬Found=NotFound]] [authenticate usuario del nuevo site] [/showif] [showif [url][encrypt][uppercase][password][/uppercase][/encrypt][/url]![url][lookup db=newusers.db&lookinField=user&value=[uppercase][username][/uppercase]&retu rnField=pass¬Found=NotFound][/url]] [authenticate usuario del nuevo site] [/showif] [search db=newusers.db&groupsword=ww&wogroupsdatarq=[uppercase][groups][/uppercase]& equserdatarq=[uppercase][username][/uppercase]&eqpassdatarq=[url][encrypt][u ppercase][password][/uppercase][/encrypt][/url]] [showif [numFound]=0] [authenticate usuario del nuevo site] [/showif] [/search]and put it in the same directory and in the template I want to protect I write the line: [include file=SpecialMGC&groups=GENERAL] All files in the same directory, other than the webcatalog's directory.If I use a username that is in the users.db it works, but if I use a user that is only in the newusers.db it does not.What do you think I'm doing wrong?Thanks. Rodolfo de la Garza El 5/31/00 5:54 PM, Kenneth Grome ken@simplewebstores.com escribió:> In those instructions I failed to mention the fact that WebCatalog > recognizes only ONE users.db -- the one that comes with webcatalog. > It also recognizes only one standardconversions.db and one > errormessages.db and one triggers.db. In other words, webcatalog > cannot find any db's with these names unless they are specifically > located inside the webcatalog folder ... > > Therefore, you cannot simply duplicate the MultiGroupChecker file and > use the duplicate as I explained, you also have to change all the > users.db references in your SpecialMGC file to some other db name > -- such as newusers.db for example -- then duplicate the users.db, > and rename it newusers.db, and put it in the same folder as your > templates. > > Doing this will cause the SpecialMGC file to refer to the newusers.db > instead of the users.db, and this is exactly what you need it to do. > > :) > > >> Hi there, >> >> I have an authentication problem. I don't want to use the users.db and I >> create another one in other directory. >> >> I did as Ken explain in the archive. >> >> ------------- >> The 1999/04/25 23:06:26 Kenneth Grome Wrote. >> >> 1- Instead of using [protect] in your special template, use [include >> file=specialMGC&groups=whatever], then replace the >> whatever text with the group name or names you wish to authenticate. >> >> 2- Duplicate the MultiGroupChecker file, name it SpecialMGC, and move it >> into the same folder as your special template. >> >> 3- In the SpecialMGC file, change the [authenticate Unauthorized User] >> tags to [authenticate someNewText], then replace >> someNewText with whatever you want to appear in the browser's >> authentication dialog box. >> >> ------------- >> Then I include this line in the template I want to protect: >> [include file=SpecialMGC&groups=GENERAL] >> >> But it still using the users.db instead of the newusers.db and it do not >> recognice the users in the newusers.db and do not change the browser's >> authentication dialog box with the new text. >> >> Any Idea Why? >> >> Thanks >> Rodolfo de la Garza >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://search.smithmicro.com/ > > > > ================================ > Kenneth Grome, WebDNA Consultant > 808-737-6499 http://webdna.net > ================================ > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: multiGroupChecker code redundant? (John Butler 2000)
  2. Re: multiGroupChecker code redundant? (WebDNA Support 2000)
  3. multiGroupChecker code redundant? (John Butler 2000)
  4. Re: MultiGroupChecker (Kenneth Grome 2000)
  5. Re: MultiGroupChecker (JHowarth@smithmicro.com 2000)
  6. Re: MultiGroupChecker (Rodolfo de la Garza 2000)
  7. MultiGroupChecker (Rodolfo de la Garza 2000)
  8. Re: MultiGroupChecker (Kenneth Grome 2000)
Look in the WebCatalog 3.0.x StoreBuilder templates for an example to override the normal [protect] tag function.James Howarth ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive | Software & Site Development Suite 380 | San Diego, CA 92127 | 858.675.1106 | http://www.smithmicro.com/isd 858.675.0372 (fax)-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Rodolfo de la Garza Sent: Wednesday, May 31, 2000 8:12 PM To: WebCatalog Talk Subject: Re: MultiGroupChecker Ken, Thanks for answer this question.I did it, but doesn't work. I duplicate the users.db and rename it as newusers.db and put it inside the new directory, also change in the SpecialMGC file all the references, I have it like this:[showif NotFound=[lookup db=newusers.db&lookinField=user&value=[uppercase][username][/uppercase]&retu rnField=user¬Found=NotFound]] [authenticate usuario del nuevo site] [/showif] [showif [url][encrypt][uppercase][password][/uppercase][/encrypt][/url]![url][lookup db=newusers.db&lookinField=user&value=[uppercase][username][/uppercase]&retu rnField=pass¬Found=NotFound][/url]] [authenticate usuario del nuevo site] [/showif] [search db=newusers.db&groupsword=ww&wogroupsdatarq=[uppercase][groups][/uppercase]& equserdatarq=[uppercase][username][/uppercase]&eqpassdatarq=[url][encrypt][u ppercase][password][/uppercase][/encrypt][/url]] [showif [numFound]=0] [authenticate usuario del nuevo site] [/showif] [/search]and put it in the same directory and in the template I want to protect I write the line: [include file=SpecialMGC&groups=GENERAL] All files in the same directory, other than the webcatalog's directory.If I use a username that is in the users.db it works, but if I use a user that is only in the newusers.db it does not.What do you think I'm doing wrong?Thanks. Rodolfo de la Garza El 5/31/00 5:54 PM, Kenneth Grome ken@simplewebstores.com escribió:> In those instructions I failed to mention the fact that WebCatalog > recognizes only ONE users.db -- the one that comes with webcatalog. > It also recognizes only one standardconversions.db and one > errormessages.db and one triggers.db. In other words, webcatalog > cannot find any db's with these names unless they are specifically > located inside the webcatalog folder ... > > Therefore, you cannot simply duplicate the MultiGroupChecker file and > use the duplicate as I explained, you also have to change all the > users.db references in your SpecialMGC file to some other db name > -- such as newusers.db for example -- then duplicate the users.db, > and rename it newusers.db, and put it in the same folder as your > templates. > > Doing this will cause the SpecialMGC file to refer to the newusers.db > instead of the users.db, and this is exactly what you need it to do. > > :) > > >> Hi there, >> >> I have an authentication problem. I don't want to use the users.db and I >> create another one in other directory. >> >> I did as Ken explain in the archive. >> >> ------------- >> The 1999/04/25 23:06:26 Kenneth Grome Wrote. >> >> 1- Instead of using [protect] in your special template, use [include >> file=specialMGC&groups=whatever], then replace the >> whatever text with the group name or names you wish to authenticate. >> >> 2- Duplicate the MultiGroupChecker file, name it SpecialMGC, and move it >> into the same folder as your special template. >> >> 3- In the SpecialMGC file, change the [authenticate Unauthorized User] >> tags to [authenticate someNewText], then replace >> someNewText with whatever you want to appear in the browser's >> authentication dialog box. >> >> ------------- >> Then I include this line in the template I want to protect: >> [include file=SpecialMGC&groups=GENERAL] >> >> But it still using the users.db instead of the newusers.db and it do not >> recognice the users in the newusers.db and do not change the browser's >> authentication dialog box with the new text. >> >> Any Idea Why? >> >> Thanks >> Rodolfo de la Garza >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://search.smithmicro.com/ > > > > ================================ > Kenneth Grome, WebDNA Consultant > 808-737-6499 http://webdna.net > ================================ > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ JHowarth@smithmicro.com

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebCat cannot handle compatible search parameters? (1997) RE: [WebDNA] Sending 100 mails an hour then pausing (2010) WebCat2 several catalogs? (1997) [WebDNA] Mass email using WebDNA (2008) Interfacing WC with mail server (1998) [WebDNA] HTML [sendmail] revisited (2009) Bulk Processing Offline (2004) Emailer help....! (1997) Include a big block of text (1997) Creating 404 Not Found pages (1999) Open Market's Transact & Macintosh (1998) generator prob (2001) New WebCat release ?? (2001) Carrying over data? (1997) Help formatting search results w/ table (1997) can WC render sites out? (1997) Sorting by date (1997) Frames and WebCat (1997) popups, netscape vs explorer (1997) Tip: Debug: See what your [Search...] is doing (2003)