[geeklog-modules] Plugin API for usercreate

geeklog-modules-admin at lists.geeklog.net geeklog-modules-admin at lists.geeklog.net
Tue Dec 30 08:10:28 EST 2003


I'm using the function now ok - and I can certainly add the additional check
to see if there is a moderation record as well. It just that it appeared to
not be the intended behaviour.  I just thought that it would be better to
call it after being approved - if the user was.

Blaine
----- Original Message ----- 
From: <geeklog-modules-admin at lists.geeklog.net>
To: <geeklog-modules at lists.geeklog.net>
Sent: Tuesday, December 30, 2003 6:12 AM
Subject: Re: [geeklog-modules] Plugin API for usercreate


> Blaine wrote:
>
> >The Plugin API for create_user is called by default when a new user self
> >registers. It is being called even if the member submission queue is
enabled.
> >
> >I think it should only be called if submission is off or after being
> approved.
>
> The API function is called when new records for the new user account are
> created (in the gl_users, gl_userinfo, etc. tables) so that you can
> create a new record in your (presumed) custom table.
>
> There may be cases where it comes in handy to have the exact same number
> of entries in all user-related tables (I assume ...) and it shouldn't be
> too much of a hassle to have an additional check to see if the user has
> been approved yet. In most cases, you will need to access the gl_users
> table anyway (e.g. to get the user name).
>
> bye, Dirk
>
>
> -- 
> http://www.haun-online.de/
> http://www.macosx-faq.de/
>
> _______________________________________________
> geeklog-modules mailing list
> geeklog-modules at lists.geeklog.net
> http://lists.geeklog.net/listinfo/geeklog-modules
>




More information about the geeklog-modules mailing list