Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Trouble with logging in users



******    message to minivend-users from Ed LaFrance <edlafrance@printexusa.com>     ******

Masahiro -

You should be able to create the entries in userdb.asc.  The next time 
Minivend accesses userdb (like a login attempt), it should detect the 
revision in the .asc version and import it into the userdb proper.  Then 
you should be able to log in as one of your government users.

If you want a user to be able to create their own government user account, 
just create a modified version of new_account.html with a hidden form field 
which sets the value if  is_gov:

<input type=hidden name=is_gov value="yes">

If this does not address your problem, then I do not understand what the 
problem is.

- Ed L.


At 10:33 AM 3/16/00 -0800, you wrote:
>******    message to minivend-users from "Snowcrest eCommerce Development" 
><minivend-dev@snowcrest.net>     ******
>
>It's not the pricing changes that are my woes.  I just can't figure out how
>to set the government login and password in the userdb so they CAN login.
>I've tried everything in the manual to setup a user with a password, but to
>no avail.  I can handle the pricing change, I just can't make the userdb
>contain a user that can login to make use of those changes.
>
>Masahiro Knittel
>
>----- Original Message -----
>From: "Ed LaFrance" <newmedia@newmediaems.com>
>To: <minivend-users@minivend.com>
>Sent: Wednesday, March 15, 2000 5:23 PM
>Subject: Re: [mv] Trouble with logging in users
>
>
> > ******    message to minivend-users from Ed LaFrance
><newmedia@newmediaems.com>     ******
> >
> > Masahiro -
> >
> > Perhaps you could try a different approach.  How does your catalog
> > distinguish a government purchasing agent from a regular user?  Do they
> > both log in?  If not - in other words, if only government agents log in -
> > you could do:
> >
> > [if session logged_in]
> >          [discount ALL_ITEMS] $s * .8 [/discount]
> > [/if]
> >
> > According to the 3.1x docs, this would give a 20% discount to all gov
> > agents if you put in on their welcome page - no need for a special pricing
> > field!
> >
> > If you allow all types of users to log in, you could have a column in
> > userdb named is_gov, and set it to a non-blank value for government
> > agents.  Then you could do something like:
> >
> > [if data userdb::is_gov::[data session username]]
> >     [discount ENTIRE_ORDER] $s * .9 [/discount]
> > [/if]
> >
> > ...to take 10% off of their order when you put this on the checkout page.
> >
> > These are just untested examples.  Read up on discounts in the docs.
> >
> > Good luck!
> >
> > - Ed L.
> >
> >
> >
> > At 10:17 AM 3/15/00 -0800, you wrote:
> > >******    message to minivend-users from "Snowcrest eCommerce
>Development"
> > ><minivend-dev@snowcrest.net>     ******
> > >
> > >Hi List users.
> > >
> > >I'm a web developer at a local ISP in northern CA and I am running into
>some
> > >problems using minivend for an eCommerce solution we are currently
> > >developing.
> > >
> > >Here's what I'd like to do:
> > >Set up a login area for buyers to login as a government agent to obtain
> > >reduced prices.
> > >Set up reduced prices for government agents in a pricefield in the
>products
> > >db via the Locale settings for government agents.
> > >Have the fly page and results page display appropriate prices.
> > >
> > >Here's what I've gotten done:
> > >Properly set up the products db to contain a price column for retail
>buyers
> > >and a serparate price column for government buyers.
> > >Made the Locale for government agents switch pricefields to reflect the
> > >reduced prices.
> > >Using the switched pricefield, government agents will be able to view
> > >reduced prices in the results and fly page if they login.
> > >
> > >Here's what I can't do:
> > >Set up a secure login area that will log a user in as a government agent
>and
> > >then switch the locale setting, causing the prices to display the reduced
> > >amounts.  I've bashed my head against the wall trying the figure this
>out,
> > >but no luck.  I have the code set up to log the user in, but I have no
> > >flippin clue how to add the user in the userdb file with the appropriate
> > >password encrypted.  I wouldn't mind scrapping the encryption algorithm
>to
> > >have the userdb.asc tab-delimited text change the userdb.db file, but I'm
> > >lost as to how to do this.
> > >
> > >Help!
> > >
> > >Masahiro Knittel
> > >
> > >
> > >
> > >-
> > >To unsubscribe from the list, DO NOT REPLY to this message.  Instead,
>send
> > >email with 'UNSUBSCRIBE minivend-users' in the body to
>Majordomo@minivend.com.
> > >Archive of past messages: http://www.minivend.com/minivend/minivend-list
> >
> > -
> > To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
> > email with 'UNSUBSCRIBE minivend-users' in the body to
>Majordomo@minivend.com.
> > Archive of past messages: http://www.minivend.com/minivend/minivend-list
> >
>
>-
>To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
>email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
>Archive of past messages: http://www.minivend.com/minivend/minivend-list

Printex Marking Technologies
12113 Kirkham Rd.
Poway, CA  92064  U.S.A.
858-513-2418
800-982-1928
858-513-2419 FAX
http://www.printexusa.com

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: