Akopia Akopia Services

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

Re: [mv] How to display the result of the change password functionality (mv 4.04)



******    message to minivend-users from "Vagel Argyrakis" <vagel@telaxion.com>     ******

Thanks for your answer Joachim,
I tried but it didn't worked :-(
Apparently it doesn't returns any session failure no matter if it changes
the password or not
Cheers
--Vagel

******    message to minivend-users from jojo@buchonline.net     ******

On  7 Sep, Vagel Argyrakis wrote:
> ******    message to minivend-users from "Vagel Argyrakis"
<vagel@telaxion.com>     ******
>
> Hello everybody,
>
> I'm trying to find a way to display the result of the change password
> functionality in mv 4.04.
>
> The page works well and the password is changed correctly, but I'm not
able
> to advice the user if the operation succeded or if something went wrong.
> Of course I can manage some controls with javascript, but not everything,
> like for example if his old password was wrong...
> In such case minivend will not change it etc.
> Is there a return value that I could control or another way to display
this
> succes or failure?
>
> Thanks in advance for any help
> Cheers
> --Vagel

How about

-----------snip---------
[if session failure]
<FONT COLOR="RED">[L]ERROR[/L]:<BR><BR>
<B>
[if session failure =~ /Username does not exist./][L]Username does not
exist.[/L][/if]
[if session failure =~ /Not logged in/][L]Not logged in.[/L][/if]
[if session failure =~ /Username already exists./][L]Username already
exists.[/L][/if]
[if session failure =~ /Already logged in. Log out first./][L]Already logged
in. Log out first.[/L][/if]
[if session failure =~ /Sorry, reserved user name./][L]Sorry, reserved user
name.[/L][/if]
[if session failure =~ /Password and check value don't match./][L]Password
and check value don't match.[/L][/if]
[if session failure =~ /Must have longer username./][L]Must have longer
username.[/L][/if]
[if session failure =~ /Can\'t have/][L]Can not have some characters.[/L]
[L]Please use some like a-z, A-Z and 0-9[/L].[/if]
[if session failure =~ /Must have old password/][L]Must have old
password.[/L][/if]
[if session failure =~ /Must enter at least 4 characters for
password./][L]Must enter at least 4 characters for password.[/L][/if]
[if session failure =~ /Password mismatch./][L]Password mismatch.[/L][/if]
</B><BR>
</FONT>
[/if]
-----------snip---------


Joachim

--
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1671449
45886 Gelsenkirchen         FAX: 0209 1671449

-

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