[geeklog-modules] Plugin API for usercreate

geeklog-modules-admin at lists.geeklog.net geeklog-modules-admin at lists.geeklog.net
Tue Dec 30 07:25:45 EST 2003


Any word on calling these features from the admin user create? I see it
as a needed feature, especially for plugins where "it comes in handy to
have the exact same number of entries in all user-related tables".

Gavin

On Tuesday, December 30, 2003, at 03:12 AM,
geeklog-modules-admin at lists.geeklog.net wrote:


> 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