Dan,

I just can't get this to work.  The crypt commands are returning the 
plaintext, as in the warning:

Current password th3G.EMsw.ZeI=bean109 is not correct. Try again!

This is probably me not setting up the crypt plugin correctly, so:

1) Crypt.php is in field/config, permissions: 644
2) action.password: 
!Change Password

[form]
[t]
[r][c top]Current Password [c][password passnow]
[r][c]New Password [c][password password]
[r][c]Again [c][password password2]
[t]
[submit]
[command crypt_1 {=passnow}]
[command if_1 "! equal {~password} {=crypt_1} ? warn='Current password 
{~password}={=crypt_1} is not correct. Try again!'"]
[command if_2 "! equal {=password} {=password2} ? warn='New passwords do 
not match. Try again!'"]
[command warn]
[command crypt_2 {=password}]
[command reset password={=crypt_2}]
[command savedata password page=member.{id}]
[form]

3) site.auth.data:

*: @guest
password: @owner
email: @admin,@owner

4) site.auth.view:

*: @guest
action.blocked: @guest
action.login: @guest
action.missing: @guest
action.print: @guest
action.register: @guest
action.search: @guest
action.help: @guest
action.password: @member

action*: @member
code*: @editor,@admin
group*: @editor,@admin
site*: @editor,@admin
site.auth*: @admin

5) site.config:

The lines below set various configuration options for BoltWire. Do not 
change the default values unless you know what you are doing.

indexing: active
indexBatch: 25
language: 
missingMark: true
searchLimit: 50
sitemail: 
skin: default
stampsExpire: 30
uploadMode: true
uploadSize: 25000
uploadTypes: gif,jpg,png,txt,pdf
localSkins: true
resetPasswords: true
mailAddress:  [email protected]
mailMode: active
Installed Plugins 

Use the section below to turn on any plugins you wish to use in this site. 
Additional plugins can be downloaded from http://www.boltwire.com. For more 
information about installing plugins please see the help files.

enableCrypt: login*


----
What have I missed?

TOF.


On Thursday, 19 June 2014 12:04:43 UTC+1, Dan wrote:
>
> Just a note--I did a little editing to the crypt solutions page and the 
> password changer page, so they should be up to speed now. We need to start 
> going through the solutions pages and change the "Status" line to a 
> "Tested: Version 4:10" line so people can know what still works and what 
> doesn't...
>
> The form there is better than the one I sent you TOF, because I neglected 
> to omit a bit of debugging in the form before I sent it to you. Do let me 
> know if it doesn't work.
>
> Cheers,
> Dan
>
>
>
> On Thu, Jun 19, 2014 at 5:50 AM, TheOldFellow <[email protected] 
> <javascript:>> wrote:
>
>> Thanks Martin,
>>
>> I was just about to ask about the -1 -2 syntax.  And I have now found the 
>> command documentation, although you need php to understand it in depth.
>>
>> So you can add an arbitrary number of -n's to the php BOLTX name and the 
>> engine will strip them to find the BOLTX in your php, but use it to index 
>> the calls so they don't get confused.  OK.
>>
>> TOF
>>
>>
>> On Thursday, 19 June 2014 11:35:51 UTC+1, mz wrote:
>>>
>>> Command is used in forms. It was changed from "session" that was used 
>>> before.
>>> Basically you can tell BoltWire to do something with a [(function)] and 
>>> - when using inside a form - with [command ...]
>>>
>>> [command encrypt {=passnow}] means: encrypt the value that was typed in 
>>> field Current Password above.
>>> [encrypt_1 ...] means: we will use another encrypt later so do not 
>>> mangle _1 and _2.
>>>
>>>
>>> Greetings,
>>> Martin
>>>
>>> Am Donnerstag, 19. Juni 2014 11:56:33 UTC+2 schrieb TheOldFellow:
>>>>
>>>> Thanks Dan, not tried it yet.  Where is the [command... syntax 
>>>> defined?  I have not found it yet.
>>>> TOF.
>>>>
>>>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "BoltWire" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/boltwire.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/boltwire.
For more options, visit https://groups.google.com/d/optout.

Reply via email to