[horde] Modification of the signup process

eculp eculp at encontacto.net
Thu Jun 19 12:03:37 UTC 2008


Quoting Jan Schneider <jan at horde.org>:

>
>
> Did you actually take a look at the example hooks

The hooks are in horde/config/hooks.php.  I assume that you are using  
ldap for authentication and address books, if so this is trivial to  
set up and you can use your configured address book fields as sign up  
fields for example, etc. etc.

The hook names are pretty intuitive, IMO. Examples:
'_horde_hook_signup_preprocess'
'_horde_hook_signup_queued'  ---- What you asked about.
'_horde_hook_signup_getextra' --- Extra fields from turba probably
'_horde_hook_signup_addextra'

all are to be customized for you installation and you can add more  
hooks but I've not found it necessary.  AFAIK you can do the same with  
sql.

Hope this gets you started.

ed
>
> Zitat von project i3 <projecti3.horde at gmail.com>:
>
>> Hello,
>>
>> Thanks for this answer Jan :)
>>
>> The last thing we have to know is where are the signup fields (like  
>> Home City, Work Street Address....)?
>> It would be very helpful because we really need to modify these  
>> fields in order to link them to our ldap.
>>
>> Thanks for your help
>>
>> Regards,
>>
>> The ProjectI3 Team
>>
>>
>> 2008/6/18 Jan Schneider <jan at horde.org[1]>:
>>  Zitat von project i3 <projecti3.horde at gmail.com>:
>>
>>  Hello all,
>>
>>
>> We want to modify the signup to make users just fill the fields we
>> need. Indeed, we want to use hook post-process to create a ldap
>> account using thoses fields. We have been looking in a lot of files
>> but we've didn't find where those fields where defined.
>>
>> We have a few questions about that :
>>
>> Do you know where are defined the from's fields and how can we modify
>> them easily?
>>
>> Do you know if it's possible to use the hooks.php to create the
>> account in the ldap using the form's fields?
>
>   That's what the signup hooks are for.
>
> Jan.
>
> --
> Do you need professional PHP or Horde consulting?
>  http://horde.org/consulting/
>
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
> Jan.
>
> --
> Do you need professional PHP or Horde consulting?
>  http://horde.org/consulting/
>
> Links:
> ------
> [1] mailto:jan at horde.org
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>




More information about the horde mailing list