MiniVend Akopia Services

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

Re: [mv] session failure...please help?



Hi wap (without realname),

this is my dirty solution:

[set mv_put_session]Yes[/set]
[perl arg=scratch]
        $Safe{'scratch'}->{'usermsg'} = '';
        return '';
[/perl]
[if session failure]
[perl arg=scratch]
        $Safe{'scratch'}->{'usermsg'} = 'session failure';
        return '';
[/perl]
[if session failure =~ /Username already exists./]
[perl arg=scratch]
        $Safe{'scratch'}->{'usermsg'} = '[L]Username already
exists.[/L]';
        return '';
[/perl]
[/if]

and so on....

Regards,

Joachim

BTW: If i have time, i will write better codes!

wap wrote:
> 
> ******    message to minivend-users from "wap" <wap@sinfo.net>     ******
> 
> Hi people!!
> I recently posted an email asking about the [loc] tag
> my problem:
> ....it is not working with [data session failure]....i wrote the message in
> locale.asc (in code column), then wrote the translation in another
> column....it works with [L] regular message [/L], but i cant make it work
> with
> [loc] [data session failure][/loc], and i urgently need to translate it.
> i looked in the mail archives and found nothing concrete....and the
> documentation doesnt go very deep with [loc]
> my guess....it is easy, but its making my life miserable...
> can someone out there please make a suggestion ??
> Thanks!
> 

-- 
-------------Hans-Joachim Leidinger---------------------



Search for: Match: Format: Sort by: