[geeklog-devel] Request to add a new PLG hook - add createUserPrecheck
Dirk Haun
dirk at haun-online.de
Fri Aug 15 15:17:17 EDT 2008
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
--
http://www.haun-online.de/
http://geeklog.info/
More information about the geeklog-devel
mailing list