[geeklog-devel] Request to add a new PLG hook - add createUserPrecheck

Blaine Lang devel at portalparts.com
Fri Aug 15 15:47:59 EDT 2008


Could do, only issue I see as a plugin developer, is that there are all
the other user related API hooks and would not initially think there was
a pre-check user create hook.

I will add a note in in the lib-plugins by the PLG_createUser function
as well.

- 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