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