[horde] Modification of the signup process

project i3 projecti3.horde at gmail.com
Thu Jun 19 14:12:38 UTC 2008


Hello all,

Thanks for your answers.

First, we've already look at the hooks.php. The problem is that the example
( '_horde_hook_signup_addextra') is designed for turba's "signup", which is
linked with the DB.

As we think that we've didn't really talk about that, let us explain exactly
what we want to do : we would like to modify the signup form's fields (the
very first for new users) to introduce new fields (especially groups, in
order to separate doctors from patients, but there might be others
differences). Then with thoses fields filled, we want to create the new user
on ldap after admin's validation.

So what we need is the location of the new users' signup fields or the
attributes that contain them.

We hope that this is better explaination :)

Thanks again for you attention and your help.

Regards,

The ProjectI3 Team





2008/6/19 eculp <eculp at encontacto.net>:

> 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
>>
>>
>
> --
> 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