In order to help with the documentation, which I really want to do, I need 
to understand how to make it work.
And by the way, I am fairly skilled at that, as the folks at Linux from 
Scratch will tell you.

I am now resigned to doing this from the PHP. It will take longer that's 
all.  First I need to learn PHP, no problem, I started in this business in 
1968, I can write Algol, Fortran, and wrote operating systems in 8080 
machine code, PHP is a cinch.

I am missing something fundamental about Boltwire.  Your suggestion below 
doesn't work, and I don't understand why.  If I add the code you supply to 
action.register at the point stated, the registration fails completely (no 
member.xyz file is created), and the form is re-displayed.  Now, please do 
not reply with another suggested method.  I want to understand the design 
principles for Boltwire Action Forms.  I will do this myself now.

I will post again if I need more help.

Thanks for trying.
TOF.

On Tuesday, 1 July 2014 17:28:51 UTC+1, mz wrote:
>
> Well that is the deal: you get something that helps and you help others, 
> e.g. with documentation.
>
> Of course you can take a look into the source code. It is well structured 
> and mostly not too difficult to understand. And it comes with a small 
> documentation.
> In the scripts folder that comes with Boltwire you find the code for 
> commands, for functions etc.
>
> As we are dealing with command here you can check commands.php.
> It explains authkey, passdata and register.
>
> By looking into command register, it seems to restrict the saved data to 
> the password.
> Therefore I would offer a second form that comes on register success and 
> ask for the email.
>
> Put it here in action.register
>
> An account has successfully been created for **{?id}** and you are logged 
> in.
>
> and write a classic form:
>
> [form]
> Email: [text email size=20]
> [command savedata email page=member.{id}]  //save value from email text 
> field on member page
> [command nextpage main] //optional: what page to show next
> [form]
>
> Greetings, Martin
>
> Am Dienstag, 1. Juli 2014 15:53:41 UTC+2 schrieb TheOldFellow:
>>
>> Thanks Martin, you are a great resource!!!
>>
>> But I had worked that much out.  I despair over this system, it is so 
>> good, and works so well, but is so badly documented.  Dan implements what 
>> he find useful, but leave the rest of us to work it out.  He would like it 
>> to be well used, and it should be, but nothing is 'evident'.  Or perhaps I 
>> am just thick.  However I'm not going to wade through the PHP to find 
>> things out.  //end of rant//
>>
>> What does the:
>>
>> [command authdata register]
>> [command register]
>>
>> before the
>>
>> [command passdata id,email,register]
>>
>> do?
>>
>> I'm more interested in understanding the supplied form, before adapting 
>> it, than just having a recipe.  Where does the data supplied to the 
>> passdata command go (I looked in the member.xyz file, and it isn't there), 
>> how does one access it?  What does the 'register' item in the arg list 
>> imply?
>>
>> TOF
>>
>>
>> On Tuesday, 1 July 2014 14:09:44 UTC+1, mz wrote:
>>>
>>> action.register is only a form. You can just add text fields.
>>>
>>> Email: [text email size=20]
>>>
>>> and you need to add email to command passdata.
>>>
>>> [command passdata id,email,register]
>>>
>>> Another option is to ask for username and password first (using 
>>> action.register) and show another second form to get more details.
>>> For this you simply can use action.register and replace the success 
>>> information (Congratulations...) with another form. Like:
>>>
>>> !Welcome
>>>
>>> Please add some details:
>>> [form]
>>> Email: [text email size=20]
>>> Age:  [text age size=5]
>>> [command savedata email,age]
>>> [submit OK]
>>>
>>> Greetings, Martin
>>>
>>> Am Dienstag, 1. Juli 2014 13:59:27 UTC+2 schrieb TheOldFellow:
>>>>
>>>> Next problem, sorry.
>>>>
>>>> I can't make head nor tail of the documentation on adding new fields 
>>>> during registration.  I want to add an email address.  Reading:
>>>>
>>>>   docs.concepts.members
>>>>
>>>> does not line up with what is in the action.register form in a new 
>>>> install.  And the only documentation on the action.register commands is 
>>>> php, not English.
>>>>
>>>> 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].
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