[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] add new account to userdb
****** message to minivend-users from Hans-Joachim Leidinger <hans-joachim.leidinger@home.gelsen-net.de> ******
Roman Gavrilov wrote:
>
> ****** message to minivend-users from Roman Gavrilov <romio@zahav.net.il> ******
>
> hello i having problem with adding new user to userdb
> it registering him and remembers him but no change in userdb
> i need this for restrict access to directories when i put the .access
> file
> it checking the userdb for usename password and acl
>
> and i cant register new users in userdb database
>
> i made the registration form
[DEL]
> and in the next page i did:
>
> [set New]
> [userdb function=new_account username=[value mv_username]
> password=[value mv_password] verify=[value mv_verify]
> acl=rom/romios]
>
> [userdb function=save]
> [/set]
>
> or
>
> [set Save_database]
> mv_arg0=LITERAL(save)
> mv_code=[value mv_username]
> mv_password=[value mv_password]
> mv_acl=rom/romios
> mv_subroutine=userdb
> [/set]
>
> i tried various suggestions from mailing list
> but nothing helped it still doesn't put anything in userdb
>
> please help
Hi,
there are two files (ASCII and db). If you wish to store a new user into
the ASCII-file, try this (for example)
[if session failure]
any codes to inform the visitors....
[else]
[tag flag write]userdb[/tag]
[userdb function=save]
[/else]
[/if]
or
[if session failure]
any codes to inform the visitors....
[else]
[tag touch userdb][/tag]
[tag flag write]userdb[/tag]
[userdb function=save]
[/else]
[/if]
Regards,
Joachim
--
-------------Hans-Joachim Leidinger---------------------
-
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