[geeklog-devel] Request to add a new PLG hook - add createUserPrecheck
Blaine Lang
devel at portalparts.com
Fri Aug 15 20:16:19 EDT 2008
Dirk,
Do you want me to hold off making this change until after the next release?
- Blaine
Dirk Haun wrote:
> Blaine Lang wrote:
>
>
>> A plugin can use the PLG_createUser hook but this is called after GL
>> already adds the user. If a plugin determines that it's not safe to add
>> the user for whatever reason, there is no way to effect the code flow
>> that has already added the new GL users records.
>>
>
> We have a few "PreSave" plugin API functions already, so I'd suggest we
> stick with that naming convention.
>
> In fact, there's PLG_itemPreSave, which takes a $type. Couldn't this be
> used here ($type = 'user')?
>
> bye, Dirk
>
>
>
More information about the geeklog-devel
mailing list