MiniVend Akopia Services

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

UserDB functions



******    message to minivend-users from Barry Treahy <treahy@mmaz.com>     ******

How do I perform multiple userdb function calls on a single mv_click?  I
posted a question weeks about asking my new_account didn't leave the
person 'logged-in' by default and it went without comment.  I'm running
in circles on this with attempts like:
[set Save New Account]
  mv_doit=refresh
  mv_todo=return
  mv_failpage=new_account
  mv_nextpage=ord/basket
  [userdb function=new_account]
  [userdb function=login]
  [userdb function=set_billing  username="[value mv_username]"
                                nickname="[value mv_username]"]
  [userdb function=set_shipping username="[value mv_username]"
                                nickname="[value mv_username]"]
[/set]

[set Save New Account]
  mv_doit=refresh
  mv_todo=return
  mv_failpage=new_account
  mv_nextpage=ord/basket
  [set name=Force_New_Account_Action interpolate=1]
  [userdb function=new_account]
  [userdb function=login]
  [userdb function=set_billing  username="[value mv_username]"
                                nickname="[value mv_username]"]
  [userdb function=set_shipping username="[value mv_username]"
                                nickname="[value mv_username]"]
  [/set]
[/set]


which neither work... MV ends up directing to an error page and the logs
report that no action passed from form...

Barry


-
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: